Class diagrams are a critical part of any OOP exam in both grade 11 and 12.
- In the practical exam paper, it is part of the question and must be coded (followed) exactly.
- In the theory paper, you will need to be able to create your own class diagram according to the scenario given and is probably the easiest 8 marks on the whole exam paper.
Note the differences between Java and a class diagram – in fact a class diagram is a lot like pseudocode e.g. the datatype is last, use “real” not “double”, use “string” not “String” etc
Click here for an example with the marking guideline.