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.

TermMeaning
ProgramA set of instructions that tells the computer what to do.
High-level languageEasy for humans to read, e.g. Python.
Low-level languageClose to machine code; fast and precise.
InterpreterExecutes code line by line.
AlgorithmA step-by-step procedure for solving a problem.
FlowchartA diagram that represents an algorithm.
PseudocodeWriting the steps in simple English before coding.
VariableA named place in memory that stores a value.
CommentA note in code that Python ignores (#).
IndentationSpaces at the start of a line that define code blocks.
SyntaxThe grammar rules of the language.
print()Displays output.
input()Accepts user input as a string.
Escape sequenceSpecial character starting with \ like \n or \t.
f-stringFormatted string: f"Hello {name}".
Open lesson 1 →