Se Lab Krish
Se Lab Krish
Se Lab Krish
Q1. Select and write down the problem statement for a real time system of relevance.
AIRLINE RESERVATION
The existing airline reservation system lacks real-time capabilities, resulting in inefficiencies
and inconvenience for both airlines and passengers. The system fails to provide up-to-date
information on flight availability, schedules, and seat reservations, leading to frequent errors,
overbooking, and customer dissatisfaction. Furthermore, the lack of real-time
synchronization between various airline systems and online platforms makes it difficult for
customers to make informed decisions and for airlines to efficiently manage their operations.
The objective is to develop a real-time airline reservation system that ensures accurate and
timely information exchange between airlines, reservation agents, and customers. The system
should enable customers to view real-time flight availability, book and manage their
reservations instantly, and receive immediate confirmation. It should also provide airlines
with a centralized platform to update flight schedules, manage seat inventory, and handle
reservations in real-time.
Key challenges to address include:
Real-time synchronization: Developing a robust and efficient system that
synchronizes information in real-time between the airline's internal systems,
reservation agents, and online platforms to ensure consistent and accurate data
across all channels.
Scalability and Performance: Designing a system that can handle a high volume
of concurrent transactions and user requests without compromising performance.
It should be capable of processing and responding to requests quickly to minimize
delays and provide a seamless user experience.
Inventory Management: Implementing an efficient inventory management system
that accurately tracks seat availability, handles overbooking scenarios, and ensures
that customers receive accurate and up-to-date information about seat availability at
all times.
Security and Data Privacy: Implementing robust security measures to protect
sensitive customer information, including personal details and payment data, from
unauthorized access or breaches.
User-Friendly Interface: Creating an intuitive and user-friendly interface for
customers and reservation agents that allows easy navigation, quick booking, and
seamless management of reservations, reducing the complexity associated with
the reservation process.
By addressing these challenges, the proposed real-time airline reservation system aims to
enhance customer satisfaction, streamline airline operations, improve efficiency, and
ultimately increase revenue for airlines.
Q2. Analyze the requirement for a system and develop Software Requirement
Specifications sheet(SRS) for suggested system.
Introduction:
The purpose of this document is to provide a detailed Software Requirement Specifications
(SRS) for an Airline Reservation System. The system will allow users to book and manage
flight reservations, check flight availability, and perform other related tasks. The SRS defines
the functional and non-functional requirements of the system.
Scope:
The Airline Reservation System will cover the following functionalities:
User registration and authentication
Flight search and availability
Flight booking and ticketing
Seat selection
Payment processing
Flight cancellation and rescheduling
Booking management (view, modify, and cancel bookings)
Notification and alert system (e.g., flight delays,
cancellations) Functional Requirements:
3.1 User Management:
Book_id
Author
Pub_id
Title Address
Price
Published
BOOKS PUBLISHER
by
Available
Name
Name
Exp_date
Address
Due_date
Borrowed
by MEMBER
PName
Hos_Name
PDiagnosis P_id
Hos_id Hos_address
Admitted
PATIENT in HOSPITAL
Hos_City
PAddress
has has
Salary
DName
Record_date
Manager_id Sid
D_Name Semail
Manager_sdate Saddress
Sdealer
D_id
SUPPLIER Sname
DEPARTMENT
Sphone
Supplies
Works
for
Prod_id Price
PRODUCT
Prod_name Quantity
E_Name
Address
Pur_id Profit
E_id
EMPLOYEE Buy
CUSTOMER
LOGIN
Admin C_id
Password Address
Id
C_Name
Username C_phoneno
(Level-0)
(Level-1)
(Level-0)
(Level-1)
(Level-2)
(Level-0)
(Level-1)
Q5. To perform the user’s view analysis for the suggested system: Use Case Diagram.
Q6. To draw the structural view diagram for the system: Class diagram.
Q7. To draw the behavioral view diagram: State-chart diagram or Activity diagram
Q8. To perform the behavioral view diagram for the suggested system: Sequence diagram.
Q11. Perform Measurement of complexity with Halstead Metrics for Chosen System.
Solution:
To perform the measurement of complexity with Halstead Metrics for a chosen system, we
need to:
1. Identify the system or program for which you want to measure complexity.
2. Count the total number of operator occurrences (N1), operand occurrences
(N2), distinct operator types (n1), and distinct operand types (n2) in the
program.
3. Calculate the metrics using the formulas mentioned above.
Let's say we have a simple Java program with the following code: