CC2 MIDTERMS Flashcards
Why do people use python?
software quality, developer productivity, program portability, support libraries, component intergration
What can you do with python?
Data base programming, rapid prototyping, GUI, Component integration, systems programming.
How does python run programs?
using interpreter
a program that executes other programs
interpreter
A sequence of instructions that specifies how to perform a computation
Program
To get data from the keyboard, file, network, other device
Input
Display data on a screen, save it in a file on network or some other device
output
Perform basic mathematical operations, like addition and multiplication
math
check for certain conditions in run the appropriate code
conditional execution
Perform some basic action repeatedly usually with some variation
repetition
formal set of instructions and rules used express, computations and algorithms
programming language
The main purpose of this language is to provide a human readable medium to design structure and articulate complex task and operations that the computer can understand and execute
programming language
It is any method of solving a certain kind of problem and a precise method usable by a computer for the solution of the problem
algorithm
it consists of a set of explicit, infinite steps, which, when carried out for a given set of initial conditions, produce the corresponding output, and terminate in a fixed amount of time
algorithm
Ability to write an algorithm that will solve the problem according to the requirement
Design
compare an existing or new algorithm to the previous algorithm
analysis
Verification consists of three aspects. What are those?
program, proving, testing and debugging
It is a visual representation of the sequence of steps and decisions needed to perform a process
Flowchart
Indicates the start or end of a program process
Oval
Recent process or operations this is where a specific action or command this executed
rectangles
Used for decision-making they typically contain a yes, or no question or true or false test
Diamonds