Use Case Diagrams Overview

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 distinguishes a state event from a temporal event?

  • A state event has a predictable duration.
  • A state event occurs due to external factors.
  • A state event can be defined by a specific point in time.
  • A state event is triggered by an internal change within the system. (correct)

Which of the following best describes an actor in the context of use-case notations?

  • An actor is a specific action taken by the system.
  • An actor is an internal component of the system controlling processes.
  • An actor exclusively refers to software applications interacting with the system.
  • An actor represents a user or an external entity that interacts with the system. (correct)

What do use cases primarily illustrate?

  • The timeframes within which system processes must occur.
  • The functionalities and interactions of users with a system. (correct)
  • The design and architecture of system components.
  • The limitations and constraints of a system.

How does the identification of use cases begin?

<p>By considering process-oriented functional requirements. (D)</p> Signup and view all the answers

Which of the following is NOT a type of use case mentioned?

<p>User use case (B)</p> Signup and view all the answers

What defines a use case's story?

<p>The interactions between actors and the system. (D)</p> Signup and view all the answers

Which component is essential for defining functional requirements of a system?

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

Which statement is true regarding state events?

<p>They initiate a sequence of actions from the system. (A)</p> Signup and view all the answers

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

<p>To capture the functional requirements of a system (A)</p> Signup and view all the answers

What defines an external event?

<p>An event initiated by an external actor (B)</p> Signup and view all the answers

Which of the following best describes an elementary business process (EBP)?

<p>A task performed by one person in response to a business event (D)</p> Signup and view all the answers

Which statement is true regarding temporal events?

<p>They occur based on a deadline in time (A)</p> Signup and view all the answers

What role does an actor play in relation to a use case?

<p>An actor represents a role played by a user concerning the system (D)</p> Signup and view all the answers

How do use cases and scenarios relate to each other?

<p>Use cases contain multiple scenarios tied to common goals (A)</p> Signup and view all the answers

Why is analyzing domain classes necessary in system design?

<p>To identify classes needed within the system (B)</p> Signup and view all the answers

What is the first action taken by the Customer in the rental process?

<p>Arrives at checkout with rental items (D)</p> Signup and view all the answers

What does the Clerk do after receiving the membership identification from the Customer?

<p>Presents the membership information and status of loans (B)</p> Signup and view all the answers

What occurs after the Clerk records the item identification into the system?

<p>The system presents an accumulating list of rental titles (B)</p> Signup and view all the answers

If a credit payment is used, which step must occur before completing the transaction?

<p>The Clerk authorizes the credit payment (B)</p> Signup and view all the answers

What happens if the Customer has unpaid late charges and refuses to pay them?

<p>The transaction is canceled or rental items are deducted (C)</p> Signup and view all the answers

Which of the following is NOT a responsibility of the Clerk during the rental process?

<p>Managing Customer memberships (D)</p> Signup and view all the answers

What does the Clerk provide to the Customer after the transaction is completed?

<p>Receipt and loan report (C)</p> Signup and view all the answers

During what phase of the rental process does the Customer present their membership identification?

<p>At the initiation of the rental (A)</p> Signup and view all the answers

What must be included in the functional requirements of a system?

<p>The actions involving information and time triggers (A)</p> Signup and view all the answers

Which best describes a use case description?

<p>A step-by-step breakdown of interaction between actor and system (D)</p> Signup and view all the answers

In the 'buy a product' scenario, what information does the customer need to provide when paying?

<p>Shipping and credit card information (A)</p> Signup and view all the answers

What happens if credit card authorization fails in the buying process?

<p>The sale is not confirmed and the customer is notified (A)</p> Signup and view all the answers

What is typically included in a written use case?

<p>Detailed specifications for a use case (D)</p> Signup and view all the answers

What does the generalization relationship in use cases represent?

<p>It shows one use case providing additional functionality over a more general use case. (A)</p> Signup and view all the answers

What is the role of the actor in a use case diagram?

<p>The individual or entity interacting with the system (D)</p> Signup and view all the answers

Why should use case names be kept simple?

<p>To avoid confusion and ensure clarity in accomplishing user goals. (D)</p> Signup and view all the answers

Which of the following describes exceptional flows in use case modeling?

<p>They represent seldom invoked cases that are factored out for clarity. (A)</p> Signup and view all the answers

In the step-by-step breakdown of assigning staff to a campaign, what is the first action of the actor?

<p>Enters the client name (D)</p> Signup and view all the answers

What does the system do after the actor selects the relevant campaign?

<p>Displays a list of all staff members not already allocated to the campaign (D)</p> Signup and view all the answers

