An error in a program.
- Central Processing Unit¶
The heart of any computer. It is what runs the software that we write; also called “CPU” or “the processor”.
To translate a program written in a high-level language into a low-level language all at once, in preparation for later execution.
- High-level Language¶
A programming language like Python that is designed to be easy for humans to read and write.
- Interactive Mode¶
A way of using the Python interpreter by typing commands and expressions at the prompt.
To execute a program in a high-level language by translating it one line at a time.
- Low-level Language¶
A programming language that is designed to be easy for a computer to execute; also called “machine code” or “assembly language”.
- Machine Code¶
The lowest-level language for software, which is the language that is directly executed by the central processing unit (CPU).
- Main Memory¶
Stores programs and data. Main memory loses its information when the power is turned off.
To examine a program and analyze the syntactic structure.
A property of a program that can run on more than one kind of computer.
- Print Function¶
An instruction that causes the Python interpreter to display a value on the screen.
- Problem Solving¶
The process of formulating a problem, finding a solution, and expressing the solution.
A set of instructions that specifies a computation.
When a program displays a message and pauses for the user to type some input to the program.
- Secondary Memory¶
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.
The meaning of a program.
- Semantic Error¶
An error in a program that makes it do something other than what the programmer intended.
- Source Code¶
A program in a high-level language.