



Two workers finish every action. Why can the shared counter still be 1? Learners trace lost updates, separate private plans from shared state, and protect the whole critical section.
For ages 16–18 after assignments, local variables and Boolean conditions. No thread API or SQL required. The complete paper route works alone. Three 45-minute sessions are a planning suggestion, not a classroom trial.
16 labelled prompts: A traces a lost update and all 20 two-worker orders; B uses two fictional guarded flags to show how writes to different locations can still break a shared rule; C compares a write-only mutex with protection of the whole read–compute–write window; D transfers to three workers and all 1,680 complete orders. Two retrieval questions separate completion from final value, and finite counts from real failure rates. Explained models include alternative witnesses, both serial outcomes, protected orders and limits.
Two base program families are used. Patches, the three-worker transfer, seven software presets and repeated formats are not extra investigations.
Both main PDFs contain the whole 24-page teacher guide: 21 teaching/preparation pages and three credits/full-font-term pages, repeated in A4 and US Letter. The 32-member ZIP adds 14-page learner and 9-page whole-A sample extracts in both sizes; complete teacher/learner DOCX, ODT and HTML sources; a responsive whole reader; two original SVG/PNG timelines; model data, every accepted complete order, instructions and font terms. Office text, tables and 46 response paragraphs are editable. Teacher timelines are pictures with separate SVG originals. Edit/save/reopen checks used LibreOffice Writer; layout can vary elsewhere.
The optional offline lab steps a chosen worker, shows private/shared state and lock ownership, supports up to 40 undo states, saves and stages small projects for explicit Apply, and exports a static model/current-trace HTML report. Partial traces stay labelled partial. The lab needs a modern browser with JavaScript; the reader and exported reports also work without it. The optional Python checker needs an existing Python 3 installation. No account, server or runtime AI service.
These finite models are not real threads, database-isolation emulation, timing measurements or scheduler probabilities. Written explanations are not automatically marked. Local changes do not update printed questions or keys. This is a focused extension, not a complete course or exam-board-endorsed assessment.
Original cases, text, code and diagrams were created with OpenAI Codex (AI). Primary technical concepts are credited. Supplied unmodified Liberation Sans/Mono fonts retain their full separate licence.
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.