Quiz
Object-oriented programming
This quiz has question types that open in the usual player.
Questions in this quiz (5)
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.
- Atemplate
- Bmethods
- Cobject
- Dinstantiated
2Select all that are true about objects
- AThey are known as instances of a class
- BThey can have their properties manipulated once they have been instantiated
- CThey are used to define properties and methods
- DThey are an example of procedural programming
3A method is a data value that is used to describe an object
- ATrue
- BFalse
4Which of the following are true about inheritance?
- AA class that can inherit properties and methods from another class is called a sub-class, or child.
- BMethods in sub classes can override methods inherited from their parent classes
- CMethods inherited from parents classes cannot be overridden
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.
- Aassociation
- Bprogramming
- Ccomposition
- Dclasses
- Eobjects
- Fproperties
- Gmethods
- Hone
- Itwo
- Jthree
Information
- Description
- Quiz on Object-oriented programming, created by Ben Coldicott on 03/11/2017.
- Author
- Ben Coldicott
- Language
- English
- Views
- 53
- Tags
- Rating
- No ratings yet Rate this quiz