Software Requirements Analysis Chapter 3

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What type of event is triggered by a user logging into a system?

  • Internal Event
  • Temporal Event
  • External Event (correct)
  • State Event

Which event type is BEST described as occurring when a system receives a request from another system?

  • State Event
  • External Event (correct)
  • Internal Event
  • Temporal Event

A daily backup process that starts at midnight is an example of what type of event?

  • State Event
  • Temporal Event (correct)
  • External Event
  • System Event

An inventory system automatically reordering stock when the quantity falls below a set threshold is an example of which type of event?

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

Which event typically involves an interaction with something that is outside of the system?

<p>External Event (A)</p> Signup and view all the answers

What is the primary purpose of classifying potential users by their functional role?

<p>To group users with similar system usage needs. (A)</p> Signup and view all the answers

When identifying user goals for a new system, what should be considered?

<p>A combination of current goals and innovative functions. (D)</p> Signup and view all the answers

What is the main purpose of the Event Decomposition Technique?

<p>To recognize events that require a system response. (B)</p> Signup and view all the answers

According to the content, what constitutes an 'event' within the context of system analysis?

<p>An occurrence at a specific time and place, that can be described and should be remembered. (C)</p> Signup and view all the answers

What is the recommended approach once potential use cases are identified for the system?

<p>To review the use cases with all user types and stakeholders. (A)</p> Signup and view all the answers

What is the primary purpose of a use case in system analysis?

<p>To outline activities the system performs for a user. (D)</p> Signup and view all the answers

If the 'Who', 'What', and 'Why' of a project or story are not known, what is the most appropriate course of action?

<p>Postpone and obtain necessary understanding of the story. (D)</p> Signup and view all the answers

Which of the following is NOT a recommended technique for identifying use cases?

<p>Data Modeling Technique (A)</p> Signup and view all the answers

What is the standard format for naming a use case?

<p>Verb-Noun (D)</p> Signup and view all the answers

The user goal technique is initiated by:

<p>Interviewing users about tasks the system can help perform. (A)</p> Signup and view all the answers

What is the typical next step after interviewing users in the user goal technique?

<p>Refining tasks into specific user goals. (A)</p> Signup and view all the answers

What is the purpose of decomposing the system in the context of use cases?

<p>To break down the system into a set of use cases (D)</p> Signup and view all the answers

Which step immediately follows the identification of potential users in the user goal technique?

<p>Classifying users according to roles or categories (B)</p> Signup and view all the answers

Which of the following is the primary focus of use cases, as discussed in the provided content?

<p>Identifying and modeling key aspects of functional requirements. (C)</p> Signup and view all the answers

What is the main purpose of a user story?

<p>To describe a software feature from an end-user's perspective. (A)</p> Signup and view all the answers

In the user story template 'As a I want to so that ', what does the 'so that' part primarily emphasize?

<p>The value that the user derives from having the function. (D)</p> Signup and view all the answers

What is the purpose of 'acceptance criteria' in the context of user stories?

<p>To detail the features that must be present when the task is complete. (C)</p> Signup and view all the answers

Which of the following elements is NOT explicitly included in the user story template?

<p>The implementation deadline. (D)</p> Signup and view all the answers

What characteristic makes a user story more effective?

<p>The more specific about the user, the better the story. (B)</p> Signup and view all the answers

What does the 'I want to' section of a user story description primarily focus on?

<p>The user-driven goal that should be accomplished. (C)</p> Signup and view all the answers

In the context of user stories, why is it important to know who the story is for?

<p>To ensure that the software is usable and meets user needs. (A)</p> Signup and view all the answers

Which scenario best exemplifies an external event involving a customer?

<p>A customer purchases a new product. (B)</p> Signup and view all the answers

What is an example of an internal output needed at a specific point in time?

<p>Monthly management report. (A)</p> Signup and view all the answers

Which of the following is NOT categorized as an external event?

<p>Management generates a payroll report. (B)</p> Signup and view all the answers

Which scenario reflects a change in external data that needs updating?

<p>A customer changes their home address. (D)</p> Signup and view all the answers

Which of the following is a temporal output required by management?

<p>Detailed transaction reports. (C)</p> Signup and view all the answers

What type of output is a bill or statement categorized as?

<p>External output. (C)</p> Signup and view all the answers

Which of the following describes an instance where internal outputs are necessary?

<p>Management analyzing quarterly financial summaries. (C)</p> Signup and view all the answers

Which of the following captures the relationship between external agents and internal management needs?

<p>Internal management requires external data for reporting. (B)</p> Signup and view all the answers

What is the first step in the Event Decomposition Technique?

<p>Consider the external events in the system environment. (D)</p> Signup and view all the answers

