Grade 12 Computer Science

The year that closes six

A sixth and final year. We open with two direct extensions of what you already knew — a grid that is an array of arrays, and recursion that can now also be traced exactly and costed. From there we move to the algorithms every exam asks about, and see that what distinguishes them is not the code but what is guaranteed about the part already settled. We learn to count a cost without touching a clock, and also to know when that number matters at all. We then deal with the question of how one knows the code works, and with its modest answer — one does not know, one samples, and the whole matter is sampling well. The two units after that are the skills used more than any other and almost never taught: reading someone else’s code and tracing it, and moving from a description in words to a structure of classes. We close with preparation for the exam itself, and with the question of what actually remains after six years — and it is not the syntax. The year ends with a final exam over the whole of it.

Two-dimensional arrays

Recursion

Searching and sorting

Analysing efficiency

Exceptions and testing

Reading and tracing code

Designing classes for a problem

Towards the exam

Final exam — Grade 12 Computer Science