Grade 7 Computer Science

The year the computer stops being magic

A first year in computer science, built entirely around one question: what exactly does the computer do, and why is that almost never what you meant. We begin with a program being carried out literally and with the order of the steps being part of the meaning, give names to values and see how a type decides what an operation does, learn to branch and to repeat, hold many values in one list, and give a name to a whole passage of code so that one can think in larger terms. We then stop on the question of how a bug is found at all and how one knows it is fixed, and close with the question of where the meaning of the data a computer holds comes from. The code throughout the year is written in Python, but the ideas are not tied to any language. The year ends with a final exam over the whole of it.

What a program is

Values and names

Decisions

Loops

Lists

Functions

Bugs and testing

How a computer holds information

Final exam — Grade 7 Computer Science