Lewis Hellier
Test por , creado hace más de 1 año

A fun computing quiz about OOP

6
0
0
Lewis Hellier
Creado por Lewis Hellier hace más de 6 años
Cerrar

Object-Orientated Programming

Pregunta 1 de 8

1

A object is an of a class. Each class can have sub-classes which can the properties and methods of the main class. A is a action an object can perform, and a is a descriptor of the object, or a variable relating to it.

Arrastra y suelta para completar el texto.

    instance
    association
    inherit
    copy
    method
    property

Explicación

Pregunta 2 de 8

1

Interfaces can only be implemented by 1 class

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 8

1

Check all which might be a property of a dog:

Selecciona una o más de las siguientes respuestas posibles:

  • Breed

  • Colour

  • barkAtPostman

  • playDead

  • barkVolume

Explicación

Pregunta 4 de 8

1

An association relationship can be:

Selecciona una o más de las siguientes respuestas posibles:

  • 1-to-1

  • 1-to-Many

  • Many-to-Many

  • None of the above

Explicación

Pregunta 5 de 8

1

In an aggregation relationship, if the parent object is destroyed, the child object is also destroyed.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 8

1

Selecciona la opción correcta de los menús desplegables para completar el texto.

In composition relationships, if the ( parent, child ) object is destroyed, so too will the ( child, parent ) object. This is why it is often referred to as a "( death, destructive, murder, final )" relationship.

Explicación

Pregunta 7 de 8

1

With polymorphism, each subclass may have its own way of implementing a function from the parent class.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 8 de 8

1

Which of the following is not a real "method"?

Selecciona una de las siguientes respuestas posibles:

  • Static

  • Abstract

  • Virtual

  • Real

Explicación