GoConqr has a new look! Let us know what you think.

Quiz

Object-oriented programming

Ben Coldicott 5 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (5)

  1. 1A class is a [blank_start]template[blank_end] or blueprint definition of an [blank_start]object[blank_end] that contains [blank_start]methods[blank_end] and properties. A class usually has to be [blank_start]instantiated[blank_end] before it can be used.
    1. Atemplate
    2. Bmethods
    3. Cobject
    4. Dinstantiated
  2. 2Select all that are true about objects
    1. AThey are known as instances of a class
    2. BThey can have their properties manipulated once they have been instantiated
    3. CThey are used to define properties and methods
    4. DThey are an example of procedural programming
  3. 3A method is a data value that is used to describe an object
    1. ATrue
    2. BFalse
  4. 4Which of the following are true about inheritance?
    1. AA class that can inherit properties and methods from another class is called a sub-class, or child.
    2. BMethods in sub classes can override methods inherited from their parent classes
    3. CMethods inherited from parents classes cannot be overridden
  5. 5Aggregation is a special form of [blank_start]association[blank_end]. It is a relationship between two [blank_start]classes[blank_end] like association, however its a directional association, which means it is strictly a [blank_start]one[blank_end] way association.
    1. Aassociation
    2. Bprogramming
    3. Ccomposition
    4. Dclasses
    5. Eobjects
    6. Fproperties
    7. Gmethods
    8. Hone
    9. Itwo
    10. Jthree

Information

Description
Quiz on Object-oriented programming, created by Ben Coldicott on 03/11/2017.
Language
English
Views
53
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?