ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions
2 marks · Programming paradigms
Describe how object-oriented languages are used to create software.
• 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)