OOP Quiz

Description

13C OOP Quiz
Callum McGregor
Quiz by Callum McGregor, updated more than 1 year ago
Callum McGregor
Created by Callum McGregor over 6 years ago
24
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

The Rise of the Nazis
absterps18
Restless Earth Notes
Gladys Mba
Othello content knowledge quiz
rubyduggan
Biological Psychology - Stress
Gurdev Manchanda
IB Biology Topic 4 Genetics (SL)
R S
Modals & semi-modals
Abeer Alqahtani
NCEA Guide to Studying
Kerrin _
Relationships in A Streetcar Named Desire
Emily Garvin-Howard
English Language Techniques 2
Adam Arrell
Clinical Pathoanatomy MCQs (Q 151-250)
Ore iyanda