OOP Quiz

Description

13C OOP Quiz
Callum McGregor
Quiz by Callum McGregor, updated more than 1 year ago
Callum McGregor
Created by Callum McGregor about 7 years ago
26
0

Resource summary

Question 1

Question
Which of the following are types of aggregation?
Answer
  • Composition
  • Inheritance
  • Association
  • Instantiation

Question 2

Question
The principals behind composition aggregation is:
Answer
  • Have classes take over the attributes of other classes, based on a "is" relationship
  • Have classes linked to other classes based on a "do" relationship where one cannot survive without another
  • Have classes linked to other classes based on a "do" relationship where one can survive without another

Question 3

Question
Object oriented programming is based on:
Answer
  • Encapsulating what varies
  • Favour inheritance over composition
  • Program to interfaces, not implementation
  • Overriding methods

Question 4

Question
A class is an instantiation of an object
Answer
  • True
  • False

Question 5

Question
Is Callum awesome?
Answer
  • Yes
  • Very yes
  • No
  • Very no
  • Meh
  • I don't care
Show full summary Hide full summary

Similar

To Kill a Mockingbird- Quotes for Scout (Jean Louise)
poppysullivan0
AP Chemistry
Cathal Darby
AQA Sociology AS level
rhian-hay
World at Risk: Disaster hotspots - the Philippines
Holly Lovering
GCSE Chemistry C1.1 - Fundamental Ideas in Chemistry
chancice.branscombe
Genetics Vocabulary
aborsari
GCSE AQA Physics - Unit 2
James Jolliffe
Atomic Structure
dpr898
Vocabulary Words
Jenna Trost
The Circulatory System
Hamza Ahmed
Účto Fífa 4/6
Bára Drahošová