Skip to main content

Back to the full dot-point answer

Northern IrelandSoftware Systems DevelopmentQuick questions

AS 1 Introduction to Object Oriented Development

Quick questions on Object oriented concepts: classes, objects, attributes and methods - CCEA A-Level Software Systems Development

4short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is instantiation?
Show answer
Instantiation is the act of creating an object from a class. In most languages a constructor is called, often with the keyword new, which allocates memory for the new object and sets up its initial attribute values. Each instantiation produces a distinct object, independent of the others.
What is q1?
Show answer
Define the term object and state how it relates to a class. [2 marks]
What is q2?
Show answer
A Dog class has attributes name and age and a method bark(). Write a statement that instantiates a Dog object called rex, and a statement that calls its bark() method. [2 marks]
What is q3?
Show answer
Explain why grouping attributes and methods together in a class is described as modelling a real-world entity. [2 marks]

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

All Software Systems DevelopmentQ&A pages