Deck 12: Uml and Patterns

Full screen (f)
exit full mode
Question
In a UML class diagram,the sharp (#)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Use Space or
up arrow
down arrow
to flip the card.
Question
In a UML class diagram,the plus (+)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Question
A container is a class whose objects hold multiple pieces of data.
Question
The third section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Question
In a UML class diagram,the minus (-)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Question
UML was designed to be used with structured programming methodology.
Question
In a UML class diagram,the tilde (~)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Question
The Adaptor pattern transforms one class into a different class without changing the underlying class.
Question
The second section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Question
Any construct that allows you to cycle through all the items in a container is an iterator.
Question
Pseudocode is a mixture of programming language and English.
Question
Any construct that allows you to cycle through all the items in a container is called:
(a)Pointer
(b)Instance variable
(c)Iterator
(d)All of the above
Question
Define pseudocode.
Question
UML is a graphical language that is used for designing and documenting software created within the _____________ framework.
(a)top-down programming
(b)bottom-up programming
(c)structured programming
(d)object oriented programming
Question
The arrowheads in an inheritance diagram point:
(a)North
(b)South
(c)East
(d)West
Question
The first section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Question
In a quick sort algorithm,a value called a splitting value is an arbitrarily selected value from the array to sort.
Question
Draw a UML class diagram for a class that represents a sphere.
Question
An example of a container is a/an:
(a)array
(b)vector
(c)linked list
(d)all of the above
Question
Class diagrams must contain all class members.
Question
Draw a UML class diagram for a class that represents a savings account.
Question
Draw a UML inheritance diagram for possible classes used to represent a bank account.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 12: Uml and Patterns
1
In a UML class diagram,the sharp (#)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
B
2
In a UML class diagram,the plus (+)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
A
3
A container is a class whose objects hold multiple pieces of data.
True
4
The third section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
5
In a UML class diagram,the minus (-)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
6
UML was designed to be used with structured programming methodology.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
7
In a UML class diagram,the tilde (~)indicates:
(a)public access
(b)protected access
(c)private access
(d)package access
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
8
The Adaptor pattern transforms one class into a different class without changing the underlying class.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
9
The second section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
Any construct that allows you to cycle through all the items in a container is an iterator.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
11
Pseudocode is a mixture of programming language and English.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
12
Any construct that allows you to cycle through all the items in a container is called:
(a)Pointer
(b)Instance variable
(c)Iterator
(d)All of the above
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
13
Define pseudocode.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
14
UML is a graphical language that is used for designing and documenting software created within the _____________ framework.
(a)top-down programming
(b)bottom-up programming
(c)structured programming
(d)object oriented programming
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
15
The arrowheads in an inheritance diagram point:
(a)North
(b)South
(c)East
(d)West
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
16
The first section of a UML class diagram specifies the:
(a)class members
(b)class name
(c)class methods
(d)class modifiers
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
17
In a quick sort algorithm,a value called a splitting value is an arbitrarily selected value from the array to sort.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
18
Draw a UML class diagram for a class that represents a sphere.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
19
An example of a container is a/an:
(a)array
(b)vector
(c)linked list
(d)all of the above
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
20
Class diagrams must contain all class members.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
21
Draw a UML class diagram for a class that represents a savings account.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
22
Draw a UML inheritance diagram for possible classes used to represent a bank account.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 22 flashcards in this deck.