Materials – Advanced Higher Reading Code Haggis OO
Activity Summary
These tasks can be used to determine a learner’s understanding of object oriented principles when implemented in the Haggis reference language. Learners are asked to read a short section of code and answer follow-up questions. Explanations require a good understanding of OO principles such as inheritance, encapsulation and polymorphism.
Suggested Time Required
Each set of tasks will require 1 – 2 periods of class time. Alternatively, tasks can be issued as homework exercises.
Resources
Follow Up Activities
- Learners should be able to attempt similar code reading tasks for other short sections of Haggis OO code.
- Learners should be able to modify or create object orientated code in the language they are learning in AH.