Prog Finals Flashcards
A computer programing task can be divided into two phases:
Problem solving phase & implementation phase
Is an artificial and informal language that helps programmers develop algorithms. This is very similar to everyday English.
Pseudocode
Is another algorithm but graphical.
Flowchart
Denotes the beginning or end of the program.
Oval
Denotes an input operation.
Parallelogram/Rhombus
Denotes a process to be carried out
e.g. addition, subtraction, division etc.
Rectangle
Denotes a decision (or branch) to be made.
The program should continue along one of
two routes. (e.g. IF/THEN/ELSE).
Diamond
Denotes an output operation.
Hybrid
Denotes the direction of logic flow in the program.
Flow line
Flowchart Control Structures
-Sequence
-Decision
-Loop
-Case
Computer language consisting of mnemonics that directly correspond to machine language instructions.
Low level languages
Basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes.
High level languages
Very close to machine language.
Low level languages
Concentrate on machine architecture.
Low level languages
Machine-independent programming language.
High level languages
Concentrate of the logic of problem.
High level languages
What are the low level languages?
Machine language & assembly language
What are the high level language?
C, C++, BASIC, Java
Who is pythons creator?
Guido van Rossum
Who is pythons developer?
Python Software Foundation
When was python released?
February 20, 1991
What is the recent software version of python?
Python 3.10.6
Python was named after ____.
Monty Python
Useful as a scripting language.
Python
Open source, scalable and object oriented.
Python
IDLE stands for
Integrated Development Environment for Python
Not compiled like Java. Code is written and then directly executed by an interpreter. Type commands into interpreter and see immediate results.
Interpreted
Unlike Java, Python does not have this.
Main Method
Python statements do not end with semicolons. True or False.
True
What do we do in problem solving phase?
Make ordered sequence.
The ordered sequence made in problem solving phase is called the ____.
Algorithm
This is typically used on windows.
IDLE
Code is written and then directly executed by an interpreter.
Interpreted Language
These are names for values.
Variables
These can be assigned to other variables.
Variables
Value do have ____.
Types
+
Addition
-
Subtraction
*
Multiplication
/
Division
**
Exponentiation
What are the basic data types?
Integers, Floats, & Strings