Skip to content

Library Loans with Python Classes: Debug and Extend

A Year 10 Digital Technologies Python lesson: students read a two-module object-oriented library loans program (Book, Member and Library classes), fix one runtime and three logic errors, then test a loan limit and add a most-popular-book feature to the right class.
Lesson planTechnologiesYear 10Shared by Heapso

Preview

Answers and teacher notes are hidden here. Verified teachers see them once it's copied into Heapso.

Year 10Technologies 70 minAC9TDI10P09: implement, modify and debug modular programs, applying selected algorithms and data structures, including in an object-oriented programming language
Key competenciesDigital LiteracyCritical and Creative ThinkingNumeracy

Lesson sequence

70 min total

Key vocabulary

Differentiation

© Australian Curriculum, Assessment and Reporting Authority (ACARA) 2010 to present, unless otherwise indicated. This material was downloaded from the Australian Curriculum website (accessed 18 October 2026) and was not modified. The material is licensed under CC BY 4.0.

Licence: CC BY 4.0. ACARA's terms of use. Heapso isn't affiliated with ACARA, and ACARA doesn't endorse Heapso or any product that uses the Australian Curriculum.

The Australian Curriculum website