Quiz
Object-oriented programming
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do 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
- AVerdadeiro
- BFalso
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
Informações
- Descrição
- Quiz sobre Object-oriented programming, criado por Ben Coldicott em 03-11-2017.
- Autor
- Ben Coldicott
- Idioma
- English
- Visualizações
- 53
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz