
Grade 12 · 18 weeks
Computer Science
Build and test a Lantern Festival scorer, model data, and design a program that people can use without giving up unnecessary personal information.
Start Week 3Term 1 · Algorithms, programs and testing
From rules to an algorithm
An algorithm describes a process precisely enough to trace. Decomposition splits the process into decisions and steps with testable responsibilities.
Read-aloud is not available in this browser. You can still read this text on screen.
Computing lab
Write pseudocode for a Lantern Festival game where each lantern can score once per round. Trace a valid lantern, the same lantern again and an unknown lantern. Identify who should own each rule.
Keep for review. Pseudocode and a trace table with starting state, each event and ending state.
Plan the week
- Read the lesson and explain its main idea in your own words.
- State the system or program’s goal and sketch its inputs, rules and output.
- Complete the investigation and keep the evidence listed above.
- Test or trace a second case and record any change it suggests.
- Answer the week’s check, then explain your reasoning using your evidence.

