Deck 12: Uml and Patterns
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
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/22
Play
Full screen (f)
Deck 12: Uml and Patterns
1
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
A)top-down programming
B)bottom-up programming
C)structured programming
D)object oriented programming
D
2
Define pseudocode.
Pseudocode is a combination of English like statements and high-level programming statements used to describe a software component.
3
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
A)Pointer
B)Instance variable
C)Iterator
D)All of the above
C
4
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
5
The second section of a UML class diagram specifies the:
A)class members
B)class name
C)class methods
D)class modifiers
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
6
In a UML class diagram,the plus +)indicates:
A)public access
B)protected access
C)private access
D)package access
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
7
In a UML class diagram,the sharp #)indicates:
A)public access
B)protected access
C)private access
D)package access
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 first section of a UML class diagram specifies the:
A)class members
B)class name
C)class methods
D)class modifiers
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
9
Class diagrams must contain all class members.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
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
11
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
12
The arrowheads in an inheritance diagram point:
A)North
B)South
C)East
D)West
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
13
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
14
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
15
The third section of a UML class diagram specifies the:
A)class members
B)class name
C)class methods
D)class modifiers
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
16
In a UML class diagram,the tilde ~)indicates:
A)public access
B)protected access
C)private access
D)package access
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
17
A container is a class whose objects hold multiple pieces of data.
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
In a UML class diagram,the minus -)indicates:
A)public access
B)protected access
C)private access
D)package access
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
20
An example of a container is a/an:
A)array
B)vector
C)linked list
D)all of the above
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
21
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
22
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