Designing an investigative algorithm
Key skillsUse algorithms, patterns, models and simulations to solve a contextual problem.
Build the idea
An algorithm needs explicit inputs, an initial state, a sequence of operations and a stopping rule. Decisions and repetition must be unambiguous enough for another person or a computer to follow. Trace a few steps to detect logical errors, then compare the algorithm’s output with an independently derived result and interpret its precision.
Try the sample task
Write an algorithm that finds the smallest integer n with planned margin at most 0.04, using planning proportion 0.32. Include a loop and stopping condition.
The full worksheet includes the worked solution and remaining task set.
What this activity covers
Focused investigation using one shared course-appropriate context; other areas and less structured investigations remain part of the full outcome.