Podcast
Questions and Answers
During which phase of the Systems Development Life Cycle (SDLC) are use cases primarily employed?
During which phase of the Systems Development Life Cycle (SDLC) are use cases primarily employed?
- Design
- Testing
- Implementation
- Analysis (correct)
A use case should detail the technical implementation and internal workings of the system.
A use case should detail the technical implementation and internal workings of the system.
False (B)
Which of the following best describes the role of a 'trigger' in a use case?
Which of the following best describes the role of a 'trigger' in a use case?
- The event that initiates the use case. (correct)
- A condition that must be true before the use case begins.
- The final state of the system after the use case completes.
- An alternative path that the use case can take.
A use case describes the system's activities from the ______'s perspective.
A use case describes the system's activities from the ______'s perspective.
Match the use case element with its corresponding description:
Match the use case element with its corresponding description:
What is the primary purpose of use cases in system analysis?
What is the primary purpose of use cases in system analysis?
Use cases are best suited for describing batch processes or computationally intensive applications.
Use cases are best suited for describing batch processes or computationally intensive applications.
Name two elements that a use case typically includes.
Name two elements that a use case typically includes.
In a casual use case format, which section describes the typical sequence of interactions between the actor and the system?
In a casual use case format, which section describes the typical sequence of interactions between the actor and the system?
__________ define the state that the system must be in before the use case commences.
__________ define the state that the system must be in before the use case commences.
Which of the following is NOT typically included in the basic information section of a use case?
Which of the following is NOT typically included in the basic information section of a use case?
Exceptions in a use case represent the normal branches in decision logic.
Exceptions in a use case represent the normal branches in decision logic.
What is the purpose of defining postconditions in a use case?
What is the purpose of defining postconditions in a use case?
Which of the following is a key characteristic of a fully-dressed use case format?
Which of the following is a key characteristic of a fully-dressed use case format?
Use cases are useful to clarify user requirements, but they primarily convey the user's ______ of view.
Use cases are useful to clarify user requirements, but they primarily convey the user's ______ of view.
Transforming the user's view into the developer's view is achieved through what?
Transforming the user's view into the developer's view is achieved through what?
Use cases are intended to be very technically detailed for developers.
Use cases are intended to be very technically detailed for developers.
What are the two values of the 'Type' attribute of a use case?
What are the two values of the 'Type' attribute of a use case?
In the 'Create a preliminary custom drone order' use case example, which of the following represents a postcondition?
In the 'Create a preliminary custom drone order' use case example, which of the following represents a postcondition?
In the 'Obtain shop manager approval for custom order' use case, the actor is the ______.
In the 'Obtain shop manager approval for custom order' use case, the actor is the ______.
Which of the following is a goal when creating use cases?
Which of the following is a goal when creating use cases?
Use cases are not used extensively in the analysis phase.
Use cases are not used extensively in the analysis phase.
What are two ways companies might extend the contents of use cases beyond what is considered standard?
What are two ways companies might extend the contents of use cases beyond what is considered standard?
Which of the following statements apply to 'Use Cases in Sequence'?
Which of the following statements apply to 'Use Cases in Sequence'?
In an event-driven model, everything in the system can be thought of as a response to some ______ event.
In an event-driven model, everything in the system can be thought of as a response to some ______ event.
Which statements about the characteristics of use cases are correct?
Which statements about the characteristics of use cases are correct?
When no events occur, a system is always busy processing data.
When no events occur, a system is always busy processing data.
List the four steps in creating use cases in order.
List the four steps in creating use cases in order.
Describe the information that should be included in 'Exceptions' section of a use case.
Describe the information that should be included in 'Exceptions' section of a use case.
In a casual use case format, the __________ indicates the relative significance of the use case.
In a casual use case format, the __________ indicates the relative significance of the use case.
Which element causes the use case to begin?
Which element causes the use case to begin?
Use Cases are not useful as input inform the development of test plans.
Use Cases are not useful as input inform the development of test plans.
What does the 'actor' element represent?
What does the 'actor' element represent?
In which situation you should use a Fully-Dressed Use Case?
In which situation you should use a Fully-Dressed Use Case?
The 'happy path' that occurs when everything goes as expected represents the __________ course.
The 'happy path' that occurs when everything goes as expected represents the __________ course.
Which of the following represents a precondition?
Which of the following represents a precondition?
Flow do not easily translate when creating process models.
Flow do not easily translate when creating process models.
Give an example of an external event.
Give an example of an external event.
What is defined by 'Postconditions'?
What is defined by 'Postconditions'?
Identify the major ______ within each use case.
Identify the major ______ within each use case.
Flashcards
What is a Use Case?
What is a Use Case?
A way a system interacts with its environment, showing activities performed by users and the system's responses.
Use Case Goal
Use Case Goal
A set of use cases describes all tasks users need to perform using the system.
Use Case Perspective
Use Case Perspective
Use cases describe system activities from the user's perspective, so they should involve users.
Event Trigger
Event Trigger
Signup and view all the flashcards
Event-Driven Modeling
Event-Driven Modeling
Signup and view all the flashcards
System at Rest
System at Rest
Signup and view all the flashcards
Trigger Event Occurs
Trigger Event Occurs
Signup and view all the flashcards
Use Case Purpose
Use Case Purpose
Signup and view all the flashcards
Functional Requirements
Functional Requirements
Signup and view all the flashcards
Analysis Phase Use
Analysis Phase Use
Signup and view all the flashcards
Text-Based Use Cases
Text-Based Use Cases
Signup and view all the flashcards
Model Creation
Model Creation
Signup and view all the flashcards
Use Case Basics
Use Case Basics
Signup and view all the flashcards
Use Case Actor
Use Case Actor
Signup and view all the flashcards
Use Case Trigger
Use Case Trigger
Signup and view all the flashcards
Event Trigger Types
Event Trigger Types
Signup and view all the flashcards
Use Case Exceptions
Use Case Exceptions
Signup and view all the flashcards
Use Case Preconditions
Use Case Preconditions
Signup and view all the flashcards
Use Case Postconditions
Use Case Postconditions
Signup and view all the flashcards
Fully-Dressed Use Case
Fully-Dressed Use Case
Signup and view all the flashcards
Use Case Info Gathering
Use Case Info Gathering
Signup and view all the flashcards
Creating Use Cases (steps)
Creating Use Cases (steps)
Signup and view all the flashcards
Study Notes
Use Case Analysis
- Use case analysis is used in the analysis phase of the SDLC
- Allows describing the various parts of a use case
- Contributes to functional requirements and development of test plans
What is a Use Case?
- Represents how a system interacts with its environment
- Illustrates the activities performed by users and the system's responses
- Creates a set of use cases describing tasks users perform using the system
- Describes system activities from the user's perspective and the interaction they have
- Describes how an event triggers actions performed by the system and the user
- In event-driven modeling, everything in the system is a response to a triggering event
- The system is at rest when there are no events
- When a trigger event occurs, the system responds and performs defined actions
Role of Use Cases
- Expresses and clarifies user requirements and interaction between user and system.
- Helps to fully describe functional requirements.
- Used extensively in the analysis phase in user interviews or JAD sessions.
- Text-based use cases are easy to understand, and they flow easily into the creation of process models and the data model.
- NOT useful in batch processes, computationally intensive applications, or data warehousing.
Elements of a Use Case
- Every use case has a name, number, and brief description
- Priority indicates the relative significance
- Actor is a person, another system, or hardware device that interacts with the system to achieve a goal or user role
- Trigger is the event that causes the use case to begin
- Events Triggers can be external or temporal
Sections of a Casual Use Case Format
- Content, format, and degree of formality can vary by organisation
- Typical sections include basic information, preconditions, normal course, postconditions, and exceptions
Normal Course for a Custom Drone Order
- Customer selects a base model drone from a list.
- System provides availability status for that model.
- If out of stock, the system displays the expected date.
- The customer proceeds to step 4 if they accept a future date otherwise they return to step 1.
- System displays a list of options and upgrades.
- Customer selects desired model options and upgrades
- A preliminary order with a cost estimate is created and displayed.
- Customer may return to step 4, confirm the order, save for future consideration, or exit without saving.
- Unconfirmed orders are stored; confirmed orders are saved, and the shop manager is notified for approval.
Exceptions
- Errors are included to complete use case
- Special situations or errors can occur with each step
Preconditions and Postconditions
- Preconditions define the state that the system must be in before the use case commences
- Postconditions define what is complete when this use case ends
- Example: Customer is authenticated/logged in and the Sales System Order Processing application is online
- Example: Unconfirmed/ Confirmed order is stored and shop manager sent notice of Confirmed Order requiring approval
Use Cases in Sequence
- Use cases are performed in sequence.
- No single use case should be too large.
- It's important to define initial and ending states.
Fully-Dressed Use Case Format
- Very thorough, detailed, and highly structured.
- Adds new sections, including alternative courses, inputs and outputs for steps and summary inputs and outputs.
- Some companies may include additional sections devoted to: Frequency of use, Business rules, Special requirements, Assumptions Notes and issues
Casual Use Case Format
- Customer selects and customizes a commercial drone for purchase
- Trigger is when the customer wants to purchase a commercial drone
- A customer is authenticated by logging into his account, and the Sales System Order Processing application is online
- Preconditions set up and the "normal" course is a customized drone order
How to use the Fully-Dressed format
- Users aren interacting throughout the entire project
- Project has high complexity and high risk associated with system failures and there are comprehensive test cases
- Remote collaborating teams need detailed, shared understanding of user needs.
Practical Tips
- Use gradual refinement
- Focus on describing the user's objectives
- Keep both audiences in mind – users and developers
- Create use cases only when needed to clarify what the system must do from the user's perspective
Use Cases and the Functional Requirements
- Use cases are useful tools to clarify user requirements
- Convey only the user's point of view
- Transforming the user's view into the developer's view is one of the system analyst's key contributions
Detailed Functional Requirements
- Used to create more complete and descriptive functional requirements
- The system displays a list of base drone models
- System accepts customer selection of base drone model
- The system displays in stock/out of stock status for selected drone model.
- The system displays optional features for the selected drone model
- System accepts user choices of options
- The system displays summary and price of selected drone configuration
- The system allows user to continue modifying the drone configuration, save the order for later, confirm the order, or exit without saving.
- For confirmed orders- a completed order summary is displayed for the customer, the order is stored in the Confirmed Custom order, and The system sends a notice of new Confirmed Custom order to the Shop Manager for approval
Creating Use Cases
- Common ways to gather information for the use cases are through interviews and JAD
- Steps include:
- Identify the major use cases
- Identify the major steps within each use case
- Identify elements within steps
- Confirm the use case with users through role-playing
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.