Chapter 7: Problem 22
How would you draw a simple use case diagram depicting the ways in which a traveler uses an airline reservation system?
Short Answer
Expert verified
Identify actors and use cases, draw a system boundary, position actors and use cases, and connect them with lines.
Step by step solution
01
Identify Actors
Actors are entities that interact with the system. In the case of an airline reservation system, the primary actor is the 'Traveler'. Other potential actors might include 'Payment Gateway', 'Customer Service Agent', and 'Administrator' since they also interact with the system.
02
Identify Use Cases
Determine the actions or functions the traveler can perform with the system. Common use cases for a traveler might include 'Search Flights', 'Make Reservation', 'Cancel Reservation', 'Check-in Online', and 'View Reservation Details'.
03
Draw the System Boundary
Create a rectangle to represent the system boundary and label it 'Airline Reservation System'. All use cases will be drawn inside this boundary, indicating that they are part of the functionalities offered by the system.
04
Add Actors to the Diagram
Place the identified actors outside the system boundary. In our case, position the 'Traveler' to the left of the boundary and any other relevant actors around the boundary to show they interact with the system.
05
Illustrate Use Cases Inside the Boundary
Inside the system boundary, draw ovals to represent each identified use case: 'Search Flights', 'Make Reservation', 'Cancel Reservation', 'Check-in Online', and 'View Reservation Details'. These ovals should be clearly labeled.
06
Connect Actors to Use Cases
Draw lines from the 'Traveler' actor to each use case they can perform, indicating interaction. If there are other actors, connect them to any relevant use cases they might access, such as 'Payment Gateway' being linked to 'Make Reservation' for payment processing.
07
Review and Adjust the Diagram
Ensure all potential interactions are captured and the diagram clearly shows the relationship between actors and use cases. Make adjustments for clarity if needed, such as positioning and labeling changes.
Unlock Step-by-Step Solutions & Ace Your Exams!
-
Full Textbook Solutions
Get detailed explanations and key concepts
-
Unlimited Al creation
Al flashcards, explanations, exams and more...
-
Ads-free access
To over 500 millions flashcards
-
Money-back guarantee
We refund you if you fail your exam.
Over 30 million students worldwide already upgrade their learning with Vaia!
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Airline Reservation System
An Airline Reservation System is a complex software application designed to manage the booking and scheduling of airline tickets. It involves several components and processes to offer a seamless experience for the users involved. Typically, these systems enable end-to-end management of airline operations such as booking flights, managing payment transactions, and handling customer requests.
Key components of an airline reservation system include:
Key components of an airline reservation system include:
- Flight Scheduling: Manages the dates, times, and itineraries of flights available for booking.
- Inventory Management: Keeps track of available seats and class types for each flight.
- Customer Database: Stores personal and booking information of travelers.
- Payment Processing: Handles financial transactions securely between airlines and customers.
- Customer Service Interface: Provides support and interaction points for both travelers and airline staff.
UML Diagrams
UML Diagrams, or Unified Modeling Language diagrams, are vital in understanding and designing systems. These diagrams offer a visual representation of the system, making it easier to comprehend its structure and functionalities.
There are various types of UML diagrams, each serving different purposes:
There are various types of UML diagrams, each serving different purposes:
- Use Case Diagrams: Showcase the interactions between users and the system.
- Class Diagrams: Describe the system's classes and the relationships between them.
- Sequence Diagrams: Detail the sequence of messages exchanged between components of the system.
System Boundary
In a use case diagram, the system boundary is an essential concept. It is represented visually by a rectangle encapsulating use cases, symbolizing what is included within the system's functionalities.
The boundary helps to distinguish what belongs to the system and what lies outside its domain. Here’s why it is important:
The boundary helps to distinguish what belongs to the system and what lies outside its domain. Here’s why it is important:
- Defines system limits: Makes it clear which functions are part of the system and which are external.
- Focuses on relevant use cases: Ensures that only pertinent interactions and functionalities are included.
- Aids in effective communication: Helps stakeholders understand the scope and reach of the system.
Actors and Use Cases
Actors and Use Cases are crucial elements in a use case diagram that help represent user interactions with a system. They enable a clear understanding of who interacts with the system and how they do so.
Actors: These are external entities that interact with the system. They can be human users or other systems. In the context of an airline reservation system, actors include:
Use Cases: These describe the actions or functions that the system performs in response to actors. For an airline reservation system, typical use cases involve:
Actors: These are external entities that interact with the system. They can be human users or other systems. In the context of an airline reservation system, actors include:
- Traveler: The primary user making reservations.
- Payment Gateway: Facilitates payment transactions.
- Customer Service Agent: Provides support and assistance.
- Administrator: Manages the system and its settings.
Use Cases: These describe the actions or functions that the system performs in response to actors. For an airline reservation system, typical use cases involve:
- Search Flights
- Make Reservation
- Cancel Reservation
- Check-in Online
- View Reservation Details