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

Ages 16–18 · A Level · Challenge

Cache break-even under a budget

Use the evidence in cache break-even under a budget to select and justify a valid solution.

Understand the idea

Complexity describes growth with input size rather than one timing result.

Your challenge

A computation costs 10 units each time. A cache costs 18 units to build and 1 per later query; it must fit a 5-unit memory budget but needs 6. Which decision follows despite savings on many queries?

  • Call it constant space regardless of stored data
  • Use it because time savings cancel any memory limit
  • Reject this cache under the stated budget unless its storage is redesigned

How to explore

  • Evaluate feasibility before optimising among feasible choices.
  • Compare each proposed response with the complete observation or trace, rather than with only one familiar word.
  • 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.