Skip to main content

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 3

Term 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.

Which state tells the game whether a lantern can score now?
Plan the week
  1. Read the lesson and explain its main idea in your own words.
  2. State the system or program’s goal and sketch its inputs, rules and output.
  3. Complete the investigation and keep the evidence listed above.
  4. Test or trace a second case and record any change it suggests.
  5. Answer the week’s check, then explain your reasoning using your evidence.

Keep your practice projects local or share them with an approved reviewer. Use fictional or nonpersonal data in your programs and tests.

Academy curriculum for family use. Course credit is subject to school and educator approval.

Quest progressProgress recorded