Deck 10: Object-Oriented Systems Analysis and Design Using UML
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
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/80
Play
Full screen (f)
Deck 10: Object-Oriented Systems Analysis and Design Using UML
1
Which of the following is not described by a use case?
A)the actor that initiates an event
B)the use case that performs the actions
C)the event that triggers the use case
D)the objects required by the use case
A)the actor that initiates an event
B)the use case that performs the actions
C)the event that triggers the use case
D)the objects required by the use case
D
2
Which of the following is not one of the main components of UML?
A)things
B)relationships
C)entities
D)diagrams
A)things
B)relationships
C)entities
D)diagrams
C
3
A private attribute on a class diagram:
A)does not change its value for different object instances.
B)is hidden from all classes except immediate subclasses.
C)is only available in the object.
D)is available to the class and all classes that have relationships with the attribute's class.
A)does not change its value for different object instances.
B)is hidden from all classes except immediate subclasses.
C)is only available in the object.
D)is available to the class and all classes that have relationships with the attribute's class.
C
4
When attributes are preceded by a minus sign,it means that:
A)the attributes are private.
B)the attributes are public.
C)the attributes are static.
D)the attributes are undefined.
A)the attributes are private.
B)the attributes are public.
C)the attributes are static.
D)the attributes are undefined.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
5
On an activity diagram,what is used to show parallel activities?
A)an arrow
B)a synchronization bar
C)a swimlane
D)a diamond
A)an arrow
B)a synchronization bar
C)a swimlane
D)a diamond
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
6
Method overloading means that:
A)the same method may be defined differently in inherited classes.
B)the same method may be defined more than once in a given class.
C)the method may have parameters passed to it from more than one relating class.
D)the method may be used on different platforms,such as a server or client computer.
A)the same method may be defined differently in inherited classes.
B)the same method may be defined more than once in a given class.
C)the method may have parameters passed to it from more than one relating class.
D)the method may be used on different platforms,such as a server or client computer.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
7
Solid arrowheads used for messages on a sequence diagram represent:
A)inheritance relationships.
B)return parameters.
C)asynchronous messages.
D)synchronous calls.
A)inheritance relationships.
B)return parameters.
C)asynchronous messages.
D)synchronous calls.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
8
Which type of class represents real-world items?
A)entity
B)interface
C)abstract
D)control
A)entity
B)interface
C)abstract
D)control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
9
Behavioral diagrams include all of the following except:
A)activity diagrams.
B)communication diagrams.
C)class diagrams.
D)use case diagrams.
E)sequence diagrams.
A)activity diagrams.
B)communication diagrams.
C)class diagrams.
D)use case diagrams.
E)sequence diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
10
When classes are involved in inheritance,another name for a child class is:
A)a base class.
B)a derived class.
C)a superclass.
D)an instantiated class.
A)a base class.
B)a derived class.
C)a superclass.
D)an instantiated class.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is not one of the six most commonly used UML diagrams?
A)activity diagram
B)CRC card relationship diagram
C)use case diagram
D)statechart diagram
A)activity diagram
B)CRC card relationship diagram
C)use case diagram
D)statechart diagram
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
12
On an activity diagram,what is used to show partitioning?
A)a synchronization bar
B)a swimlane
C)a diamond
D)a filled-in circle
A)a synchronization bar
B)a swimlane
C)a diamond
D)a filled-in circle
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following is a structural diagram?
A)use case diagram
B)statechart diagram
C)sequence diagram
D)class diagram
A)use case diagram
B)statechart diagram
C)sequence diagram
D)class diagram
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
14
A mechanism for communicating between a server and a mainframe computer is called a:
A)message queue.
B)swimlane.
C)synchronization bar.
D)EBCDIC conversion unit.
A)message queue.
B)swimlane.
C)synchronization bar.
D)EBCDIC conversion unit.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following is the main goal of the object-oriented approach?
A)maintaining systems
B)minimizing the impact of change
C)reusability
D)functional control
A)maintaining systems
B)minimizing the impact of change
C)reusability
D)functional control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
16
A template that the analyst may use when beginning to model or talk about the system from an O-O perspective is called a:
A)CRC card.
B)UML descriptor.
C)whole-part structure.
D)design layer.
E)User Message Language.
A)CRC card.
B)UML descriptor.
C)whole-part structure.
D)design layer.
E)User Message Language.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is not a format for sending messages between classes on a sequence diagram?
A)messageName( )
B)messageName(parameter1,parameter2)
C)messageName(parameter1:returnValue,parameter2:returnValue)
D)messageName(parameterType:parameterName(defaultValue))
A)messageName( )
B)messageName(parameter1,parameter2)
C)messageName(parameter1:returnValue,parameter2:returnValue)
D)messageName(parameterType:parameterName(defaultValue))
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
18
What is used to show time ordering on a communication diagram?
A)a sequence number
B)a synchronous arrow
C)an asynchronous arrow
D)a focus of control
A)a sequence number
B)a synchronous arrow
C)an asynchronous arrow
D)a focus of control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
19
On a sequence diagram,a lateral bar or vertical rectangle is used to represent:
A)messages sent between classes.
B)the time sequence of activities.
C)the focus of control,when an object is busy doing things.
D)the lifeline for the class or object.
A)messages sent between classes.
B)the time sequence of activities.
C)the focus of control,when an object is busy doing things.
D)the lifeline for the class or object.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following are not shown on an activity diagram?
A)classes
B)events
C)decisions that are made
D)sequence of activities
A)classes
B)events
C)decisions that are made
D)sequence of activities
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
21
A statechart diagram is created for:
A)a single class.
B)a single use case.
C)an activity on an activity diagram.
D)a group of classes connected with relationships.
A)a single class.
B)a single use case.
C)an activity on an activity diagram.
D)a group of classes connected with relationships.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following is not a way to store and retransmit data from a Web page?
A)Store the information in a cookie.
B)Include the information in the URL.
C)Store the data in a message queue.
D)Include the data in a hidden field.
A)Store the information in a cookie.
B)Include the information in the URL.
C)Store the data in a message queue.
D)Include the data in a hidden field.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
23
Which type of class cannot be directly instantiated?
A)entity
B)interface
C)abstract
D)control
A)entity
B)interface
C)abstract
D)control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
24
________ show the same information as a sequence diagram.
A)Communication diagrams
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
A)Communication diagrams
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
25
Which type of class acts as a coordinator when implementing classes?
A)entity
B)interface
C)abstract
D)control
A)entity
B)interface
C)abstract
D)control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
26
An object defines a set of shared attributes and behaviors found in each class for the object.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
27
CRC stands for class,requirements,and collaborators.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
28
UML consists of things,relationships,and diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
29
________ describe the interactions of two or more things that perform a behavior that is more than any one of the things can do alone.
A)Communication diagrams
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
A)Communication diagrams
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
30
Object-oriented techniques work well in situations where ________ information systems are undergoing continuous maintenance,adaptation,and redesign.
A)complicated
B)simple
C)highly technical
D)global
A)complicated
B)simple
C)highly technical
D)global
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
31
A ________,________,and ________ card may be used when the analyst is beginning to model or talk about the system from an O-O perspective.
A)class; responsibilities; collaborators
B)class; responsibilities; collections
C)class; revisions; collaborators
D)collection; responsibilities; collaborators
A)class; responsibilities; collaborators
B)class; responsibilities; collections
C)class; revisions; collaborators
D)collection; responsibilities; collaborators
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
32
The term ________ is used when an object is created from a class.
A)class
B)updated
C)made
D)instantiate
A)class
B)updated
C)made
D)instantiate
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
33
________ reduces programming labor by reusing common objects easily.
A)Inheritance
B)Dower
C)Parenting
D)Settlement
A)Inheritance
B)Dower
C)Parenting
D)Settlement
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
34
When one class is created from another class it is called:
A)inheritance.
B)dower.
C)parenting.
D)settlement.
A)inheritance.
B)dower.
C)parenting.
D)settlement.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
35
Objects are represented by and grouped into ________ that are optimal for reuse and maintainability.
A)objects
B)views
C)classes
D)displays
A)objects
B)views
C)classes
D)displays
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
36
When using inheritance,the child class is also known as a ________ class.
A)parent
B)derived
C)primary
D)secondary
A)parent
B)derived
C)primary
D)secondary
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
37
Which type of class provides a means for users to work with the system?
A)entity
B)boundary or interface
C)abstract
D)control
A)entity
B)boundary or interface
C)abstract
D)control
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
38
Objects are part of a general concept called classes.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
39
________ diagrams are used to model the static structural design view of a system.
A)Class
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
A)Class
B)Concept diagrams
C)Structural diagrams
D)Behavioral diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
40
In inheritance,the original or parent class is known as the derived class.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
41
State transition diagrams illustrate a succession of interactions between classes or object instances over time.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
42
A deployment diagram shows the physical implementation of the system.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
43
Polymorphism means that the subclass may inherit a parent method but may add to it or modify it.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
44
An association class is used to represent whole/part relationships.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
45
Aggregation shows that the whole object is composed of the sum of its parts.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
46
The first iteration of analysis should be at a very low level to identify the system objects.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
47
The analyst should create use cases to define every system function,including queries and reports.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
48
Partitioning on an activity diagram is shown using swimlanes.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
49
Behavioral things describe how things work.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
50
A communication diagram shows the same thing as a state transition diagram.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
51
An abstract class cannot be directly instantiated.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
52
On a sequence diagram,a lateral bar or vertical rectangle shows the focus of control.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
53
A use case model describes what a system does without describing how the system does it.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
54
An asynchronous message is when the calling program waits for control to be returned to it.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
55
A statechart diagram is created to show how several classes change each other's states.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
56
Swimlanes are useful to show how the data must be transmitted or converted.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
57
An entity class represents an entity on an entity-relationship diagram.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
58
Structural diagrams are used to show the interaction between people and a use case.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
59
An activity diagram shows the flow of information between two or more use cases.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
60
Transient objects do not survive the end of session.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
61
List the diagrams included in behavioral diagrams.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
62
Cookies are the only way to store data on the client computer that will exist beyond the current session.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
63
Polymorphism is when the object-oriented program may have several versions of the same method with the same name in a superclass/subclass relationship.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
64
An entity class represents real-world items.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
65
When messages are passed from one class to another,the receiving class must have a method corresponding to the message name.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
66
A public attribute is only available in the object.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
67
A boundary or interface class provides a means for users to work with the system.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
68
Temporal events occur at a predetermined time.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
69
What is polymorphism?
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
70
A boundary class acts as a coordinator when implementing classes.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
71
Association classes are those that are used to break up a many-to-many association between classes.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
72
What is UML? What are the three major elements of UML?
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
73
Component diagrams show a bird's-eye view of the system architecture.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
74
Signals or synchronous messages occur when a program does not wait for a returning message.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
75
A deferred event is one that is held until an object changes state to one that can accept the event.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
76
An abstract class cannot be directly instantiated.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
77
List the and describe four categories into which classes fall.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
78
Aggregation provides a means of showing that the whole object is composed of the sum of its parts (other objects).
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
79
Describe the difference between a class and an object.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck
80
Collection is the relationship that exists when the whole has a responsibility for the part.
Unlock Deck
Unlock for access to all 80 flashcards in this deck.
Unlock Deck
k this deck