Skip to main content

Independent Practice and Transfer

Complete the prerequisite check, concept sequence and worked examples first. Keep the solution page closed until you have written an attempt. These cases deepen the existing practice and lab evidence; they do not replace the original topics, project or practical gates.

Case A — Predict and justify​

Two traversals compute the same checksum. A row-friendly traversal is faster once. Design a comparison that distinguishes locality from a changed amount of work.

Record the expected result or state transitions, the assumption that makes them valid, and one plausible but incorrect answer with a counterexample. A result without its reasoning is incomplete.

Case B — Change the assumption​

Double one dimension and halve the other while holding total elements fixed. Predict why performance might still change.

Identify exactly which part of Case A survives and which must be recomputed or qualified. Keep both attempts; do not overwrite the first with the calibrated answer.

Experiment — Connect the claim to an actual observation​

Run the existing locality kit, retain compiler/version/flags, checksums and repeated observations, and inspect generated code. A missed optimization or no speedup is a legitimate result; do not manufacture a performance improvement.

Use the existing guided labs and their setup/contract instructions. Save the exact version or source revision, input, command/procedure, predicted outcome, actual output and interpretation. Add a negative control that would expose the particular mistaken claim, then restore the correct setup and rerun. Use a disposable copy for deliberate failures.

If this task requires a runtime or reviewer you do not have, mark that observation pending. A written prediction, simulator, reference implementation or generated review cannot close an actual-system or human-evidence requirement.

Review, repair and transfer​

Compare your attempt with separate practice calibration. Repair the smallest misunderstanding and answer a fresh variant unaided. At the module's existing delayed recheck, change a value, failure boundary or assumption and defend what transfers. Reuse this evidence in the module assessment; its per-gate thresholds and critical errors remain authoritative.

Count this work inside the original practice, lab and recheck allocation in semester workload and progression. Reuse a matching original exercise artifact and extend it with the changed case instead of repeating identical work. Record actual time and overruns for pilot calibration; the published estimate is not a deadline.