ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions

Higher Computing Science 2017 Question 8 (CfE)

2 marks · Programming paradigms

Describe how object-oriented languages are used to create software.

Marking scheme

• Uses classes/sub-classes • Classes are created with attributes and methods • Subclasses inherit code of a superclass • Objects of these classes can be instantiated • Methods perform an operation • Attributes store properties/ values (for an instance) • Subclasses need only define additional attributes and methods 1 mark for any bullet – maximum 2 marks

Previous question: Higher Computing Science 2017 Question 7 (CfE)

Next question: Higher Computing Science 2017 Question 9 (CfE)