Deck 11: Use Case Realizations
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/70
العب
ملء الشاشة (f)
Deck 11: Use Case Realizations
1
The first-cut DCD includes method signatures.
False
2
The perfect solution assumption means that we do not worry about exception conditions.
True
3
The perfect technology assumption means not to worry about issues such as user security.
True
4
There are two preferred methods to accessing the database.One is to have newly instantiated object call the data access object.The other is to let the controller access the data access object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
5
The starting point for the detailed design of a use case is always the SSD.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
6
A loop or repeating message or messages in a sequence diagram is depicted by a rectangle box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
7
Dependency relationships cannot exist between classes within packages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
8
The first-cut sequence diagram contains view layer and business layer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
9
The code "if (someObject == null)" is part of the factory pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
10
The perfect memory assumption means that there is always adequate memory to execute the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
11
The controller object is usually part of view layer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
12
Since updating a design class diagram is done after the use case realization is complete,visibility information is no longer necessary.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
13
Separation of responsibilities is a design principle which dictates that reading a database should not be done in a problem domain class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
14
Design class diagrams and interaction diagrams should be developed independent of each other.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
15
The activation lifeline is depicted by a vertical dashed line under an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
16
What is the least cohesive approach in creating use case controllers in a system?
A)Define a single controller for all use cases."
B)Define several controllers, each with a specific set of responsibilities"
C)Create a single controller for a single subsystem"
D)Create one controller per use case"
A)Define a single controller for all use cases."
B)Define several controllers, each with a specific set of responsibilities"
C)Create a single controller for a single subsystem"
D)Create one controller per use case"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
17
System designers frequently create a class called a ____ that can serve as a collection point for incoming messages.
A)switchboard"
B)message controller"
C)use case controller"
D)message collector"
A)switchboard"
B)message controller"
C)use case controller"
D)message collector"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
18
Adding a use case controller to a sequence diagram is an example of applying a design pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
19
The realization of a use case-determining what objects collaborate by sending messages to each other to carry out the use case-is done through the development of a(n)____ diagram.
A)system sequence"
B)package"
C)interaction"
D)design class"
A)system sequence"
B)package"
C)interaction"
D)design class"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
20
The best technique for accessing the database when multiple objects are needed is just to let the data access object instantiate objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following symbols is used in a communication diagram,but not in a sequence diagram?
A)Message arrow"
B)Object"
C)Activation lifeline"
D)Link"
A)Message arrow"
B)Object"
C)Activation lifeline"
D)Link"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following is an example of an interaction diagram?
A)Design class diagram"
B)Data access diagram"
C)Package diagram"
D)Communication diagram"
A)Design class diagram"
B)Data access diagram"
C)Package diagram"
D)Communication diagram"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
23
What is the first step in constructing a first-cut sequence diagram from the elements of the system sequence diagram (SSD)?
A)Determine which messages must be sent"
B)Create a use case controller"
C)Replace the :System object with all the objects that must collaborate"
D)Select an input message from the use case"
A)Determine which messages must be sent"
B)Create a use case controller"
C)Replace the :System object with all the objects that must collaborate"
D)Select an input message from the use case"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
24
Communication diagrams indicates the order of the messages with ____.
A)sequence numbers"
B)activation lifelines"
C)arrows"
D)links"
A)sequence numbers"
B)activation lifelines"
C)arrows"
D)links"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
25
The perfect technology assumption implies that _______.
A)the equipment will work without any problems"
B)the users understand the technology"
C)issues related to technology are ignored"
D)issues related to scalability (high volumes) are ignored"
A)the equipment will work without any problems"
B)the users understand the technology"
C)issues related to technology are ignored"
D)issues related to scalability (high volumes) are ignored"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
26
The primary models used for OO detailed design are ____ diagrams.
A)design class and statechart"
B)package and statechart"
C)package and deployment"
D)design class and interaction"
A)design class and statechart"
B)package and statechart"
C)package and deployment"
D)design class and interaction"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following is NOT a component of the design pattern template?
A)Problem that requires a solution"
B)Example of the pattern"
C)Description of when the pattern does not apply"
D)Consequences of the pattern"
A)Problem that requires a solution"
B)Example of the pattern"
C)Description of when the pattern does not apply"
D)Consequences of the pattern"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
28
When denoting a specific object in a sequence diagram,a ____ serves as the divider between the object name and the specific object identifier.
A)double colon"
B)colon"
C)dash"
D)dot"
A)double colon"
B)colon"
C)dash"
D)dot"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following is NOT a valid technique to return data from an input message?
A)A return object name"
B)A return message"
C)A return value on an input message"
D)A return condition name"
A)A return object name"
B)A return message"
C)A return value on an input message"
D)A return condition name"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
30
When a message is sent from an originating object to a destination object it means that ______.
A)data is being passed from the origin object to the destination object"
B)a transition is occurring between the objects"
C)a method is being invoked on the originating object"
D)a method is being invoked on the destination object"
A)data is being passed from the origin object to the destination object"
B)a transition is occurring between the objects"
C)a method is being invoked on the originating object"
D)a method is being invoked on the destination object"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
31
The following notation "anOrd:Order" can be interpreted as follows:
A)Order is a class.anOrd is the identifier of an object in the class"
B)Order is an object.anOrd is the identifier for that order"
C)Order is a class.anOrd is an object in that class"
D)Order is an object.anOrd is the reference to that object"
A)Order is a class.anOrd is the identifier of an object in the class"
B)Order is an object.anOrd is the identifier for that order"
C)Order is a class.anOrd is an object in that class"
D)Order is an object.anOrd is the reference to that object"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
32
User interface objects in a sequence diagram often are labeled with the stereotype ____.
A)entity"
B)view or boundary"
C)control"
D)persistent"
A)entity"
B)view or boundary"
C)control"
D)persistent"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
33
Which is the correct notation for a message label on a sequence diagram?
A)* [true/false]RetVal := name (param)"
B)[true/false]RetVal == name (param)"
C)[true/false]seq# RetVal := name (param)"
D)* [true/false] seq# Retval := name (param)"
A)* [true/false]RetVal := name (param)"
B)[true/false]RetVal == name (param)"
C)[true/false]seq# RetVal := name (param)"
D)* [true/false] seq# Retval := name (param)"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
34
____ methods must be included in a design class diagram.
A)Constructor"
B)Use case specific"
C)Getter"
D)Setter"
A)Constructor"
B)Use case specific"
C)Getter"
D)Setter"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
35
When a use case controller receives the initial request for an inquiry when the data access layer is added,it first ____.
A)begins the process to initialize the necessary objects in memory"
B)sends a message to the database to see if it is available"
C)sends a message to the appropriate data access object to retrieve the data"
D)sends a return message to the view layer"
A)begins the process to initialize the necessary objects in memory"
B)sends a message to the database to see if it is available"
C)sends a message to the appropriate data access object to retrieve the data"
D)sends a return message to the view layer"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
36
The final step in the object-oriented design (OOD)process consists of developing the ____.
A)attributes of the design classes"
B)method names of the design classes"
C)interaction diagrams"
D)package diagrams"
A)attributes of the design classes"
B)method names of the design classes"
C)interaction diagrams"
D)package diagrams"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
37
Developing a(n)____ diagram is a multistep process of determining which objects work together and how they work together.
A)design class"
B)interaction"
C)state machine"
D)package"
A)design class"
B)interaction"
C)state machine"
D)package"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
38
In a sequence when one assumes that the objects are already available to receive messages,that is considered to be the _______.
A)perfect technology assumption"
B)perfect memory assumption"
C)perfect solution assumption"
D)perfect design assumption"
A)perfect technology assumption"
B)perfect memory assumption"
C)perfect solution assumption"
D)perfect design assumption"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
39
____ diagrams partition a design class diagram into related functions.
A)Statechart"
B)Sequence"
C)Interaction"
D)Package"
A)Statechart"
B)Sequence"
C)Interaction"
D)Package"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which design model provides information for a design class diagram?
A)Deployment diagram"
B)Interaction diagram"
C)Statechart diagram"
D)Package diagram"
A)Deployment diagram"
B)Interaction diagram"
C)Statechart diagram"
D)Package diagram"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
41
Data access layer classes should ____.
A)process all business rules with appropriate logic"
B)accept input data"
C)display data fields"
D)contain Structure Query Language (SQL) statements"
A)process all business rules with appropriate logic"
B)accept input data"
C)display data fields"
D)contain Structure Query Language (SQL) statements"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
42
A type of interaction diagram that emphasizes the order of the messages between objects for a specific use case is called a(n)________ diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
43
______________________________ is a design principle in which analysts divide or segregate classes into several highly cohesive classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
44
The customer relationship system needs to instantiate a new customer object.How should this be done?
A)Let the factory object do it."
B)Let the view layer object do it."
C)Let the controller object do it."
D)Let another business object do it."
A)Let the factory object do it."
B)Let the view layer object do it."
C)Let the controller object do it."
D)Let another business object do it."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
45
Domain layer classes should ____.
A)prepare persistent classes for storage to the database"
B)start up and shut down the system"
C)edit and validate input data"
D)establish and maintain connections to the database"
A)prepare persistent classes for storage to the database"
B)start up and shut down the system"
C)edit and validate input data"
D)establish and maintain connections to the database"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
46
A type of interaction diagram that does not have activation lifelines is called a ____________ diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
47
View layer classes should do all of the following EXCEPT _______.
A)capture clicks and data entry"
B)start and shut down the system"
C)create problem domain classes"
D)display forms"
A)capture clicks and data entry"
B)start and shut down the system"
C)create problem domain classes"
D)display forms"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
48
Problem domain classes that must be remember between program execution are called ______ classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
49
The _________________ pattern is a based on a class that helps to decouple the view layer from the business logic layer by receiving all input messages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
50
A different implementation of a function is required in an existing system.The best way to integrate this function into the system is ______
A)to write the code in a new class"
B)to write the code in an existing class"
C)with the factory pattern"
D)with the adapter pattern"
A)to write the code in a new class"
B)to write the code in an existing class"
C)with the factory pattern"
D)with the adapter pattern"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
51
Use case ____________________ is the process of detail design for a particular use case by elaborating the messages that are necessary to execute the use case.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
52
In a communication diagram,a(n)____________________ is used to show that two items share a message.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
53
The ___________________ sequence diagram only contains problem domain objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
54
Given the following code,identify the pattern.
Class MyBuilder
{ static MyBuilder builder = null;
{ if builder == null {builder = new MyBuilder( );
Return builder;
}
A)Factory Pattern"
B)Singleton Pattern"
C)Factory Method Pattern"
D)Adapter Pattern"
Class MyBuilder
{ static MyBuilder builder = null;
{ if builder == null {builder = new MyBuilder( );
Return builder;
}
A)Factory Pattern"
B)Singleton Pattern"
C)Factory Method Pattern"
D)Adapter Pattern"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
55
A dashed arrow represents a(n)_______ relationship in a package diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
56
Standard design techniques and templates that are recognized as good practice are called _________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
57
The ________________ DCD usually contains no method signatures,but does contain navigation visibility.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
58
A type of interaction diagram that emphasizes the objects that send and receive messages for a specific use case is called a(n)_______ diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
59
A representation of a period during which a method of an object is alive and executing is called its _______.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
60
A labeled arrow between lifelines on a sequence diagram is called a(n)_______________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
61
A type of diagram that is used to define groups of classes as a subsystem is called a _______________ diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
62
What considerations should be taken into account when choosing the type of interaction diagram for a system design model?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
63
Describe the three basic guideline steps for creating the messages in the first cut sequence diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
64
The _______________ pattern is used to instantiate objects as a service.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
65
The _____________ pattern can be used to connect two disparate systems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
66
How has the differences between programming languages and database languages driven the trend to a multilayer design?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
67
The _____________ layer contains the user interface classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
68
List and briefly describe the five parts included in the description of a design pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
69
A pattern that ensures that it only instantiates itself one time is called the _____________ pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
70
_________________________ are relationships among elements that indicate which elements affect other elements in a system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck