Deck 4: Object-Oriented Programming: Concepts, Relationships, and Design

Full screen (f)
exit full mode
Question
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
Use Space or
up arrow
down arrow
to flip the card.
Question
How is generalization implemented in Object Oriented programming languages

A)inheritance
B)polymorphism
C)encapsulation
D)abstract classes
Question
Which of the following describes"Is-a-Relationship"

A)aggregation
B)inheritance
C)dependency
D)all of the mentioned
Question
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
Question
Objects are executed

A)sequentially
B)in parallel
C)sequentially & parallel
D)none of the mentioned
Question
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
Question
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
Question
An object symbol is divided into what parts

A)top compartment
B)bottom compartment
C)all of the mentioned
D)none of the mentioned
Question
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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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
polymorphism
2
How is generalization implemented in Object Oriented programming languages

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
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
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
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
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
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
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
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 9 flashcards in this deck.