Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 3
EXERCISE 1
Member: - Trương Xuân Đạo - Trần Hoàng Nhật - Huỳnh Quốc Khánh 1. Usecase Diagram
2. Airline Booking System Use Cases
Actors: - Customer (Người đặt vé máy bay) - Admin (Người quản lí hệ thống vé máy bay) Use-cases: - Register (Đăng kí tài khoản) - Login(Đăng nhập) - Searching flights (Tìm kiếm chuyến bay) - Selecting flights (Chọn chuyến bay) - Booking ticket (Đặt vé máy bay) - Making payment (Thanh toán) - Checking booking history (Xem lịch sử đặt vé) - Viewing flights (Xem các chuyến bay) - Updating flight schedule (Tạo lịch trình chuyến bay)
3. Typical specification of a use-case
1. Register (Đăng kí tài khoản) Actors: Customer, Admin Objective: Allow users to create a new account to access the system. Description: The user (either a customer or admin) provides required information such as name, email, password, and other relevant details. The system validates the data and creates a new account, allowing the user to access the system with their credentials. 2. Login (Đăng nhập) Actors: Customer, Admin Objective: Allow users to log into the system using their credentials. Description: The user (either a customer or admin) enters their username and password. The system verifies the credentials and, if correct, grants access to the system. If the credentials are incorrect, an error message is displayed. 3. Searching Flights (Tìm kiếm chuyến bay) Actors: Customer Objective: Allow customers to search for available flights based on their preferences. Description: The customer inputs search criteria such as departure and arrival locations, travel dates, and number of passengers. The system retrieves and displays a list of flights matching the search criteria. 4. Selecting Flights (Chọn chuyến bay) Actors: Customer Objective: Enable customers to choose a specific flight from the list of available options. Description: After searching for flights, the customer selects a preferred flight based on factors like departure time, price, and airline. The system records the selected flight and proceeds to the booking process. 5. Booking Ticket (Đặt vé máy bay) Actors: Customer Objective: Allow customers to reserve a seat on a selected flight. Description: The customer confirms their selected flight, provides passenger details, and chooses a seat if available. The system reserves the seat and prepares the booking for payment. 6. Making Payment (Thanh toán) Actors: Customer Objective: Facilitate the payment process for the booked ticket. Description: The customer selects a payment method (credit card, PayPal, etc.), enters payment details, and confirms the transaction. The system processes the payment and, upon success, issues a booking confirmation and ticket. 7. Checking Booking History (Xem lịch sử đặt vé) Actors: Customer Objective: Provide customers with access to their past and current bookings. Description: The customer navigates to the booking history section, where the system displays a list of all their previous and upcoming flights, including details like flight number, date, and status. 8. Viewing Flights (Xem các chuyến bay) Actors: Customer Objective: Allow customers to view detailed information about flights. Description: The customer can view details about specific flights, including departure and arrival times, flight duration, layovers, and available seats. This information helps customers make informed decisions when selecting flights. 9. Updating Flight Schedule (Tạo lịch trình chuyến bay) Actors: Admin Objective: Allow administrators to create and update flight schedules. Description: The admin inputs or modifies details about flight schedules, such as departure and arrival times, aircraft used, and the number of available seats. The system updates the schedule and ensures it is available for customers during their searches.