Professional Documents
Culture Documents
HAFIZ M.IMRAN NAWAZ SRS New
HAFIZ M.IMRAN NAWAZ SRS New
02.02.2021
CRS
Revision History
Date Description Author Comments
01-12-2020 Version 1.0 Hafiz Muhammad Imran First Revision
Nawaz
Document Approval
The following Software Requirements Specification has been accepted and approved by the following:
Signature Printed Name Title Date
Ms. Mehak Abbas Supervisor, CSIT 21306 02-12-2020
Ms. Quratulain Quraishi Reviewer, DAI
Ms.Sana Gul Reviewer, DCS
PAGE \* MERGEFORMAT iv
CRS
Table of Contents
1. Introduction 1
1.1 Purpose 1
1.2 Scope 1
1.3 Definitions, Acronyms, and Abbreviations. 1
1.4 References 1
1.5 Overview 1
3. Specific Requirements 4
3.1 External Interface Requirements 4
3.1.1 System Interfaces 4
3.1.2 Interfaces 4
3.1.3 Hardware Interfaces 4
3.1.4 Software Interfaces 4
3.1.5 Communications Interfaces 5
3.2 Functional Requirements 5
3.2.1 Login 5
3.2.2 Reservation 5
3.2.3 Cars 6
3.2.4 Rent 6
3.2.5 Logout 7
3.3 Use Cases 8
3.3.1 Use Case Login 8
3.3.2 Use Case Sign Up 8
3.3.3 Use Case Add Car 9
3.3.4 Use Case Delete Car 19
3.3.5 Use Case Check Status 10
3.3.6 Use Case Logout 11
3.3.7 Use Case Contact 12
3.3.8 Use Case Diagram 14
3.4 Classes / Objects 16
3.4.1 Class Diagram 16
3.5 Non-Functional Requirements 19
3.5.1 Performance 19
3.5.2 Reliability 19
PAGE \* MERGEFORMAT iv
CRS
3.5.3 Availability 19
3.5.4 Security 19
3.5.5 Maintainability 19
3.5.6 Portability 19
3.6 Inverse Requirements 19
3.7 Logical Database Requirements 19
3.8 Design Constraints 22
3.8.1 Standards Compliance 22
4. Analysis Model 23
4.1 Sequence Diagram 23
4.2 Data Flow Diagrams 24
4.3 State-Transition Diagram 27
PAGE \* MERGEFORMAT iv
CRS
1. Introduction
The system will provide all general services of car rental system to the customers. The customer
can book cars for rent online in few minutes. Online car rental system is very helpful to the
customers. This system includes various kinds of cars for the customers and their order, the
system will take the order and delivers cars at any location within area. The customers visit this
website and choose cars for rent online and order for book a car.
1.1 Purpose
The main objective of this SRS is to describe the system and all the requirements including
functional and nonfunctional requirements and the business logics and constrains.
The main purpose of this system is to save the time and money of human.
1.2 Scope
The scope of CRS is as follows:
The administrator or staff can log in and manage the reservations of all Customers. They
can also change the status of reservations.
The customer can submit their reservations online. They can view their reservations
status at their profile. The customer can also contact the administrator for any assistance.
1.4 References
www.w3schools.com
www.Google.com
SEII by Pressman
1.5 Overview
The structure of this SRS is as follows. Section 2 presents an overall description of the CRS.
Attention is given to putting the resultant product into perspective and further outlining end user
characteristics, system requirements functional and non- functional in nature.
2.1.1 Operations
Specify the normal and special operations required by the user such as:
Login
Reservation of car
Show car details
Feedback
Logout
3. Specific Requirements
The System will contain Customers Service modules that will allow store and
Corporate employees to provided information to the customers.
The System will contain a Customer Service module that will allow store and
corporate employees’ access to the system for the purpose of Creating “Rental
Agreements” and collects payments.
The customer account will require name, password, email, Phone No, CNIC
no and address etc.
The system will allow for a block reservation of more than one (1) car at a
time.
The system will identify and additional Charges that need to be charged for
any damage to the rental vehicle.
After the vehicle inspection is done then the system will print off a final
invoice for the costumer to sign.
3.1.2 Interfaces
All the users will see the same page when they enter in this website. This page
asks the users a username and password.
After being authenticated by correct username and password, user will be
redirect to the corresponding profile where they can do various activities.
The interface will be simple and consistence, using terminology commonly
understood by intended users of the system.
3.2.1 Login
The system should allow the manager to login and logout to the system using
their username and password.
The system shall allow the admin to change account password.
The system shall allow admin to logout.
Input:
Customer data new customer (added)or old one (fetched)
Processing:
Data will be checked for old customer
New customer data will be updated
Output:
Successfully log in or failed
Error handling:
If log in failed then error cause will be showed.
3.2.2 Reservation
The system must allow the customer to register for reservation.
The system shall allow the customer to view detail description of particular
vehicle.
The system must notify on selection of unavailable vehicles while reservation.
The system must allow the customers to select specific vehicle using different
search category while reservation.
Input:
Customer data new customer or old one
Processing:
Data will be checked for old customer
New customer data will be updated
Specific Vehicle will be searched
Output:
Successfully reserved or not
Error handling:
If reservation is failed message will be shown.
3.2.3 Car
The system should allow admin/staff to register new cars.
The system shall allow admin/staff to update information of the cars in need
of modification.
The system shall allow admin/staff to display the entire available cars.
Input:
Car data new or old one
Processing:
Data will be checked for car
New car data will be updated
Specific car will be searched
Output:
Successfully rented or not
Error handling:
If reservation is failed message will be shown.
3.2.4 Rent
The system shall allow staff to register customers into rental list.
The system shall allow staff to update about customer rent record details in
the rental list.
The system shall allow staff to display all customers, who rent vehicles.
The system shall allow staff to display all customers rent record.
Input:
Selected car
Processing:
Data will be checked from car
Rent will be checked
Specific car rent will searched
Output:
Successfully displayed rent list
Error handling:
If list is failed to display then again checked.
3.2.4 Logout
Introduction
Admin or user shall be able to logout to a computer.
Inputs
The person clicks the logout option to logout.
Processing
Person session is destroyed.
Outputs
Logout successfully.
Error Handling
If the person clicks the logout option and the person is not logout a message is
displayed and shows an error occurs please try again.
This section contains use cases of the Car Rental System. Actor and use case shows the detail
description of interaction between the actors and their use cases.
This use case describes the process of admin login in the application to see the all
products in the site.
Actor: Customer.
Add Detail
Sign Up
User
Figure: 3.2 Use Case Sign Diagram
Pre-condition:-
Internet must be connected.
Any browser should be in execution.
Flow of events:-
Primary Scenario:-
The user will enter the correct details.
Admin will check the user request.
Admin will respond the user request.
This use case ends.
Exceptions:-
This properties are not available or it sale.
These properties no exist here post condition.
User signup successfully.
Add Car
View Car
Admin
Select Car
Delete Car
Admin
Pre-Condition:-
Administrator should be log in.
Flow of events:-
Primary Scenario:-
Administrator will login to website.
He will select the Car to delete.
Admin will press the Delete button.
This use case ends.
Actor: Administrator.
Secondary Scenario:-
The admin check status successfully.
Check
Status
Email/Phone
User
<<Extend>>
See Post
<<Include>>
Reservation
Login
<<Include>>
Cancel Admin
<<Include>>
Payment
<<Include>>
Feedback
<<Include>>
Logout
Actor and use case description shows the detail description of interaction between the actors and
their use cases. The description enables to have a proper understanding of how actor interacts
with the system through their use cases.
Customer
Register as member
This use case describes the activities of the customer to register online and become a member.
Customer's details are required as part of the registration. Login detail is automatically sent to the
customer after successful registration.
Make reservation
This use case enable customer to search and make reservation. Non-register customer will be
directed to register before their reservation can be confirmed. Notification is automatically send
to the customer after the task is completed.
Return car
This use case describes the event of customer returning the car borrowed, the use case extends
"process rental" use case from the staff actor.
Give feedback
This use case is used by the customer to provide feedbacks/comment to the company; a
confirmation notification will be send to the customer once a feedback has been submitted.
Staff
Payment
Id: Integer
Customer Id: Integer
Car Id: Integer
Transaction Id: String
Transaction type: String
Date : String
Amount: double
Add (): public
View (): public
Admin
Id: Integer
Name : String
Password: String
Email: string
Add (): public
View (): public
Update (): public
Delete (): public
Customer
Cars
Id: Integer Reservation
Name : String Car Id: integer
Password: String Id: Integer Car Name : string
Email: String Customer ID: Integer Car model: String
Phno: String Car ID: Integer Car color: String
CNIC: integer Reservation date: String Registration no: String
Address: string Return date: string Rate: integer
login (): public Feedback Location : Map Add Cars(): public
Update profile (): public Driver: Boolean List Cars(): public
Id: Integer Create reservation(): public
Search Cars(): public
Reservation (): public
Customer Id: Integer List of reservation():public
Delete Cars(): public
Feedback (): public
Feedback title: String View reservations():public
Feedback Type: String Search reservation():private
Feedback Description:
String
Date: String
Create feedback(): public
Lit of feedback(): public
Search feedback(): public
Delete feedback(): public
3.4.1.1 Attributes
Entities List
Entity Attributes
Customer Car Reservation Admin Payment Feedback
1.5
Customer_password Car_model Car_id Admin_passw
ord
Car_id Feedback_title
Customer_email Car_color Reservation_date transaction_id Feedback_type
2. Admin_email
Customer_Phoneno Car_registration Return_date transaction_type Feedback_Desc
_no ription
Customer_CNIC Location Date
Car_rate Date
Customer_Address Driver Amount
3.4.1.2 Functions
The system must allow the customer to register for reservation.
The system shall allow the customer to view detail description of particular
vehicle.
The system must notify on selection of unavailable vehicles while reservation.
The system must allow the customers to select specific vehicle using different
search category while reservation.
The system should allow admin/staff to register new vehicles.
The system shall allow admin/staff to update information of the vehicle in
need of modification.
The system shall allow admin/staff to display the entire available vehicle.
3.5.1 Performance
The response time of the system for every instruction given by the user must not exceed
minimum of 10 seconds. The system should do best performance when executing user’s
instruction should be able to give response within a very short time.
3.5.2 Reliability
It is reliable and can be used with further new features.
3.5.3 Availability
The system should available always 24/7 a weak.
3.5.4 Security
The system should take the login information of the user to see the posts etc.
3.5.5 Maintainability
Any change and new updating can be made easily with few resources.
3.5.6 Portability
The system shall run in any Microsoft Windows environment that contains Java Runtime and the
database.
Passwor Email
Ph.no
d
Custome
r name CNIC
Custom Address
er- id Customer
Car Car
model color
Registra
tion no
Car name
Rate
Car id
Car
Reservatio
n date Return
Car id
date
Custom Location
er id
Transacti
Transacti
Car id on id
on Type
Custom Date
er id
Type
Title Descripti
on
Custom
er id Date
Feedba Feedback
ck id
Car available
Give detail
Give order
Give payment
Deliver car
Return car
Feedback
Reservation
Management
Car Customer
Management Management
Car
Rental
System
System User
Payment
Management
Management
Login
Management
Reservation Generate
Management Reservation Report
Payment
Generate Payment
Management
Report
Log in to
Admin system
Manage Customer
Forget
Details
Password
Manage Payment
Details
Send Manage
Email to Modules
user
Manage Rent
Details
Manage Feedbacks
Description
In the above diagram we can see the 2 nd level data flow diagram of car rental system. In this
diagram we can see how admin control the system. Admin manage all the modules that are
written in the rectangle shape like, car, payment, system user, customer and reservation. If the
customer forgets his password admin will send a new password to the customer and then
customer will change his password.
Company Busy
Rented