The Learning Hub/Topic 8
๐Ÿ’ป Topic 8

Programming

Three interactive labs fold the whole of Topic 8 into the Learning Hub. The first covers the building blocks โ€” variables and constants, the five data types, input and output, operators and sequence (8.1โ€“8.5). The second is selection and iteration โ€” IF and CASE, the three loops, counter and totaller patterns, strings and nesting (8.6โ€“8.11). The third builds the architecture โ€” subroutines, library routines, maintainability, arrays and file handling (8.12โ€“8.16). Each idea is taught, drilled, then tested โ€” work straight through, or jump to the part you need.

8.1โ€“8.5

Building Blocks

The vocabulary of programming โ€” variables and constants, the five data types (INTEGER, REAL, CHAR, STRING, BOOLEAN), input and output, arithmetic and logic operators, and running a program in sequence, in the exact Cambridge wording.

8.6โ€“8.11

Decisions & Patterns

Selection with IF and CASE, and iteration with FOR, WHILE and REPEAT. The counter and totaller patterns, string manipulation (LENGTH, SUBSTRING, UCASE, LCASE), and how they combine when nested.

8.12โ€“8.16

Structure & Data

Subroutines and parameters, library routines, and the habits that keep code maintainable. Arrays (1D and 2D) and reading from and writing to text files โ€” the architecture behind Paper 2's hardest questions.

๐Ÿ“š Want the written theory too? Read the Topic 8 lessons in the Knowledge Library, then come back to train.