Mcs 14
Mcs 14
1. Introduction
1.1 Purpose
The purpose of this document is to specify the requirements for a Railway Reservation
System (RRS). The RRS will provide a platform for passengers to reserve train tickets, view
schedules, and manage bookings. This document outlines the system's functionalities,
interfaces, performance, and design constraints.
1.2 Scope
1.4 References
1.5 Overview
This document is organized into several sections: an introduction to the project, a description
of the overall system, specific requirements, and any additional appendices that might be
relevant.
2. Overall Description
• User Registration and Authentication: Users can register, log in, and manage their
profiles.
• Search Trains: Users can search for trains based on source, destination, and travel
date.
• Booking Management: Users can book, view, cancel, and modify reservations.
• Schedule Viewing: Users can view train schedules and seat availability.
2.4 Constraints
• The system must support high traffic, especially during peak hours.
• Users have access to the internet and basic knowledge of using a web application.
• The system relies on external train schedule databases and payment gateways.
3. Specific Requirements
• Description: Users must register with a valid email address and password. The
system will provide authentication using these credentials.
• Description: Users can search for trains by selecting source, destination, and date of
travel.
• Output: List of available trains with details like timing and seat availability.
• Description: Users can book tickets, view current bookings, cancel, or modify them.
• Description: The system will process payments via a secure payment gateway.
• Description: Users can view detailed train schedules and seat availability.
3.1.6 Reporting
• Response Time: The system should respond to user actions within 2 seconds.
3.4.1 Security
3.4.2 Maintainability
3.4.3 Usability
• The UI should be intuitive and accessible, following the WCAG 2.1 guidelines.
4. Appendices
A thorough explanation is provided for the example data flow diagram for railway reservation
system. This example emphasizes the three DFD levels (DFD Levels 0, 1, and 2).
DFD Level 0 shows the entities that interact with a system and defines the border between the
system and its environment. This diagram also depicts the railway reservation system at a high
level.
The illustration presents the main process in a single node to introduce the project context. This
context explains how the project works in just one look. The user feeds data into the system and
then receives the output from it.
In addition to this, you will perceive through the diagram that there is already the presence of data
flow. Though the process is very general, the flow of data is clear. Nevertheless, just modify this
diagram to meet the other requirements and include other matters regarding railway reservations.
Level 1 DFD for Railway Reservation System
The "detonated view" of the context diagram is Railway Reservation System DFD Level
1. Its function is to deepen the concept derive from the context diagram.
Specifically, level 1 shows the broader details of Railway Reservation System DFD Level
0. This is to clarify the paths (flow) of data and its transformation from input to output.
The designed diagram portrays four different scenarios: customer information management,
reservation records management, reservation status monitoring, and transaction management
Firstly, the flow of data starts from the railway admin, crews, and customers. Then the system
caters to the transaction. This idea was based on railway reservation processes.
You can also see the data store used or the database. The database is also used in storing users' data inputs.
Then it serves as the source of outputs.
Level 2 DFD for Railwy Reservation System is also the highest abstraction of the data flow diagram. This
level also broadens the idea from the DFD level 1. It includes the sub-processes from level 1 as well as the
data that flows.
However, not all of the processes in the project must have sub-processes. Only provide this diagram if
needed. As long as your previous diagrams were clear and precise, this level is not required.
You can add more to this and it is up to you how will you create your data flow diagram.
Also, consider the data flow included and be precise with your information.
Q3 Draw ERD for an Railway Reservation System. Make necessary assumptions.
Entities:
1. Passenger
o Passenger_ID (Primary Key)
o Name
o Age
o Gender
o Contact_Number
o Email
2. Train
o Source
o Destination
o Number_of_Seats
o Train_Type
3. Reservation
o Seat_Number
o Fare
o Status (Confirmed/Waiting/Canceled)
4. Payment
o Amount
5. Route
o Arrival_Time
o Departure_Time
6. Station
o Station_Name
o Location
Relationships:
1. Passenger to Reservation: One-to-Many (One passenger can make multiple reservations)
5. Route to Station: Many-to-One (Multiple routes can involve the same station)
ERD Explanation:
• Passenger: This entity stores information about the passengers who make reservations.
• Train: This entity holds details of the trains available for booking.
• Reservation: This entity records the details of each booking made by passengers.
• Route: This entity maps the routes that trains take, including station stops.
• Station: This entity keeps track of the stations where trains can stop.