Which type of events are specifically excluded from initial consideration according to the technique?

<p>Events involving system controls like login or logout. (D)</p> Signup and view all the answers

During the Event Decomposition process, state events should be identified in which step?

<p>Step 5 (A)</p> Signup and view all the answers

What is crucial to establish for each temporal event?

<p>Identify the corresponding use case and trigger point. (A)</p> Signup and view all the answers

What does the perfect technology assumption relate to in this process?

<p>Checking if events and use cases are necessary. (B)</p> Signup and view all the answers

When considering events inside the system, which type of events should be identified?

<p>Temporal and state events. (B)</p> Signup and view all the answers

What is essential to do when events and use cases are defined?

<p>Verify against the perfect technology assumption. (C)</p> Signup and view all the answers

Which of the following steps does NOT involve identifying use cases?

<p>Check events against the perfect technology assumption. (A)</p> Signup and view all the answers

Flashcards

External Event

An event that happens outside the system, usually triggered by an external source.

Temporal Event

An event triggered by a specific point in time.

State Event

An event happening inside the system that starts an action.

Use Case

A situation or scenario where a system performs a specific task.

Signup and view all the flashcards

Use Case Diagram

A description of the actions involved in a use case, showing the steps taken.

Signup and view all the flashcards

Identify Duplicates

The process of finding and eliminating duplicate entries in a dataset, particularly when these duplicates have similar purposes or functionalities. This helps ensure data consistency and accuracy.

Signup and view all the flashcards

Classify Users by Organizational Level

Process of categorizing potential users based on their roles within an organization (e.g., operations, management, executives). This helps tailor the system's functionalities to meet specific user needs.

Signup and view all the flashcards

Identify User Goals

Identifying the specific objectives a user aims to achieve by using a new system. This includes both existing needs and opportunities for enhanced features that add value.

Signup and view all the flashcards

Event

A significant event that triggers a system response. It's something specific that happens at a particular time and location, and the system must remember and react to it.

Signup and view all the flashcards

What is an example of an external event?

A request from a customer for specific details on a product is an external event.

Signup and view all the flashcards

Internal Output

Internal outputs are reports generated within the system, like management summaries or operational details.

Signup and view all the flashcards

When is an internal output event triggered?

An internal output event occurs when a report is generated at a specific time.

Signup and view all the flashcards

What are external outputs?

External outputs are like bills, reminders, and status reports sent outside of the system.

Signup and view all the flashcards

Why is a bill sent out an event triggered by time?

Events triggered by time are often related to deadlines, like sending out bills or statements.

Signup and view all the flashcards

What is transaction tracing?

Tracing a sequence of transactions helps understand the flow of events and their impact on the system.

Signup and view all the flashcards

How do multiple events occur?

Multiple events can occur as a result of a single transaction, creating a complex chain of interaction.

Signup and view all the flashcards

What is a use case?

An activity that the system executes, often in response to a user request.

Signup and view all the flashcards

What's the purpose of use cases?

The use cases define the system's functionalities. They are essential in understanding what the system should do.

Signup and view all the flashcards

What's 'functional decomposition'?

The process of breaking down a system into its individual use cases.

Signup and view all the flashcards

What is the user goal technique?

A technique used to identify use cases by focusing on the goals of users of the system.

Signup and view all the flashcards

What is the event decomposition technique?

A technique used to identify use cases by analyzing events that might trigger actions within the system.

Signup and view all the flashcards

How does the user goal technique work?

A technique used to identify use cases by asking users about the tasks they need the system to perform and then refining these tasks into specific goals.

Signup and view all the flashcards

What is a 'user list' in the context of use cases?

A list of potential users of the system, categorized by their roles or functions.

Signup and view all the flashcards

How can user stories be used to find use cases?

The process of identifying use cases based on real stories about the system's functionality.

Signup and view all the flashcards

Identifying Use Cases for External Events

Identifying the specific use case triggered by an external event.

Signup and view all the flashcards

Triggering Point for Temporal Events

Determining the exact point in time when a temporal event triggers a use case.

Signup and view all the flashcards

Identifying Use Cases for State Events

Identifying the use case triggered by a state event and the subsequent system state change.

Signup and view all the flashcards

Verifying Events and Use Cases

Verifying the necessity of identified events and use cases using the principle of perfect technology.

Signup and view all the flashcards

Excluding System Control Events

Excluding routine system management tasks like login, logout, password changes, and database restoration during event decomposition.

Signup and view all the flashcards

User Story

A short, simple description of a user's work-related task that aims to achieve a specific goal or result.

Signup and view all the flashcards

User Story Functionality

A sentence describing the user's desired functionality. It starts with 'I want to...' and explains what the user wants to achieve with the software.

