Program Basics
Map
Arrows point from what you learn first to what it opens. Point at a concept to light up its chain and where it comes back deeper. Right-click a concept (or press and hold it) for its lessons and stories.
- Proven to depth123+
- Open
- Locked
- Comes back deeper
Learning path
In the order the concepts build on each other.
- ProgramReadyA list of exact instructions that a computer follows one after another, doing exactly what they say and nothing else.
- ExpressionLockedA piece of code that has a value, like 2 + 3 * 4, which the computer works out in a fixed order.Opens after: Program
- Error messagesLockedThe report a programming language gives when it can't do what a program asks, saying what kind of problem it is and where.Opens after: Expression
- Variables in codeLockedNamed places that hold a value your program can read and change.Opens after: Expression
- Program stateLockedThe values all of a program's names have at one moment as it runs, changed one assignment at a time.Opens after: Variables in code
- Input and outputLockedHow a program gets values from outside while it runs, such as what a user types, and sends its results back out, such as by printing them.Opens after: Program state
Connections to other domains
- Variables in code, depth 2 needs ListsData Structures
- Variables in code leads to PointersData Types
- Input and output leads to Functions in codeFunctions
- Error messages leads to DebuggingWriting Correct Code