Chapter 5 SA Flashcards
(43 cards)
What is a use case?
A use case is a description of how users will interact with a system to achieve a specific goal.
True or False: Use cases are only applicable to software development.
False
Fill in the blank: A use case diagram visually represents the __________ and interactions between actors and the system.
use cases
What does an actor represent in use case modeling?
An actor represents a role played by a user or another system that interacts with the system being modeled.
What are the two main types of actors in use case modeling?
Primary actors and secondary actors.
Define ‘primary actor’.
A primary actor is the one that initiates the use case to achieve a goal.
Define ‘secondary actor’.
A secondary actor is one that provides a service or information to the primary actor.
What is the purpose of a use case diagram?
The purpose of a use case diagram is to provide a visual representation of the interactions between users and the system.
In a use case, what is a ‘scenario’?
A scenario is a specific sequence of actions and interactions between actors and the system for a particular use case.
What is the difference between a ‘use case’ and a ‘scenario’?
A use case describes a general interaction, while a scenario describes a specific instance of that interaction.
True or False: Use cases should describe all possible interactions in great detail.
False
What is the purpose of ‘include’ relationships in use cases?
Include relationships are used to factor out common behavior from multiple use cases.
What is an ‘extend’ relationship in use case modeling?
An extend relationship allows the behavior of a use case to be extended by another use case.
Which UML diagram is primarily used for use case modeling?
Use case diagram.
What notation is commonly used to represent actors in use case diagrams?
Stick figures.
What notation is used to represent use cases in use case diagrams?
Ovals.
What does a ‘system boundary’ represent in a use case diagram?
It represents the scope of the system being modeled.
How can use cases improve communication among stakeholders?
They provide a clear and shared understanding of system functionality.
True or False: Use cases can only be used in the requirements phase of development.
False
What is a ‘functional requirement’ in the context of use cases?
A functional requirement specifies what a system should do, often derived from use cases.
What is the main goal of use case modeling?
The main goal is to capture and define the functional requirements of a system.
Fill in the blank: Use case modeling helps in identifying __________ and their interactions with the system.
stakeholders
What is the importance of ‘preconditions’ in a use case?
Preconditions are conditions that must be true before a use case can be executed.
What are ‘postconditions’ in a use case?
Postconditions are conditions that must be true after the use case has been executed.