OOP Quiz

Descripción

13C OOP Quiz
Callum McGregor
Test por Callum McGregor, actualizado hace más de 1 año
Callum McGregor
Creado por Callum McGregor hace casi 9 años
57
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of the following are types of aggregation?
Respuesta
  • Composition
  • Inheritance
  • Association
  • Instantiation

Pregunta 2

Pregunta
The principals behind composition aggregation is:
Respuesta
  • 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

Pregunta 3

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

Pregunta 4

Pregunta
A class is an instantiation of an object
Respuesta
  • True
  • False

Pregunta 5

Pregunta
Is Callum awesome?
Respuesta
  • Yes
  • Very yes
  • No
  • Very no
  • Meh
  • I don't care
Mostrar resumen completo Ocultar resumen completo