



Why can green tests leave a program wrong? Learners predict from contracts, choose counterexamples, repair rules and qualify what their evidence establishes. Ages 14–16; functions, if/else, loops, lists and zero-based indexes. The paper route works without devices.
ORIGINAL A–D/R · 17 prompts. A: numeric endpoints, colour thresholds and type/range rejections. B: the FIRST maximum index, ties and a minimum test set for three named faulty candidates. C: consecutive runs rather than totals. D/R: adjacent-change transfer and a more careful testing report. Full programs, response space, outcomes, repairs and explained reasoning; B5 is an optional proof challenge.
OPTIONAL E · 3 further prompts. Does correct final output establish a helper’s promised behaviour? Read a complete three-helper program, diagnose an actual downstream KeyError, choose a regression and compare two repairs. All 585 permitted inputs give correct final strings in one candidate while its normaliser still fails 570 helper checks. Extra prerequisite: dictionary lookup and string strip/upper; method help included. The original course is complete without E.
FILES · Two unchanged 22-page main PDFs, A4/US Letter (learner pages 3–15; preparation 2; answers/evidence 16–20). One whole ZIP, 60 members: those papers, all original optional files and E. Original teacher/learner Word sources, 17-frame HTML/PDF display, speaker notes, visual display editor, fixed-outcome lab and four Python files stay unchanged. They cover A–D/R, not E. Unpack fully; open START.html.
E has A4/Letter learner and teacher PDFs, native editable DOCX/ODT and offline HTML. Learner: 5 work pages + 4 reference pages; teacher: those 5 + 3 guidance/model pages + 4 reference pages. Four complete program versions, 24 captured examples, 12 captured test runs and a reproducible finite checker accompany the case. Twenty numbered prompts overall; versions, records and formats add no cases. Stage E2 before showing comparison/models.
Browsers select recorded results; they do not run Python or mark reasoning. E’s three response fields support local JSON download and preview/confirm restore. The original visual editor changes its 17 frames and exports local projects/self-contained HTML. No automatic save; edits do not update other formats. Optional real Python: existing 3.11+, standard library only. Captures use 3.14.4. Complete checks apply only to exact stated domains, sources and observations.
Created with OpenAI Codex (AI), Swale & Sign. Local Chromium, Writer and Python checks; no classroom trial or exam-board endorsement. No accounts, pupil data, external service or package download needed. Purchased Tes licence; full independent font conditions included.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.