Deck 4: Object-Oriented Programming: Concepts, Relationships, and Design
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
Play
Full screen (f)
Deck 4: Object-Oriented Programming: Concepts, Relationships, and Design
1
Which of the following is a mechanism that allows several objects in an class hierarchy to have different methods with the same name
A)aggregation
B)polymorphism
C)inheritance
D)all of the mentioned
A)aggregation
B)polymorphism
C)inheritance
D)all of the mentioned
polymorphism
2
How is generalization implemented in Object Oriented programming languages
A)inheritance
B)polymorphism
C)encapsulation
D)abstract classes
A)inheritance
B)polymorphism
C)encapsulation
D)abstract classes
inheritance
3
Which of the following describes"Is-a-Relationship"
A)aggregation
B)inheritance
C)dependency
D)all of the mentioned
A)aggregation
B)inheritance
C)dependency
D)all of the mentioned
inheritance
4
Object that collects data on request rather than autonomously is known as
A)active object
B)passive object
C)multiple instance
D)none of the mentioned
A)active object
B)passive object
C)multiple instance
D)none of the mentioned
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
5
Objects are executed
A)sequentially
B)in parallel
C)sequentially & parallel
D)none of the mentioned
A)sequentially
B)in parallel
C)sequentially & parallel
D)none of the mentioned
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
6
What among these is true
A)associations may also correspond to relation between instances of three or more classes
B)association lines may be unlabeled or they may show association name
C)all of the mentioned
D)none of the mentioned
A)associations may also correspond to relation between instances of three or more classes
B)association lines may be unlabeled or they may show association name
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
7
Which of these are the heuristics
A)name classes, attributes, and roles with noun phrases
B)name operations and associations with verb phrases
C)stick to binary associations
D)all of the mentioned
A)name classes, attributes, and roles with noun phrases
B)name operations and associations with verb phrases
C)stick to binary associations
D)all of the mentioned
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
8
An object symbol is divided into what parts
A)top compartment
B)bottom compartment
C)all of the mentioned
D)none of the mentioned
A)top compartment
B)bottom compartment
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
9
In Unified Modeling Language, diagrams which captures system static structure and provide foundation for other models is called
A)deployment diagrams
B)class diagrams
C)component diagrams
D)object diagrams
A)deployment diagrams
B)class diagrams
C)component diagrams
D)object diagrams
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck