Programming basics
Sequence, output, functions, errors, variables, input, data types and arithmetic: the start of GCSE programming, with a robot that talks, drives and plays notes.
Start in the simulator- F1.1 What a program is Instructions, one at a time, top to bottom. Running code and reading what comes back.
- F1.2 Output: print Print text and numbers, several things at once.
- F1.3 Calling functions Arguments, telling and asking, and notes on the robot's buzzer.
- F1.4 Errors: syntax, runtime and logic Reading an error message, and the three kinds of error by their exam names.
- F1.5 Comments and readable code Comments, names, blank lines: code a person can read and change.
- F1.6 Variables, constants and assignment Storing, changing and naming values, and constants that never change.
- F1.7 Input from the user Asking questions with input(), and why every answer is text.
- F1.8 Data types and casting Integer, real, Boolean, character and string, and converting between them.
- F1.9 Arithmetic operators The seven operators, integer division and remainder, and the order they work in.
- F1.10 Project: ask and drive Plan, build and test one program that asks, drives a square, plays notes and reports.