1.
What are the basic elements of a Use Case Diagram?
Correct Answer(s)
A. Actors
B. Relationships
C. Use Cases
Explanation
A Use Case Diagram is a visual representation of the interactions between actors (users or external systems), use cases (specific tasks or actions), and relationships (connections between actors and use cases). The diagram helps to depict the functionality of a system and how different elements interact with each other. Actors represent the different roles that interact with the system, relationships depict the associations between actors and use cases, and use cases represent the specific actions or tasks that the system performs. Classes, scenarios, and activities are not basic elements of a Use Case Diagram.
2.
An Extend is a relationship between two use cases showing that one use case can take longer to execute then the other use case.
Correct Answer
B. False
Explanation
The given statement is false. An Extend relationship in use case modeling actually represents a scenario where one use case adds optional behavior to another use case. It allows for the modularization and reusability of common behavior across multiple use cases. It does not indicate that one use case takes longer to execute than the other.
3.
When creating a use case diagram, each use case must have a direct relationship to at least one actor.
Correct Answer
B. False
Explanation
In a use case diagram, each use case does not necessarily have to have a direct relationship with at least one actor. Use cases can be related to other use cases or can be independent as well. Therefore, the statement is false.
4.
Use case are means of capturing the requirements of a system and they specify what a system is supposed to be able to do.
Correct Answer
A. True
Explanation
The statement is true because use cases are indeed a means of capturing the requirements of a system. Use cases describe the interactions between users and the system, outlining the desired functionality and behavior of the system. They help in understanding the system's purpose, defining its boundaries, and identifying the key functionalities it should possess. By documenting use cases, stakeholders can have a clear understanding of what the system is expected to do and ensure that it meets the desired requirements.
5.
Which UML diagram below can not be used to illustrate the detailed behavior of a use case?
Correct Answer
C. Class Diagram
Explanation
A class diagram is a static UML diagram that represents the structure and relationships of classes in a system, rather than the dynamic behavior of use cases. It is used to illustrate the static design of a system, including classes, attributes, methods, and their relationships. On the other hand, activity diagrams and sequence diagrams are dynamic UML diagrams that depict the flow of activities and interactions between objects, making them suitable for illustrating the detailed behavior of a use case. Therefore, a class diagram cannot be used to illustrate the detailed behavior of a use case.
6.
Which of the following statements are applicable to an Actor in a Use Case Diagram?
Correct Answer(s)
B. An Actor is represented in the use case diagram with a "stickman" icon
D. An Actor specifies a role played by a user or an external system that interacts with the system being depicted.
Explanation
An Actor in a Use Case Diagram is represented with a "stickman" icon and specifies a role played by a user or an external system that interacts with the system being depicted. This means that the actor can be any entity outside the system, such as a user or another system, and it represents the role or responsibility that entity has in interacting with the system. The use case diagram is a visual representation of the interactions between actors and use cases, and the "stickman" icon is commonly used to represent actors in this diagram.
7.
When creating a use case diagram, each use case must have a direct relationships to at least one actor.
Correct Answer
B. False
Explanation
In a use case diagram, each use case does not necessarily have to have a direct relationship with at least one actor. Use cases can be related to other use cases through associations or generalizations. Therefore, the statement is false.
8.
A Use Case is depicted graphically by the following system:
Correct Answer
D. Oval
9.
In the following diagram, which use case can not stand alone but is incorporated in the behavior of another use case?
Correct Answer
E. H
Explanation
Use case H cannot stand alone but is incorporated in the behavior of another use case.
10.
In the following diagram, which actors could trigger the behavior of use cases F and G?
Correct Answer(s)
A. C
C. B
Explanation
Actors C and B could trigger the behavior of use cases F and G because in the diagram, use cases F and G are connected to actors C and B respectively. This indicates that these actors have the ability to initiate or interact with the functionality represented by use cases F and G. The other actors listed (A, K, J, L) are not connected to either use case F or G, suggesting that they do not have a direct involvement in triggering their behavior.
11.
In the following diagram, which actors cannot invoke the behavior of any use case?
Correct Answer(s)
A. K
B. J
F. L
Explanation
Actors K, J, and L cannot invoke the behavior of any use case because they are not connected to any use case in the diagram. Actors B, C, and A are connected to at least one use case, so they can invoke the behavior of those use cases. Therefore, the actors that cannot invoke the behavior of any use case are K, J, and L.
12.
Select the best name for a use case from the following options:
Correct Answer
A. Enroll Student
Explanation
The best name for a use case would be "Enroll Student" as it clearly and concisely describes the action being performed. The other options either do not accurately describe the use case or are not in a proper naming format for a use case.
13.
The generalization relationshio shows:
Correct Answer
A. One use case inherits the behavior of another use case
Explanation
The correct answer is that one use case inherits the behavior of another use case. This means that one use case can reuse or extend the behavior of another use case, allowing for modular and reusable design. Inheritance promotes code reuse and helps to avoid duplication of functionality.
14.
The <<include>> relationship shows:
Correct Answer
A. Behavior of one use case that does not stand alone but is incorporated as part of some larger use case
Explanation
The relationship shows the behavior of one use case that is incorporated as part of some larger use case. This means that the included use case cannot stand alone and is dependent on the larger use case for its execution. It represents a modular approach where a common behavior is extracted from multiple use cases and included in a single use case to avoid duplication and improve reusability.
15.
A use case specification contains which of the following components?
Correct Answer(s)
A. Use Case Name
C. Failure Conditions
D. Actors
Explanation
A use case specification typically includes the use case name, failure conditions, and actors involved in the use case. The use case name is important as it provides a clear and concise description of the specific use case being documented. Failure conditions outline the potential scenarios or situations where the use case may fail or encounter errors. Actors refer to the individuals or entities that interact with the system being described in the use case. These components are essential in accurately documenting and understanding the use case.
16.
Identify the correct statement(s)
Correct Answer(s)
B. Customer executes Open Account
C. Bank Employee executes Open Account
Explanation
The correct statement is that both the NRFC customer and the bank employee can execute an Open Account. This means that either the NRFC customer or the bank employee can initiate and carry out the process of opening an account.
17.
In the following diagram, which actors could invoke the behavior of at least one use case?
Correct Answer(s)
A. A
D. C
F. B
Explanation
Actors A, C, and B could invoke the behavior of at least one use case. This means that these actors have a direct involvement in the system and can initiate or participate in the use cases. Actors L, K, and J are not mentioned in the answer, so they may not have any direct involvement in the use cases. The "None" option indicates that there are no actors who can invoke the behavior of any use case, but this is not the correct answer in this case.
18.
Select the best name for an actor from the following options:
Correct Answer
E. Student
Explanation
The correct answer is "Student" because it is the most suitable name for an actor. The other options are either unrelated or do not make sense in the context of an actor. "Student()" is not a valid name for an actor as it includes parentheses, which are typically used for functions or methods. "Enroll Student" and "Enroll Immediately" are phrases rather than names. Therefore, "Student" is the best option for an actor's name.
19.
Which of these statements are truly acceptable?
Correct Answer
C. Trigger is an event which cause a use case to begin
Explanation
A trigger is an event that initiates or starts a use case. It can be seen as the catalyst that sets the use case into motion. When a trigger occurs, it prompts the use case to begin its execution. This statement correctly defines the concept of a trigger in the context of use cases.
20.
Which template below would be best suited to name actors:
Correct Answer
C. [noun]
Explanation
The template best suited to name actors is [noun]. This is because actors are typically referred to by their names, which are nouns. Using a noun template allows for the straightforward identification and recognition of actors.