For the questions that don’t fit in a textbook. Find their starting point
Fahahu

Ages 10–12 · Challenge

Agree on the interface

Use the evidence in agree on the interface to select and justify a valid solution.

Understand the idea

Subprograms separate reusable behaviour behind an interface.

Your challenge

A scoring routine requires a list of integer point values. Match each supplied argument to the required handling before calling it.

How to explore

  • Compare the actual argument with the contract.
  • Work out the rule for each left-hand case before linking it to a right-hand outcome.
  • Check the selected response against the complete situation, including a case where a tempting alternative fails.

Open the activity to work with its controls and check your reasoning. Progress stays in this browser.

Keep exploring

DON’T LET THE QUESTION END HERE

Give that curiosity
somewhere to go.

Open the learning space

Discovery

Digital models simplify the real world. Explore with a grown-up and talk about what you notice.

Find something worth exploring

Explore free activities and printables, or learn about the separately paid Academy courses.