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
23
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

What were the Cause and Consequences of The Cuban Missile Crisis October 1962
matthewnr73
Additional Chemistry - Topic 1: Atomic Structure and the Periodic Table
Hollieee01
Global History Regents Review Notes (Europe)
Jen Molte
The Many Conjugations of Spanish! Wow!
hannahkathryn5
BIOLOGY HL DEFINITIONS IB
Luisa Mandacaru
Creating a revision planner using Calender
justin@migs
Mind Maps with GoConqr
Manikandan Achan
TOK mindmap “Without application in the world, the value of knowledge is greatly diminished.”
Gabriela Serpa
Science Unit 1 flashcards
bamoscato
Family in the park
Eleuterio Caicedo Valencia
AAHI_Card set 5 (Vital sign terminology)
Tafe Teachers SB