In what scenario is it typically unnecessary to include the 'Start Up' and 'Shut Down' use cases?

<p>They do not contribute to the main functionality of the system. (C)</p> Signup and view all the answers

What is one key guideline for use case modeling regarding actors?

<p>Actors can participate in all associations of the more general actor plus additional use cases. (A)</p> Signup and view all the answers

Which of the following statements correctly describes the difference between a use case diagram and a flow chart?

<p>A use case diagram summarizes user interactions, while a flow chart outlines specific steps. (D)</p> Signup and view all the answers

Which of the following is an example of a naming convention that should be avoided in use cases?

<p>Deposit money into checking. (A)</p> Signup and view all the answers

When defining use cases, what is the significance of including secondary actors?

<p>Secondary actors can provide important context and support to the primary use cases. (C)</p> Signup and view all the answers

What must customers do before renting additional items?

<p>Pay for the previous rentals (D)</p> Signup and view all the answers

What should be done if the credit payment fails due to insufficient credit?

<p>Request a cash payment (B)</p> Signup and view all the answers

In a use case diagram, what does the stereotype «include» signify?

<p>A mandatory use case that is always executed (A)</p> Signup and view all the answers

What is the purpose of a low-fidelity incomplete use case draft?

<p>To simplify the steps for clarity (B)</p> Signup and view all the answers

What is indicated by the «extend» relationship in use cases?

<p>The extending use case is optional and may not always occur (C)</p> Signup and view all the answers

In terms of responsibilities, what does the system do after the customer pays?

<p>Authorize and record the payment (C)</p> Signup and view all the answers

What is typically involved in the actor intentions for a rental transaction?

<p>Present items to rent and complete payment (D)</p> Signup and view all the answers

What does the relationship of an actor representing behavior for reuse indicate?

<p>The behavior can be applied in various scenarios (D)</p> Signup and view all the answers

Flashcards

Event

An occurrence at a specific time and place that can be described.

Event Decomposition

A technique to identify use cases by focusing on the events a system needs to respond to.

Elementary Business Process (EBP)

A task performed by one person in one place, in response to a business event, that adds value and leaves the system in a consistent state.

Scenario

A sequence of steps describing an interaction between a user and a system, illustrating the user's goal.

Signup and view all the flashcards

Actor

A role played by a user in relation to the system.

Signup and view all the flashcards

Use Case

A collection of scenarios tied together by a common user goal.

Signup and view all the flashcards

External Event

An event triggered by an external agent or actor, happening outside the system.

Signup and view all the flashcards

Temporal Event

An event that occurs when the system reaches a specific point in time, like a deadline.

Signup and view all the flashcards

State Event

An event that triggers processing within a system, often initiated by internal actions, such as a failed backup procedure causing an automatic backup to start.

Signup and view all the flashcards

Use Case Diagrams

Diagrams that visually represent interactions between actors and a system, illustrating functional requirements, providing a story of system usage.

Signup and view all the flashcards

System Use Cases

Use cases that focus on the core functions of a system and how it interacts with external entities.

Signup and view all the flashcards

Identifying Use Cases

The process of identifying key functions and interactions within a system that satisfy user needs and requirements.

Signup and view all the flashcards

Procedure

A set of instructions or a sequence of steps that define how to perform a specific task or function.

Signup and view all the flashcards

Functional Requirements

Functional requirements specify the information and actions a system must perform. They describe the system's behavior in terms of data it manages and events it responds to.

Signup and view all the flashcards

Written Use Cases

Written use cases detail step-by-step interactions between an actor (user) and the system. They document how the system responds to user actions.

Signup and view all the flashcards

Use Case Description

A detailed breakdown of an actor's interactions with the system during a specific use case.

Signup and view all the flashcards

Alternative Courses (in Use Cases)

Alternative courses in a use case description represent different ways the system can respond based on user choices or conditions.

Signup and view all the flashcards

Actor's Goal in Use Case Scenario

In a use case scenario, the actor's goal is the intended outcome or purpose of their interactions with the system.

Signup and view all the flashcards

Robo-Actor

An automated system or script acting as a user within a use case, simulating real-world interactions.

Signup and view all the flashcards

Buy a Product' Scenario

The 'Buy a Product' scenario illustrates a typical e-commerce use case, showcasing customer interactions with an online store, including browsing, purchase, and payment.

Signup and view all the flashcards

Membership Verification

When a customer rents items, they present their membership card, and the clerk enters it into the system.

Signup and view all the flashcards

Item Recording

The clerk records each rented item's identification into the system, creating a list of titles, due dates, and total rental fees.

Signup and view all the flashcards

Calculating Total Charge

