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 7

Term 1 · Algorithms, programs and testing

Test, reproduce and troubleshoot

A reproducible report names the starting conditions, steps, expected result and observed result. A test checks one defined behavior and helps confirm a revision. Keep a known-good case while adding an edge case.

Read-aloud is not available in this browser. You can still read this text on screen.

Computing lab

Write tests for a valid lantern, a repeat, an unknown ID, a new round and empty input. Ask someone to follow your troubleshooting guide. Fix one logic defect or deliberately test a harmless alternate scoring rule in your own program and compare outcomes.

Keep for review. Five expected-versus-observed tests, a repeatable guide and a record of one revision.

Which report gives a classmate enough detail to reproduce a scoring issue?
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