Use Case Diagrams Overview
47 Questions
1 Views

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

    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

    Description

    This quiz covers the fundamentals of Use Case Diagrams, which are essential for documenting system requirements and modeling user interactions with systems. It explores the key concepts of actors, scenarios, and how events can help to define use cases, providing a comprehensive understanding of functional requirements.

    More Like This

    Use Quizgecko on...
    Browser
    Browser