Grade 8 Computer Science

The year the program meets real data

A second year, in which the program stops living inside itself. We begin with the dictionary — reaching a value by name instead of searching for it — and go on to input from outside, which always arrives as text and never deserves trust without checking, and to files that survive the program closing. We break a program into several files and learn what a function promises whoever calls it, meet the first two algorithms for searching and sorting and ask why two correct ones are not equal, and get a way to measure the difference without touching a clock. We then deal with what happens before the code — understanding, decomposition and designing the data — and close with two subjects that take the program out into the world: how the internet really works, and what it means to hold information about people. The year ends with a final exam over the whole of it.

Dictionaries

Input, output and files

Modules and reuse

Searching and sorting

Efficiency

Planning before writing

How the internet works

Security, privacy and responsibility

Final exam — Grade 8 Computer Science