The sum of rental fees, including any potential late charges, is presented to the customer.

Signup and view all the flashcards

Payment Processing

The clerk processes the payment (cash or credit) and records it in the system.

Signup and view all the flashcards

Customer Membership Information

The customer presents their membership information, including any previous rentals and unpaid charges.

Signup and view all the flashcards

Generating Receipt

The system generates a receipt listing the rented items, due dates, and total cost.

Signup and view all the flashcards

Membership Status Tracking

The system tracks the customer's membership status, including active rentals and outstanding charges.

Signup and view all the flashcards

Inventory Management

The system manages the inventory of available rental items, keeping track of items rented out and returned.

Signup and view all the flashcards

Summary Use Case

A simplified representation of a use case, focusing on key steps and omitting unnecessary details. Useful for early stage analysis and scoping.

Signup and view all the flashcards

«include» Relationship

A relationship between use cases where the included use case is mandatory for the including use case, representing shared sub-processes.

Signup and view all the flashcards

«extend» Relationship

A relationship between use cases where the extending use case is optional for the extended use case, showing precedence order and exceptions.

Signup and view all the flashcards

Summary Use Case

A simple representation of a system interaction, used during early requirements gathering and scope analysis.

Signup and view all the flashcards

«include» Relationship

A relationship between use cases where the included use case is mandatory for the including use case, representing shared sub-processes.

Signup and view all the flashcards

Extend relationship

A type of relationship in use case diagrams that shows an exceptional or seldom invoked use case, extending the functionality of a primary use case.

Signup and view all the flashcards

Generalization relationship

A type of relationship in use case diagrams where a use case inherits all the behavior of another use case, adding its unique functionality.

Signup and view all the flashcards

Study Notes

Use Case Diagrams/Documentation

  • Use cases are techniques for documenting system requirements.
  • They illustrate how users interact with a system.
  • A scenario is a sequence of steps.
  • An actor is a user's role in relation to the system.
  • A use case is a set of scenarios tied together by a common user goal.

Objectives

  • Use events to identify use cases defining requirements.
  • Analyze events and resulting use cases.
  • Understand how problem domain classes define requirements.
  • Analyze domain classes needed in a system.

Use Case Diagrams

  • Use Cases are techniques for capturing functional system requirements.
  • They capture typical user-system interactions.
  • A scenario describes typical interactions between a user and a system, modeling user goals.
  • An actor is a role a user plays related to the system.
  • A use case consists of scenarios tied together by a shared user goal.

Events and Use Cases

  • An event is an occurrence at a specific time and place.
  • Event decomposition is an analytical technique to identify use cases.
  • It involves first focusing on events a system responds to, then examining system responses.
  • Elementary Business Processes (EBPs) are tasks performed by one person, responding to a business event that adds value and leaves the system consistent.
  • Each EBP is a use case triggered by a business event.
  • A use case is an activity the system carries out in response to an event.

Types of Events

  • External events originate outside a system, often initiated by an external agent or actor (e.g., a student wanting to register).
  • Temporal events occur when a system reaches a specific point in time (e.g., producing result slips at the end of a semester). Systems should automatically process such events.
  • State events originate from actions occurring within a system, triggering further processing (e.g., auto-backup upon system failure).

External Event Checklist

  • External agent wants something, leading to a transaction.
  • External agent needs information.
  • Data change necessitates update.
  • Management requests information.

Temporal Event Checklist

  • Internal outputs are needed.
  • Management reports (summary or exception) are required.
  • Operational reports (detailed transactions) are required.
  • Internal statements and documents (including payroll) are required.
  • External outputs (e.g., statements, status reports, bills, and reminders) are needed.

Use-Case Notations: Actors

  • Actors represent external entities interacting with the system.
  • Actors can be users, external systems, or the physical environment.
  • Each actor has a unique name and an optional description.
  • Examples include Passengers, GPS satellites, etc.

Use-Case Notations: Use Case

  • A use case represents a class of functionality provided by a system as an event flow.
  • Use cases are shown as ellipses.

User/Actor

  • Users and their goals help in understanding required functionality for use cases.

Use Case Diagrams

  • Use cases show actors and the use cases they use/execute/interact with.
  • Use cases illustrate functional requirements in a system.

Identifying Use Cases

  • Use cases are based on system processes, which are complete end-to-end.
  • The identification begins with the requirement definition, focusing on process-oriented requirements and actions resulting from external or temporal events.
  • Information-oriented requirements highlight the data or time triggers necessary for information collection or generation.

Studying That Suits You

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

Quiz Team

Related Documents

Use Case Diagram PDF

More Like This

Use Quizgecko on...
Browser
Browser