Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

SAAD 6

Total questions: 103

Worksheet time: 52mins

Name
Class
Date
1.
In the use case analysis pipeline, which pair of artifacts is grouped under behavior (communication)?
a)
Sequence diagram and collaboration diagram
b)
Use case description and class diagram
c)
Class diagram and domain glossary
d)
State machine diagram and ER diagram
e)
Component diagram and deployment diagram
2.
In the same pipeline, the structure outcome is most directly represented by which artifact?
a)
Class diagram capturing analysis classes and their relationships
b)
Communication diagram capturing message flow on links
c)
Use case narrative capturing user intentions
d)
Timing diagram capturing explicit time constraints
e)
Activity diagram capturing workflow tokens
3.
Which design strategy best matches the slides' description of a use case driven development process?
a)
Design each use case on a small scale, then merge and refine into a whole
b)
Freeze the full architecture first, then fit use cases into it without revision
c)
Optimize non-functional requirements first, then derive use cases from the result
d)
Implement UI screens before identifying any analysis classes
e)
Start from database tables and treat use cases as documentation only
4.
Which question is primarily structural according to the slides' structure vs behavior distinction?
a)
What relationships exist between the classes in the system?
b)
How do objects exchange messages over time to realize a scenario?
c)
Which object should send the next message after a validation step?
d)
What is the activation nesting caused by a synchronous call?
e)
Which return values flow back through a thread of control?
5.
When building an ideal design during use case analysis, which aspect should be intentionally ignored?
a)
UI frameworks, libraries, protocols, and other technical factors
b)
The roles and responsibilities of objects in the use case
c)
Information needed by the use case scenarios
d)
Responsibilities transferred between objects
e)
The separation of structure analysis and behavior analysis
6.
The slides suggest that identifying classes is often driven by analyzing what pattern?
a)
Transfer of responsibility from outside the system to inside objects
b)
Mapping database columns to UI widgets
c)
Selecting programming language naming conventions
d)
Choosing encryption algorithms for security requirements
e)
Allocating CPU and memory budgets for performance
7.
Structural analysis for a use case focuses on discovering which participating class categories?
a)
Boundary, control, and entity classes
b)
Interface, abstract, and concrete classes
c)
Controller, repository, and service classes
d)
Thread, process, and coroutine classes
e)
Adapter, decorator, and facade classes
8.
A boundary class is primarily responsible for which concern in use case analysis?
a)
Communication between external partners and the system
b)
Storing and managing persistent domain information
c)
Coordinating all business rules across multiple use cases
d)
Optimizing runtime performance and memory usage
e)
Ensuring compile-time type safety of all operations
9.
For a checkout use case involving a cashier and a bank, which boundary-class allocation best matches the slides' guideline?
a)
A checkout form boundary for the cashier plus a banking system boundary for the bank
b)
A single boundary class that merges cashier UI and bank protocol concerns
c)
No boundary classes are needed if a control class exists
d)
A boundary class per entity object involved in payment
e)
One boundary class per controller class involved in checkout
10.
Which boundary class type focuses on information exchanged between a user and the system without committing to UI layout details?
a)
User interface boundary
b)
Entity boundary
c)
Control boundary
d)
Persistence boundary
e)
Domain boundary
11.
Which pair of boundary class types share the emphasis on protocol-level information exchange (not implementation), differing by external counterpart?
a)
System interface and device interface
b)
User interface and entity interface
c)
Control interface and entity interface
d)
Device interface and user interface
e)
Boundary interface and controller interface
12.
In the shopping cart payment scenario, which information set is displayed before the user enters credit card details?
a)
Invoice time, employee name, cart details, and total amount
b)
Only the credit card number and security code fields
c)
A bank decision plus a payment authorization code
d)
A device protocol transcript for the card reader
e)
A list of software libraries used by the payment module
13.
In the same scenario, which step is the earliest that requires interaction with the external bank?
a)
Bank confirms card information
b)
User enters credit card information
c)
System displays invoice time
d)
User chooses to pay for shopping cart
e)
System confirms payment completion
14.
Which description best matches the role of an entity class in the slides?
a)
Stores and manages information used in the system and is extracted from the domain
b)
Coordinates the activities and control flow of a use case
c)
Implements UI widgets and screen layout details
d)
Represents low-level network and device protocols
e)
Defines concurrency policies for message queues
15.
For the shopping cart payment use case, which candidate is most consistent with an entity extracted from the domain?
a)
An invoice record capturing time, employee, line items, and totals
b)
A checkout controller that validates card data and sends bank requests
c)
A checkout form that contains buttons and click handlers
d)
A bank connector that manages the payment protocol
e)
A focus-of-control marker drawn on a lifeline
16.
Which statement is consistent with the slides' rule about control classes and use cases?
a)
Each use case has at least one control class that coordinates its activities
b)
Control classes are optional and should be avoided if entity classes exist
c)
A single control class must coordinate every use case in the system
d)
Control classes should contain only persistent attributes and no operations
e)
Control classes can only communicate with entity classes, not boundary classes
17.
In the cashier-payment-bank example, what is the most accurate classification of CheckoutController?
a)
Control class coordinating the use case
b)
Boundary class handling cashier UI rendering
c)
Entity class storing invoice persistence
d)
Device interface boundary for a card reader
e)
Actor representing the external bank
18.
A class diagram created for a use case should primarily show what outcome of analysis, according to the slides?
a)
The results of structural analysis for the use case
b)
The full deployment topology of the system
c)
The exact UI layout of each screen
d)
The final database schema with indexes
e)
The runtime profiling results of message handling
19.
Which class type usually contains operations representing business processes, business rules, and system behaviors?
a)
Control class
b)
Entity class
c)
Boundary class
d)
Actor class
e)
Package class
20.
For boundary classes, the slides note that derived attribute notation is used to distinguish what?
a)
Output results computed by the system versus input fields collected from a user
b)
Public operations versus private operations
c)
Synchronous messages versus asynchronous messages
d)
Associations versus dependencies
e)
Actors versus entity objects
21.
According to the slides, what is the typical association direction between a boundary class and a control class?
a)
One-way from the boundary class to the control class
b)
Two-way between boundary and control classes by default
c)
One-way from the control class to the boundary class by default
d)
No association is allowed between boundary and control classes
e)
Associations must always go through entity classes first
22.
Which association would violate the slides' class diagram association rules?
a)
A boundary class directly associated with an entity class
b)
A control class associated with an entity class
c)
A boundary class associated with a control class
d)
An entity class associated with another entity class
e)
A control class associated with another control class
23.
In the class diagram summary, which external system is shown for closing registration but not for registering for courses?
a)
Billing System
b)
Course Catalog System
c)
Schedule
d)
Student
e)
Course Offering
24.
In the slides, interaction analysis primarily aims to discover what?
a)
Types of messages exchanged between objects to determine responsibilities
b)
Database table structures for persistent storage
c)
UI widget hierarchy and styling rules
d)
Cryptographic protocols for external communications
e)
Compiler-level optimizations for method calls
25.
In the slides, behavior analysis primarily aims to detail what?
a)
Internal activities in methods to discover hidden properties and operations
b)
The color scheme and layout grid of boundary screens
c)
The hardware specification of external devices
d)
The network topology of distributed services
e)
The naming conventions of a specific programming language
26.
Which situation most directly indicates an incompatibility between a class diagram and an interaction diagram?
a)
A message is sent to an object whose class is missing from the class diagram
b)
Two actors appear on the same interaction diagram
c)
An interaction diagram contains both calls and returns
d)
A class diagram contains both attributes and operations in a boundary class
e)
An entity class has an association to another entity class
27.
Which interaction diagram type is intended to highlight the temporal sequence of messages?
a)
Sequence diagram
b)
Class diagram
c)
Use case diagram
d)
Deployment diagram
e)
Package diagram
28.
According to the slides, what is the only form of interaction possible between objects?
a)
Message exchange
b)
Shared-memory variable access
c)
Direct database updates without messaging
d)
Global event polling without a sender
e)
File-based batch synchronization
29.
The slides call sequence and communication diagrams equivalent. In this context, what is meant by equivalent?
a)
They can represent the same interactions but emphasize different aspects (time vs organization)
b)
They always contain the same notation and layout
c)
They are interchangeable only when there are no return messages
d)
They are equivalent only for asynchronous message flows
e)
They are equivalent because both avoid showing objects
30.
In the interaction modeling example, what does the loop frame around several selection messages represent?
a)
The enclosed messages may repeat while a stated condition holds
b)
The enclosed messages must execute in parallel without ordering
c)
The enclosed messages are discarded if any return value is missing
d)
The enclosed messages are always sent asynchronously
e)
The enclosed messages indicate object destruction
31.
Which interaction violates the slides' rule about who an actor may send messages to?
a)
An actor sends a message directly to an entity object
b)
An actor sends a message to a boundary object
c)
A boundary object sends a message to a control object
d)
A control object sends a message to an entity object
e)
An entity object sends a message to another entity object
32.
Which sender-to-receiver pairing is permitted under the slides' interaction modeling principles?
a)
Control object -> entity object
b)
Entity object -> boundary object
c)
Actor -> control object
d)
Boundary object -> entity object
e)
Actor -> entity object
33.
Which message-triggered action in the slides corresponds to requesting a recipient to perform an operation?
a)
Call
b)
Return
c)
Destroy
d)
Create
e)
Send
34.
The slides state that an object can send what kind of message to itself to perform a private operation?
a)
A local call message
b)
A lost message
c)
A found message
d)
A destroy message
e)
A create message
35.
A cascading flow of activations created as objects respond to messages is called what?
a)
A thread of control
b)
An association link
c)
A derived attribute
d)
A boundary dialogue
e)
A package dependency
36.
A nested thread of control corresponds most directly to which kind of message style in the slides?
a)
Synchronous messages
b)
Asynchronous messages
c)
Lost messages
d)
Found messages
e)
Create messages
37.
Which arrow style represents a synchronous message in the slides' notation?
a)
Solid line with a triangular arrowhead
b)
Dashed line with a triangular arrowhead
c)
Solid line with a black circle at the end
d)
Solid line with a black circle at the beginning
e)
Half-arrow used only for UML 2.0 asynchronous messages
38.
For synchronous calls, what is the default treatment of return messages at the end of an operation?
a)
They may be omitted because return is the default at operation completion
b)
They must always be shown as a solid arrow
c)
They must be shown only when the caller is an actor
d)
They are replaced by a predecessor list ending with a slash
e)
They are shown only when the receiver is a boundary object
39.
In the slides' description of asynchronous messages, where does the message conceptually go at the recipient?
a)
Into the recipients queue for later handling
b)
Directly onto the senders call stack
c)
Into a shared global variable space
d)
Into the class diagram as an association
e)
Into a derived attribute list of the sender
40.
In asynchronous messaging, if a return occurs, how must it be represented according to the slides?
a)
It must be explicitly represented as a return message
b)
It is always implicit and must not be drawn
c)
It is represented by moving the receiver to the left of the sender
d)
It is represented by converting the message into a lost message
e)
It is represented by adding a {new} tag to the sender
41.
Which statement correctly describes a lost message in the slides' UML 2.0 notation?
a)
Sender is known but the receiver is unidentified or outside the diagram scope
b)
Receiver is known but the sender is unidentified or outside the diagram scope
c)
Both sender and receiver are outside the diagram scope
d)
Both sender and receiver are known and appear on the diagram
e)
The message is a synchronous call with an omitted return
42.
Which statement correctly describes a found message in the slides' UML 2.0 notation?
a)
Receiver is known but the sender is unidentified or outside the diagram scope
b)
Sender is known but the receiver is unidentified or outside the diagram scope
c)
Both sender and receiver are outside the diagram scope
d)
The message must be asynchronous and never returns
e)
The message must be a create message to a new object
43.
Which diagram is presented as one of the two main interaction diagrams, alongside the communication diagram?
a)
Sequence diagram
b)
Component diagram
c)
Deployment diagram
d)
Class diagram
e)
State machine diagram
44.
A sequence diagram typically presents objects as which of the following, according to the slides?
a)
Named or anonymous instances of classes or actors
b)
Only classes and their inheritance relationships
c)
Only database tables and foreign keys
d)
Only UI pages and navigation links
e)
Only packages and module dependencies
45.
In sequence diagram conventions, where should the lifeline of a newly created object begin?
a)
At the point of the create message, drawn lower down on the time axis
b)
At the top of the diagram regardless of when it is created
c)
Only after the object sends its first message
d)
Only after a return message is received
e)
At the bottom of the diagram at destruction time
46.
According to the slides, which placement guideline is recommended for objects that initiate messages?
a)
Place them on the left side of the diagram
b)
Place them on the right side of the diagram
c)
Place them in the center regardless of role
d)
Place them below all other objects on the time axis
e)
Placement is fixed alphabetically by object name
47.
How is object destruction reflected on a lifeline in the slides' sequence diagram conventions?
a)
The lifeline ends with a diagonal line when the object is destroyed
b)
The lifeline switches from dashed to solid permanently
c)
The lifeline is moved to the far left margin
d)
The lifeline is duplicated and labeled {destroyed}
e)
The lifeline is replaced by a multi-object symbol
48.
What is the primary purpose of focus-of-control rectangles on lifelines, as described in the slides?
a)
To show active periods and clarify nesting of messages
b)
To indicate that an object is an entity rather than a boundary
c)
To replace the need for message arrows
d)
To represent the objects persistent attributes
e)
To encode predecessor lists for synchronization
49.
According to the slides, the margins of a sequence diagram can be used to record what?
a)
Explanations and constraints
b)
Only sequence expressions for every message
c)
Only the list of entity attributes
d)
Only external system protocol frames
e)
Only the UML version number
50.
In the slides' message syntax, what does a prefix like [condition] indicate?
a)
The message is sent only when the condition is met
b)
The message is always asynchronous
c)
The message must be a create message
d)
The receiver is outside the scope of the diagram
e)
The message is a return value assignment
51.
When multiple messages originate from the same point and their conditions are mutually exclusive, the slides describe this as what?
a)
A conditional branch
b)
A parallel branch
c)
A nested thread of control
d)
A lost message set
e)
A multi-object iteration
52.
Which combined fragment best matches an if/else with mutually exclusive branches?
a)
alt
b)
opt
c)
loop
d)
strict
e)
ref
53.
In the slides, what does an asterisk (*) attached to a message indicate in a sequence diagram?
a)
The message is repeated multiple times
b)
The message is a synchronous call
c)
The message is a found message
d)
The message is delivered only after predecessors complete
e)
The message creates a new object
54.
In the telephone-call illustrative example, what does a bold outline around objects indicate?
a)
The objects are concurrent and work in parallel
b)
The objects are boundary classes
c)
The objects are newly created and transient
d)
The objects are destroyed at the end of the scenario
e)
The objects are external systems outside the diagram scope
55.
In the telephone-call sequence diagram, the constraint {b.tReceive - a.tSend < 1sec} specifies what?
a)
The time from sending message a to receiving message b must be under 1 second
b)
Message b must be sent at least 1 second after message a
c)
Message a must be repeated for 1 second
d)
Message b must be asynchronous while message a is synchronous
e)
The sender and receiver must be within 1 second of lifeline distance
56.
In the schedule-viewing sequence diagram example, messages inside a loop frame imply what about the user selections?
a)
The selection steps may be repeated until the loop condition is satisfied
b)
The selection steps must occur in parallel with no defined order
c)
The selection steps represent object destruction and recreation
d)
The selection steps are lost messages with unknown receivers
e)
The selection steps must be modeled only with communication diagrams
57.
In the mapping from a sequence diagram to code, which operation signature best matches a call message Login(Username, Pass) sent to object B?
a)
public int Login(string UID, Pass)
b)
private void Login()
c)
public void Login()
d)
public int Login()
e)
public bool Login(int UID, int Pass)
58.
Why do the slides recommend creating several sequence diagrams for a single use case?
a)
A use case may have multiple scenarios and each sequence diagram depicts only one control flow
b)
Sequence diagrams cannot show any messages and must be split to show them
c)
Communication diagrams can only be created after multiple sequence diagrams exist
d)
A use case must have one sequence diagram per entity class
e)
Synchronous calls require separate diagrams from asynchronous calls
59.
In the slides' terminology, which sequence diagram would most likely be considered primary?
a)
The diagram that depicts the main successful scenario
b)
The diagram that depicts the rarest error case
c)
The diagram that includes the most objects regardless of scenario
d)
The diagram that contains only return messages
e)
The diagram that omits all selection conditions
60.
Before drawing a sequence diagram for a scenario, the slides recommend reviewing what artifact to identify participating objects?
a)
The class diagram created in the structural analysis step
b)
The deployment diagram of runtime nodes
c)
The database schema with indexes
d)
The UI style guide for boundary screens
e)
The test plan for non-functional requirements
61.
When arranging objects in a sequence diagram, what placement is recommended for actors and initiating objects?
a)
Actors at the left margin and initiating objects on the left side
b)
Actors on the right margin and initiating objects on the right side
c)
Actors in the center and initiating objects on the far right
d)
Actors are never shown; only objects are placed
e)
Actors are placed below the objects that create them
62.
How should objects that are created and destroyed during an interaction be represented in a sequence diagram?
a)
With a short lifeline from creation to destruction, using create and destroy symbols
b)
With a full-height lifeline spanning the entire diagram
c)
By omitting them and showing only messages to their class
d)
By replacing them with a predecessor list ending with a slash
e)
By converting them into multi-objects stacked at the top
63.
When constructing the message flow in a sequence diagram, what is the recommended starting point?
a)
Begin with the message that initiates the interaction and then place later messages top-down
b)
Begin with the final return message and work backward
c)
Begin by numbering all objects alphabetically
d)
Begin by adding temporal constraints before any messages exist
e)
Begin by adding derived attributes to all boundary classes
64.
According to the slides, focus-of-control indicators are added primarily to clarify what?
a)
The active period of objects and the nesting of messages
b)
Whether a message is lost or found
c)
Whether an attribute is primitive or user-defined
d)
Whether a class is extracted from the domain
e)
Whether an association is long-term or newly provided
65.
When temporal or spatial constraints must be made explicit, what does the slides suggest using in addition to message arrows?
a)
Temporal notations like sequence expressions and iteration symbols plus stated constraints
b)
Only class diagram multiplicities
c)
Only boundary class derived attributes
d)
Only global dependency stereotypes
e)
Only object destruction tags like {destroyed}
66.
Which interaction diagram is designed to highlight the organizational context of message exchange in a scenario?
a)
Communication diagram
b)
Sequence diagram
c)
Class diagram
d)
Use case diagram
e)
Package diagram
67.
In UML 1.x, what was the older name for the communication diagram?
a)
Collaboration diagram
b)
Deployment diagram
c)
State diagram
d)
Component diagram
e)
Timing diagram
68.
A communication diagram presents which elements as its core components?
a)
Objects, connections between objects, and exchanged messages
b)
Only classes and inheritance relationships
c)
Only actors and use cases
d)
Only database tables and queries
e)
Only UI screens and navigation links
69.
In a communication diagram, what does it imply when a message arrow is drawn along a connection between two objects?
a)
The sender knows the recipient due to that connection and can send the message
b)
The sender can message any object regardless of connections
c)
Connections exist only for return messages and not for calls
d)
The message is always lost because the recipient is outside scope
e)
The connection is created only after the message is delivered
70.
In the slides' communication diagram stereotypes, what does <<parameter>> on a dependency connection indicate?
a)
The receiving object is a parameter of the senders message-sending operation
b)
The receiving object is a global variable accessible to the sender
c)
The receiving object is created and destroyed during execution
d)
The receiving object is an entity and must not receive messages
e)
The receiving object is outside the scope and must be shown as a found message
71.
Which stereotype is used when the receiving object is the same as the sending object in a communication diagram?
a)
<<self>>
b)
<<global>>
c)
<<local>>
d)
<<association>>
e)
<<parameter>>
72.
In communication diagrams, what does the attribute string {transient} indicate?
a)
An object or connection is created during execution and then destroyed
b)
An object is persistent and exists before and after the scenario
c)
An object is outside the scope and therefore unidentified
d)
A message is synchronous and nested
e)
A return value is assigned to a named answer
73.
In the message syntax [PreviousStep] [SequenceExpression] [Reply :=] MessageName(ParameterList), which part is mandatory?
a)
MessageName
b)
PreviousStep
c)
SequenceExpression
d)
Reply :=
e)
ParameterList
74.
In a communication diagram, what is the meaning of a predecessor list like 1.1, 2.3/ attached to a message?
a)
The message is delivered only after the listed prior messages have been delivered
b)
The message will be delivered before the listed prior messages
c)
The message is delivered only if the receiver is a global object
d)
The message is asynchronous and therefore has no ordering
e)
The message is a return and can be omitted by default
75.
What does the trailing slash (/) in a predecessor list represent in the slides' notation?
a)
A synchronization requirement that listed predecessors must already be delivered
b)
A marker that the message is lost
c)
A marker that the message is found
d)
A marker that the message is a create action
e)
A marker that the message repeats multiple times
76.
In communication diagram numbering, what does dot notation in a sequence expression primarily show?
a)
Nesting of messages triggered within an operation
b)
A two-way association between the objects
c)
That the message is a return value assignment
d)
That the receiver is outside the diagrams scope
e)
That the sender is an actor rather than an object
77.
In the notation 2.1.* [i:=1..n]: ..., which element signals repetition of the message according to the slides?
a)
The asterisk (*) after the sequence number
b)
The use of dot notation (2.1)
c)
The colon (:) at the end
d)
The brackets around the iterator description
e)
The presence of a predecessor list
78.
Why do the slides recommend that a message name usually match the operation name on the receiver side?
a)
To make the interaction easier for readers to understand and follow
b)
To ensure the message is always asynchronous
c)
To avoid the need for any parameters in messages
d)
To guarantee that the sender and receiver are the same object
e)
To force all operations to be private
79.
In the reserve(d: Order) example, which operation call is most clearly repeated across items in the order?
a)
Inventory.reserve(product, quantity)
b)
d.numberOfItems()
c)
d.getItem(i)
d)
item.getProduct()
e)
item.getQuantity()
80.
In the communication diagram example, a dependency labeled <<parameter>> most directly indicates what about the referenced object?
a)
It is passed into the operation as an input parameter
b)
It is a global object accessible everywhere in the sender
c)
It is created during execution and then destroyed
d)
It is the same object as the sender
e)
It can receive messages only from entity objects
81.
In the annotated communication diagram, what is the role of a guard like [order complete] attached to a message?
a)
It states a condition under which the message is applicable or delivered
b)
It marks the message as a lost message with unknown receiver
c)
It forces the message to be synchronous and nested
d)
It indicates the receiver object is newly created
e)
It indicates the sender object is destroyed after sending
82.
When a message should conceptually be sent to multiple objects at once in a communication diagram, what notation do the slides recommend?
a)
A multi-object representing multiple objects of the same class
b)
A predecessor list ending with a slash
c)
A found message with a black circle at the beginning
d)
A focus-of-control rectangle on each lifeline
e)
A derived attribute symbol on the sender
83.
What key benefit of using a multi-object is emphasized in the slides?
a)
It avoids committing early to a specific collection implementation like Vector or ArrayList
b)
It guarantees that all messages are delivered synchronously
c)
It ensures the class diagram has no entity classes
d)
It replaces the need for any message numbering
e)
It converts dependencies into two-way associations automatically
84.
When creating a communication diagram, how do the slides recommend arranging objects on the diagram?
a)
Place objects that exchange many messages in the middle and others around them
b)
Place all actors in the center and all objects on the perimeter
c)
Place entity objects only on the left and boundary objects only on the right
d)
Place objects alphabetically by class name
e)
Place objects in vertical time order from top to bottom
85.
If an objects state or attribute values change significantly during interaction, what do the slides suggest doing in a communication diagram?
a)
Draw an additional copy and connect it with a dependency stereotyped as <<become>> or <<copy>>
b)
Convert the object into a multi-object
c)
Remove the object to avoid inconsistency
d)
Replace all messages to the object with return messages
e)
Change the object into an actor
86.
Which situation most justifies drawing a second copy of an object in a communication diagram?
a)
Its attribute values, label values, state, or role changes significantly during interaction
b)
It sends at least one synchronous message
c)
It appears at the many end of an association
d)
It belongs to an entity class extracted from the domain
e)
It receives a return value from another object
87.
When identifying connections for a communication diagram, what do the slides recommend drawing first?
a)
Association connections because they describe the static structure
b)
Only dependency connections because they define all structure
c)
Only self connections because they are most common
d)
Predecessor lists because they define ordering
e)
Focus-of-control rectangles because they define activity
88.
To clarify nesting of messages in a communication diagram, what notation do the slides recommend?
a)
Use dot notation in the sequence expressions (for example 1, 1.1, 1.1.1)
b)
Use a dashed return arrow for every message
c)
Use derived attribute symbols on all objects
d)
Use only global dependency stereotypes
e)
Use lifeline focus-of-control rectangles
89.
Why do the slides require comparing structural diagrams with interaction diagrams after creating both?
a)
To correct inconsistencies between the structural and interaction models
b)
To ensure all boundary classes have only attributes and no operations
c)
To replace sequence diagrams with use case diagrams
d)
To enforce that all connections are two-way associations
e)
To remove all control classes discovered during structural analysis
90.
Which modification is NOT listed by the slides as part of comparing and modifying the models?
a)
Selecting a specific UI framework and library set
b)
Adding or removing classes
c)
Adding or modifying operations within classes
d)
Adding types for attributes, parameters, and return values
e)
Adding or modifying connections between classes
91.
The slides describe structural diagrams as also being known as what?
a)
Domain class diagrams or use case participation class diagrams
b)
Deployment diagrams or component diagrams
c)
Timing diagrams or state diagrams
d)
Package diagrams or activity diagrams
e)
Interaction diagrams or message diagrams
92.
According to the slides, what is the primary basis for adding or removing classes during model refinement?
a)
The interaction diagram
b)
The UI mockup
c)
The programming language type system
d)
The network protocol specification
e)
The database index design
93.
If a class exists in the structural diagram but no objects of that class participate in any interaction diagram, what do the slides suggest?
a)
Remove the class from the structural diagram
b)
Add more attributes to the class until it participates
c)
Convert the class into a boundary class
d)
Force a message to be sent to it to justify its existence
e)
Replace the class with a multi-object symbol
94.
When an object of class A sends a message to an object of class B, what must exist in class B according to the slides?
a)
A public operation corresponding to the message with matching parameter list
b)
A boundary screen definition containing UI widgets
c)
A predecessor list listing all messages sent by A
d)
A derived attribute for each parameter of the message
e)
An association to every entity class in the system
95.
When an object of class A sends a message to an object of class B, what must exist in class A according to the slides?
a)
An operation responsible for sending that message
b)
A public operation with the same name as the receivers operation
c)
A protocol implementation for the receivers device interface
d)
A return message explicitly drawn in the class diagram
e)
A multi-object representing all instances of class B
96.
For messages sent to an agent that is a person, how do the slides interpret the message?
a)
It requests the person to perform an action specified in the user manual
b)
It must trigger a public operation in a person class
c)
It is treated as a lost message because people are outside scope
d)
It must always be asynchronous with an explicit return
e)
It is replaced by an association between boundary and entity classes
97.
For messages sent to an external system, what modeling requirement is stated in the slides?
a)
Represent the external system as a class with appropriate operations that the message activates
b)
Model the external system only as an actor without any operations
c)
Remove external systems from interaction diagrams to reduce clutter
d)
Treat all external system messages as local calls on the sender
e)
Convert external system messages into derived attributes
98.
For messages sent to a GUI interface class, what do the slides say the request is directed to?
a)
Graphical elements such as fields or buttons rather than an operation
b)
A public operation whose name matches the message
c)
A dependency connection stereotyped as <<global>>
d)
A predecessor list that enforces synchronization
e)
A class attribute typed using a specific programming language
99.
According to the slides, private operations correspond to what kind of messages?
a)
Recursive messages sent to the same object, not messages from other objects
b)
Messages sent from boundary objects to control objects
c)
Asynchronous messages delivered through a queue
d)
Lost messages with unidentified receivers
e)
Messages that create new objects
100.
When adding types to attributes, parameters, and return values, which type categories are listed in the slides?
a)
Primitive types, user-defined types, and classes
b)
Only primitive types
c)
Only programming-language built-in types
d)
Only UI widget types
e)
Only database column types
101.
Why do the slides recommend avoiding programming-language-specific type names at this stage?
a)
Using general type names is more flexible before committing to a specific language
b)
Language-specific types are not allowed in UML diagrams
c)
General type names force synchronous messaging
d)
Language-specific types prevent entity classes from being discovered
e)
General type names eliminate the need for control classes
102.
If understanding between two objects is inherent and long-term, what kind of relationship does the slides say this expresses between their classes?
a)
An association
b)
A dependency
c)
A predecessor constraint
d)
A focus-of-control nesting
e)
A found message
103.
If understanding between two objects is newly provided via parameter passing or a return value, what relationship does the slides say this expresses?
a)
A dependency from A to B
b)
A two-way association between A and B
c)
A multi-object aggregation
d)
A self connection on A
e)
A derived attribute on B