Chapter 4 - Use Case Analysis Flashcards
What is a use case?
A use case is a document that depicts a set of activities that, when performed, produce a result. It shows how a system interacts with its environment by illustrating the activities that are performed by the users, and then the system’s response to those activities.
Use cases help us better understand how a process works, and how the user interacts with that process.
In what phase are use cases used?
Use cases are used in the analysis phase.
What is event-driven modeling?
Event-driven modeling is a modelling principle where everything in a system operates as a response to some triggering event. When there are no events, the system is at rest. Use cases operate on this principle.
What are the basic elements of a use case?
There are numerous elements in a use case:
- Basic Information
- Use Case Name
- Use Case Number
- Priority
- Trigger (The event that causes the use case to happen)
In a use case, what are preconditions?
Preconditions in a use case define what state the system must be in before the use case can begin.
In a use case, what is the actor?
In a use case, the actor is the person or thing that interacts with the system.
In a use case, what is the normal course?
The normal course in a use case is where the major steps are listed. These steps are listed with their inputs or outputs in a column to the right, with arrows indicating whether they are inputs out outputs.
In a use case, what are alternative courses?
In a use case, alternative courses are depictions of alternate paths that could be taken from the steps in the normal course that would still end in a successful completion of the use case.
In a use case, what are postconditions?
In a use case, postconditions are how the system environment should be after a successful completion of the use case. It defines the “product” of the use case, to a degree.
In a use case, what are exceptions?
Exceptions in a use case are error conditions that may occur as the use case steps are performed. They would prevent the successful completion of the use case.
What should be the final section of a use case?
The final section of a use case should be the inputs and outputs.
What are some examples of additional sections that might be added to use cases?
Some additional sections that can be added to use cases are:
- Frequency of Use
- Business Rules
- Special Requirements
- Assumptions
- Notes and Issues
What is a “fully-dressed” use case?
A fully-dressed use case is one that is exceptionally thorough, detailed, and highly structured.
What is the difference between a use case and a functional requirement?
Use cases are only able to convey the user’s point of view, whereas a functional requirement looks at the system through the developer’s eyes, giving more detail as to what the system should do.
How do use cases and testing mesh?
Use cases and testing mesh easily. Use cases can be studied early on to determine and create tests for the system later on.