← AC9TDI10P09 Implement modular programs with OOP

Defining custom classes

AC9TDI10P09 n2 · waypoint 2 of 5 · Years 9–10 Digital Technologies (processes) · Processes and production skills · Hinge

Draft, from Waypoints Kit v0.2. Generated from Kit's node data and not yet reviewed by a specialist in Digital Technologies (processes): treat it as a starting suggestion and check it before use.

Checkpoint

Students can define a custom class with attributes and methods that models an entity in their program.

Make a primer for this
Opens Create with a Primer starter: title, goals from the success criteria, the misconception and width suggestions to choose from. Nothing is published until you send it in.

Lessons on this site

No lesson is tagged to this waypoint. The standard is generally covered by some courses; see the standard's page for which are the main focus and which only touch it.

Success criteria

Prior knowledge

Waypoint 1: Applying data structures.

Width

Minimum
Define a class with at least two attributes and one method; create at least one instance of the class and call the method.
Typical
Define a class that models a real entity (e.g. book, character, sensor reading) with appropriate attributes and methods; create multiple instances; use the class to represent structured data in a program.
Wider
  • Define a class with methods that track and modify the object's state over time — e.g. a library book class with methods to check out, return and reserve
  • Design and implement a class hierarchy with at least one subclass — explain what inheritance achieves and when it is and isn't appropriate
  • Refactor an existing program that uses dictionaries or parallel lists to use a custom class — explain what the refactor improves

Hinge

Students who cannot define a class correctly cannot read or modify class-based code at N3, and cannot implement a modular OOP program at N5 — class syntax fluency is directly prerequisite.

Response modes

Where extra effort goes at this waypoint (width), not what kind of lesson it is.

Consolidation: more practise steps, short feedback loopsOOP syntax and concepts require substantial practice. Students commonly confuse class definitions with instances, mix up self and instance variables, or misplace method definitions. Fluency with basic class definition and instantiation is a prerequisite for modular program design.

Kit node file for AC9TDI10P09 (JSON; this waypoint is node 2)

Descriptors: Australian Curriculum v9 (ACARA, CC BY 4.0). Waypoints, success criteria, width and response modes: Waypoints Kit v0.2 (CC BY-NC-SA 4.0), waypoints-kit 834ceb8. Corrections go to Kit, not this site.