Review Library
Everything you need before the exam, in one place.
Unit 2 Book — Programming Fundamentals
The full unit book as a PDF. Open it in your browser or download it to study offline.
| Term | Meaning |
|---|---|
| Program | A set of instructions that tells the computer what to do. |
| High-level language | Easy for humans to read, e.g. Python. |
| Low-level language | Close to machine code; fast and precise. |
| Interpreter | Executes code line by line. |
| Algorithm | A step-by-step procedure for solving a problem. |
| Flowchart | A diagram that represents an algorithm. |
| Pseudocode | Writing the steps in simple English before coding. |
| Variable | A named place in memory that stores a value. |
| Comment | A note in code that Python ignores (#). |
| Indentation | Spaces at the start of a line that define code blocks. |
| Syntax | The grammar rules of the language. |
| print() | Displays output. |
| input() | Accepts user input as a string. |
| Escape sequence | Special character starting with \ like \n or \t. |
| f-string | Formatted string: f"Hello {name}". |