pdf, 142.17 KB
pdf, 142.17 KB
pdf, 141.68 KB
pdf, 141.68 KB
zip, 5.63 MB
zip, 5.63 MB

A leaf returns a value. Its caller still has work to do. This focused recursion investigation asks learners to trace the call stack, keep local values separate and explain which call resumes after each return.

For ages 16–18 after functions, return values, parameters, loops and a simple rooted tree. Eleven prompts: ten core and one optional proof stretch. Two extended lessons or three shorter sittings are planning choices, not classroom-trial results. The complete paper route works independently of software.

A follows a fictional seven-part tree: whole subtree totals, waiting callers and separate local subtotals. B compares equal-sized chain, broad and balanced trees, separating total calls from peak live frames; a misplaced return passes a chain but misses a fork. C compares exact-zero and floor base cases with step sizes one and two: reaching a base can still give the wrong sum. Explained models include a parity argument, repair, domain-sensitive value proof and practical Python limits.

Both main PDFs repeat the whole 14-page teacher guide in A4 and US Letter: twelve teaching/model/preparation pages plus tools/credits and full font terms. The 46-file ZIP includes 11-page learner and 7-page whole-A selections in both sizes; complete teacher/learner DOCX, ODT and HTML; a responsive whole reader; seven original SVG/PNG illustrations, all code/data, recorded models and instructions. Formats repeat the same eleven questions.

Office text, tables and 41 ordinary 11-point writing paragraphs are editable. Diagrams are pictures with SVG originals. Actual editing, two long answer edits and whole save/reopen round trips used LibreOffice Writer; other editors/fonts can change pagination. No PowerPoint file. Source edits do not synchronize questions, models or other formats.

The optional offline viewer replays 42 fixed semantic records across six proper trees, two tree algorithms and ten integer starts with three algorithms. Next/Previous reveal one event; a return can include delivery to one caller. It does not execute edited Python or arbitrary code. Tree cycles/shared children are diagnosed before running. The bounded Python 3.10+ CLI uses only its standard library.

A twelve-live-frame cutoff is a labelled prefix with no root result, not a Python error threshold or proof of infinity. Conceptual frame counts are not memory/timing measurements. Use the bounded model for nonreturning examples. Teacher sources and records expose answers; explanations need human judgment. No account, file upload, notes, automatic saves, tracking or runtime AI.

Original tasks, models, code, layout and diagrams were created with OpenAI Codex (AI). Primary AQA/Python concepts are credited; no official exam scheme, complete-specification coverage or measured attainment is claimed. Supplied unmodified Liberation Sans/Mono fonts retain their complete separate licence.

Reviews

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.