exam 1 vocab ch 1-6 Flashcards
an error in a program
bug
the heart of any computer, runs the software we write; also called the ‘CPU’ or ‘the processor’
Central Processing Unit
to translate a program written in a high level language into a low level language all at once, in preparation for latee execution
compile
A programming language like Python that is designed to be easy for humans to read and write.
High Level Language
A way of using the Python interpreter by typing commands and expressions at the prompt.
Interactive Mode
To execute a program in a high-level language by translating it one line at a time.
Interpret
A programming language that is designed to be easy for a computer to execute; also called “machine code” or “assembly language”.
Low-Level Language
The lowest-level language for software, which is the language that is directly executed by the central processing unit (CPU).
Machine Code
Stores programs and data. Main memory loses its information when the power is turned off.
Main Memory
To examine a program and analyze the syntactic structure.
Parse
A property of a program that can run on more than one kind of computer.
Portability
An instruction that causes the Python interpreter to display a value on the screen.
Print Function
The process of formulating a problem, finding a solution, and expressing the solution.
Problem Solving
A set of instructions that specifies a computation.
Program
When a program displays a message and pauses for the user to type some input to the program.
Prompt
Stores programs and data and retains its information even when the power is turned off. Generally slower than main memory. Examples of secondary memory include disk drives and flash memory in USB sticks.
Secondary Memory
The meaning of a program.
Semantics
An error in a program that makes it do something other than what the programmer intended.
Semantic Error
A program in a high-level language.
Source Code
A statement that assigns a value to a variable.
Assignment
To join two operands end to end.
Conceatenate
information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
Comment
To simplify an expression by performing the operations in order to yield a single value.
Evaluate
A combination of variables, operators, and values that represents a single result value.
Expression