Signup and view all the flashcards

User Story Value

A sentence explaining the user's motivation for using the software feature. It starts with 'so that...' and describes the benefit the user will gain.

Signup and view all the flashcards

User Story Template

A template used for creating user stories. It states: 'As a [user type], I want to [functionality] so that [value]' to describe the user, the desired feature, and its benefit.

Signup and view all the flashcards

Acceptance Criteria

Specific features that must exist within the system for the user story to be considered complete. They are usually written as a list of 'Given, When, Then' statements.

Signup and view all the flashcards

User Type in User Story

Describes the user category for whom the functionality is being developed. It helps to determine if the feature is being built for the right user.

Signup and view all the flashcards

Acceptance Criteria: Given

A section in the 'Given, When, Then' format that describes the initial state or condition of the system before the user's action.

Signup and view all the flashcards

Acceptance Criteria: When

A section in the 'Given, When, Then' format that describes the user's action that triggers the expected outcome.

Signup and view all the flashcards

Acceptance Criteria: Then

A section in the 'Given, When, Then' format that describes the expected outcome or result after the user's action.

Signup and view all the flashcards

Study Notes

Course Information

  • Course name: Software Requirements Analysis and Design
  • Course code: ACS2913
  • Instructor: David Tenjo
  • Semester: Fall 2022

Chapter 3 Outline

  • User Stories and Use Cases
  • Use Cases and the User Goal Technique
  • Use Cases and Event Decomposition
  • Use Cases in the Ridgeline Mountain Outfitters Case

Overview

  • Previous chapters covered systems analysis, functional and non-functional requirements, modeling, and information gathering techniques
  • This chapter focuses on use cases as a key aspect of functional requirements

User Stories

  • Tools used to describe software features from an end-user perspective
  • One-sentence description of a work-related task a user performs to achieve a goal
  • Acceptance criteria define features needed to complete the task successfully

User Story Description Template

  • Format: As a , I want to so that
  • Example: As a shipping clerk, I want to ship an order as accurately and quickly as possible so that orders are processed efficiently

User Story Acceptance Criteria Example

  • Available order details appear on screen when available
  • Portable display and scan device should cut order processing time in half
  • Items sorted by bin location to improve efficiency
  • Items not in stock are marked as backordered to avoid confusion.
  • Recommend the best carrier based on weight, size, and location.
  • Print out shipping labels for selected carriers

User Stories- Three Aspects

  • Who: The user role (detailed)
  • What: Desired functionality (goal)
  • Why: Value to the user (benefit)

Use Cases

  • Use case: An activity performed by the system in response to a user request
  • Use cases define functional requirements
  • Analysts use functional decomposition to break down the system into use cases
  • Two techniques for identifying use cases:
    • User goal technique
    • Event decomposition technique
  • Use verb-noun phrases to name each use case

Identifying Use Cases

  • Start with user stories or requirements
  • Choose between user goal or event decomposition techniques

User Goal Technique

  • Identify all potential user categories
  • Interview users to understand tasks
  • Refine tasks into specific user goals (e.g., Ship items, Track a shipment, Create a return)

User Goal Technique--Specific Steps

  • Identify all potential users for the system
  • Classify users by functional role (shipping, marketing, sales)
  • Further classify users by organizational level (operational, management, executive)
  • For each user type, identify goals when using a system

Event Decomposition Technique

  • More in-depth approach
  • Identify the events the system responds to
  • For each event, name a use case (verb-noun) that describes the system's action

Event Decomposition Technique--Specific Steps

  • Consider the external events
  • Consider the temporal events
  • Consider the state events

Types of Events

  • External events: Events outside the system (initiated by users, external sources)
  • Temporal events: Events related to time

External Event Checklist Examples

  • Customer buying a product
  • Customer wants to know product details
  • Customer has a new address and phone number

Temporal Event Checklist Examples

  • Management reports, operational reports
  • Internal statements, documents, and payroll

Finding the Actual Event

  • Illustrates choosing relevant events from a sequence of actions that directly affect the system

Tracing Sequence of Transactions

  • Traces transactions leading to various results (e.g., order requests, checking availability, placing orders)

Event Decomposition Technique--Benefits

  • Broader than user goals
  • Concentrates on temporal and state events
  • Helps with decomposing analysis to elementary business processes

Perfect Technology Assumption

  • Ignores technology limitations during initial analysis
  • Focus on user functionality

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Systems Analysis and Design
5 questions

Systems Analysis and Design

SensibleGreenTourmaline9659 avatar
SensibleGreenTourmaline9659
User Stories and INVEST Principle
14 questions
Use Cases vs User Stories
13 questions
Use Quizgecko on...
Browser
Browser