Use Case Analysis in SDLC

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

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.

False (B)

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.

<p>user</p> Signup and view all the answers

Match the use case element with its corresponding description:

<p>Actor = Entity (user, system, hardware) that interacts with the system. Trigger = Event that initiates the use case. Precondition = Condition that must be true before the use case begins. Postcondition = State of the system after the use case is completed.</p> Signup and view all the answers

What is the primary purpose of use cases in system analysis?

<p>To clarify and express user requirements. (D)</p> Signup and view all the answers

Use cases are best suited for describing batch processes or computationally intensive applications.

<p>False (B)</p> Signup and view all the answers

Name two elements that a use case typically includes.

<p>Name, Number, Description, Priority, Actor, Trigger</p> Signup and view all the answers

In a casual use case format, which section describes the typical sequence of interactions between the actor and the system?

<p>Normal Course (A)</p> Signup and view all the answers

__________ define the state that the system must be in before the use case commences.

<p>Preconditions</p> Signup and view all the answers

Which of the following is NOT typically included in the basic information section of a use case?

<p>Frequency of Use (D)</p> Signup and view all the answers

Exceptions in a use case represent the normal branches in decision logic.

<p>False (B)</p> Signup and view all the answers

What is the purpose of defining postconditions in a use case?

<p>To define what is complete when the use case ends</p> Signup and view all the answers

Which of the following is a key characteristic of a fully-dressed use case format?

<p>Highly structured and detailed. (A)</p> Signup and view all the answers

Use cases are useful to clarify user requirements, but they primarily convey the user's ______ of view.

<p>point</p> Signup and view all the answers

Transforming the user's view into the developer's view is achieved through what?

<p>Creating Functional Requirements. (C)</p> Signup and view all the answers

Use cases are intended to be very technically detailed for developers.

<p>False (B)</p> Signup and view all the answers

What are the two values of the 'Type' attribute of a use case?

<p>External and Temporal</p> Signup and view all the answers

In the 'Create a preliminary custom drone order' use case example, which of the following represents a postcondition?

<p>Unconfirmed order is stored in Unconfirmed Custom Order datastore. (D)</p> Signup and view all the answers

In the 'Obtain shop manager approval for custom order' use case, the actor is the ______.

<p>shop manager</p> Signup and view all the answers

Which of the following is a goal when creating use cases?

<p>describe all the tasks that users need to perform using the system (A)</p> Signup and view all the answers

Use cases are not used extensively in the analysis phase.

<p>False (B)</p> Signup and view all the answers

What are two ways companies might extend the contents of use cases beyond what is considered standard?

<p>Frequency of use, Business rules, Special requirements, Assumptions, Notes and issues</p> Signup and view all the answers

Which of the following statements apply to 'Use Cases in Sequence'?

<p>It is important to define initial and ending states. (A)</p> Signup and view all the answers

In an event-driven model, everything in the system can be thought of as a response to some ______ event.

<p>triggering</p> Signup and view all the answers

Which statements about the characteristics of use cases are correct?

<p>Text-based use cases are easy for the users to understand. (A)</p> Signup and view all the answers

When no events occur, a system is always busy processing data.

<p>False (B)</p> Signup and view all the answers

List the four steps in creating use cases in order.

<p>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</p> Signup and view all the answers

Describe the information that should be included in 'Exceptions' section of a use case.

<p>describe any error conditions or exceptions (A)</p> Signup and view all the answers

In a casual use case format, the __________ indicates the relative significance of the use case.

<p>priority</p> Signup and view all the answers

Which element causes the use case to begin?

<p>trigger (B)</p> Signup and view all the answers

Use Cases are not useful as input inform the development of test plans.

<p>False (B)</p> Signup and view all the answers

What does the 'actor' element represent?

<p>a person, another system, or a hardware device that interacts with the system to achieve a useful goal</p> Signup and view all the answers

In which situation you should use a Fully-Dressed Use Case?

<p>Remote collaborating teams need detailed, shared understanding of user needs. (D)</p> Signup and view all the answers

The 'happy path' that occurs when everything goes as expected represents the __________ course.

<p>normal</p> Signup and view all the answers

Which of the following represents a precondition?

<p>The Sales System Order Processing application is online (C)</p> Signup and view all the answers

Flow do not easily translate when creating process models.

<p>False (B)</p> Signup and view all the answers

Give an example of an external event.

<p>A customer places an order</p> Signup and view all the answers

What is defined by 'Postconditions'?

<p>what is complete when this use case ends (D)</p> Signup and view all the answers

Identify the major ______ within each use case.

<p>steps</p> Signup and view all the answers

Flashcards

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

A set of use cases describes all tasks users need to perform using the system.

Use Case Perspective

Use cases describe system activities from the user's perspective, so they should involve users.

Event Trigger

Each use case details how an event triggers actions by the system and the user.

Signup and view all the flashcards

Event-Driven Modeling

Everything in the system responds to some triggering event.

Signup and view all the flashcards

System at Rest

The system waits patiently, at rest, for an event to trigger it.

Signup and view all the flashcards

Trigger Event Occurs

The system responds, performs actions, and returns to the waiting state.

Signup and view all the flashcards

Use Case Purpose

Use cases define the expected interaction between user and system.

Signup and view all the flashcards

Functional Requirements

Use cases describe functional requirements more fully.

Signup and view all the flashcards

Analysis Phase Use

Use cases are used extensively in the analysis phase, often in interviews or JAD sessions.

Signup and view all the flashcards

Text-Based Use Cases

Use cases are easy for users to understand as text-based descriptions.

Signup and view all the flashcards

Model Creation

Use cases flow easily into the creation of process models and data models.

Signup and view all the flashcards

Use Case Basics

Use cases have a name, number, and brief description.

Signup and view all the flashcards

Use Case Actor

The actor is a person, system, or device that interacts with the system.

Signup and view all the flashcards

Use Case Trigger

The event that starts the use case.

Signup and view all the flashcards

Event Trigger Types

Event triggers for a use case can be external or temporal.

Signup and view all the flashcards

Use Case Exceptions

A use case should describe any error conditions or exceptions to be complete.

Signup and view all the flashcards

Use Case Preconditions

Preconditions define the state the system must be in before the use case starts.

Signup and view all the flashcards

Use Case Postconditions

Postconditions define what is complete when the use case ends.

Signup and view all the flashcards

Fully-Dressed Use Case

A structured Use Case format used when detail is needed; comprehensive test cases based on user needs.

Signup and view all the flashcards

Use Case Info Gathering

Gather information for use cases through interviews and JAD sessions.

Signup and view all the flashcards

Creating Use Cases (steps)

Identify major use cases, steps, elements, confirm with users.

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.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser