OOSE Lab File Final
OOSE Lab File Final
MCA – 01
MCA – 01
ROLL NO – 70213004423
1- Write SRS of the following: 1) Library management system 2)Banking system
3)Hotel management system
1.1 PURPOSE-
The purpose of the project is to maintain the details of books and library
members of different libraries. The main purpose of this project is to maintain a
easy circulation system between clients and the libraries, to issue books using
single library card, also to search and reserve any book from different available
libraries and to maintain details about the user (fine, address, phone
number).Moreover, the user can check all these features from their home.
1.2 SCOPE-
Manually updating the library system into an android based application so that
the user can know the details of the books available and maximum limit on
borrowing from their computer and also through their phones.
The System provides information's like details of the books, insertion of new
books, deletion of lost books, limitation on issuing books, fine on keeping a
book more than one month from the issued date.
2. OVERALL DESCRIPTION
The proposed Library Management System will take care of the current book
detail at any point of time. The book issue, book return will update the current
book details automatically so that user will get the update current book details.
R.1:Register
Description : First the user will have to register/sign up. There are two different
type of users.
R.1.1: Sign up
R.1.2 : Login
R.2.2 : Search
Output : conformation for book issue and apology for failure in issue.
Processing : if selected book is available then book will be issued else error will
be displayed.
Processing : If the issued book is already reserved by another user then error
message willbe send and if not then conformation message will be displayed.
R.2.5 : Return
Description : If a book is issued by someone then the user can reserve it ,so that
later the user can issue it.
R.2.6 Fine
Processing : The fine will be calculated, if it crossed the date of return and the
user did not renewed if then fine will be applied by Rs 10 per day.
Input : Enter the details of the books such as names ,author ,edition, quantity.
•Usability Requirement-The system shall allow the users to access the system
from the phone using android application. The system uses a android
application as an interface. Since all users are familiar with the general usage of
mobile app, no special training is required. The system is user friendly which
makes the system easy.
•Availability Requirement-The system is available 100% for the user and is used
24 hrs a day and 365 days a year. The system shall be operational 24 hours a
day and 7 days a week.
User module: In the user module, user will check the availability of the books.
Issue book
Reserve book
Return book
Fine details
Library module:
Remove books
Administration module: The following are the sub module in the administration
module :
Register user
2.6 CONSTRAINTS
Any update regarding the book from the library is to be recorded to have update
& correct values, and any fine on a member should be notified as soon as
possible and should be correctly calculated.
2) Banking system
INTRODUCTATION
This document gives detailed functional and nonfunctional requirements for the
bank management system. This product will support online banking transaction.
The purpose of this document is that the requirements mentioned in it should be
utilized by software developer to implement the system.
1.1 Purpose
The Traditional way of maintaining details of a user in a bank was to enter the
details and record them. Every time the user need to perform some transactions
he has to go to bank and perform the necessary actions, which may not be so
feasible all the time. It may be a hard-hitting task for the users and the bankers
too. The project gives real life understanding of Internet banking and activities
performed by various roles in the supply chain. Here, we provide an automation
for banking system through Internet. Internet banking system project captures
activities performed by different roles in real life banking which provides
enhanced techniques for maintaining the required in- formation up-to-date,
which results in efficiency. The project gives real life understanding of Internet
banking and activities performed by various roles in the supply chain.
1.2 Scope
1.3 Overview
Overall Description: This section will describe major components of the system,
interconnections, and external interfaces.
2. General description
2.1 Product Perspective: The client will have client interface in which he can
interact with the banking sys- tem. It is a web based interface which will be the
web page of the banking application. Starting a page is
displayed asking the type of customer he is whether ordinary or a
corporate customer. Then the page is redirected to login page where the user can
enter the login details. If the login particulars are valid then the user is taken to a
home page where he has the entire transaction list that he can perform with the
bank. All the above activities come under the client interface.
username, password & by creating account in the database. He can view the
cheque book request & perform action to issue the cheque books to the clients.
Front End Client: The system is a web based application clients are requiring
using modern web browser such as Mozilla Firefox 1.5, PHP.
* Web Server: The web application will be hosted on one of the apache server.
1. Login
2. Validation
4. Withdrawal of money
5. Transfer Money
6. Customer info.
3.1 Login: Customer logins by entering customer name & a login pin.
3.2 Validation: When a customer enters the ATM card, its validity must
be ensured. Then customer is allowed to enter the valid PIN. The
validation can be for following conditions
Validation for lost or stolen card When card is already reported as lost or stolen
then the message “Lost/Stolen card!!!”.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 11
Validation for card’s expiry date if the card inserted by the customer has crossed
the expiry date then the system will prompt “Expired Card”.
After validating the card, the validity of PIN must be ensured. If he/she fails to
enter valid code for three times then the card will not be returned to him. That
means the account can be locked. The counter for number of logins must be
maintained Get balance information:
This system must be networked to the bank’s computer. The updated database of
every customer is maintained with bank. Hence the balance information of
every account is available in the database and can be displayed to the customer.
3.4 Transfer of Money: The customer can deposit or transfer the desired
amount of money.
3.5 Transaction Report: The bank statement showing credit and debit
information of corresponding account must be printed by the machine.
4. Interface Requirements
4.1 GUI- This is interface must be highly intuitive or interactive because there
will not be an assistance for the user who is operating the System. At most of
the places help desk should be provided for user convenience. The screens
appearing should be designed in such a manner that it can draw User attraction
towards the new plans for the customers. Also the pin and password
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 12
1. Touch screen/Monitor
2. Keypad
2. The PHP must be installed. For the database handling MYSQL must be
installed. These products are open source products.
4. Performance Requirements
It should not get hang or show some other problems arising out due to large no
of concurrent users . The system should be fast enough to meet the customer
The high and low temperature should not affect the performance of the device.
An uninterrupted transaction must be performed.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 13
6.Constraints
Banking System.
* The users access the Online Banking System from any computer that
has Internet browsing capabilities and an Internet connection.
*The users must have their correct usernames and passwords to enter into the
Online Banking System.
Design Constraints:
* Software Language Used -The languages that shall be used for coding
Online Banking System are c , c++ , java , and HTML. For working on the
coding phase of the Online job portal System Web
Sphere Application Server/WebSphere Application Server CE Server needs
to be installed.
*Database design
In our database design, we give names to data flows, processes and data stores.
Although the names are descriptive of data, they do not give details .So
following DFD, our interest is to build some details of the contents of data
flows, processes and data store. A data dictionary is a structured repository of
data about data .It is a set of rigorous definitions of all DFD data elements and
data structures .
7. Performance
7.1 Security -The banking system must be fully accessible to only authentic
user.
This SRS will be used by the system development team which is constructing
the HMS and the hotel end users. The Project team will use the SRS to fully
understand the expectations of this HMS to construct the appropriate software.
The hotel end users will be able to use this SRS as a “test” to see if the
constructing team will be constructing the system to their expectations. If it is
not to their expectations the end users can specify how it is not to their liking
and the team will change the SRS to fit the end users’ needs.
Document Conventions
The document is prepared using Microsoft Word 2013 and has used the font
type 'Times New Roman'. The fixed font size that has been used to type this
document is 12pt with 1.5 line spacing. It has used the bold property to set the
headings of the document. Use case scenario is written according to Alistair
Cockburn’s template. UML diagrams have been created according to UML 2.0
standards. Standard IEEE template is the template used to organize the
appearance of the document and its flow.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 15
The intended audience of this document would be owner and specific employees
like Manager and Receptionist of Hotel Gayana, and project team with the
objective to refer and analyze the information. The SRS document can be used
in any case regarding the requirements of the project and the solutions that have
been taken. The document would final provide a clear idea about the system that
is building.
1. Overall Description
2. System Features
Product Scope
Product Functions:-
Make Reservations
Search Rooms
Add Payment
Issue Bills
Set Rates
Taking Backups
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 17
E-mail notifications
Functional Requirements
Project charter: - This document provides the basic information about the team
members their responsible in developing functions, the background of the client
and the nature of the main problem identified
Project Proposal: - The proposal of the project consists with the problems that
are identified with the client, and the solutions that are going to implement using
the proposed system.
User Documentation-
User manual provide to the client will give a clear idea in interacting with the
system. It will be written in a simple understandable language concealing the
inner complexity of the system. A hard copy of the user manual will be
delivered to the client with the delivery of system.
5 Activity Diagrams
Make Reservation
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 20
Take Backup
Search
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 21
Delete a user
Add Payment
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 22
Safety Requirements
There are several user levels in hotel management system, Access to the various
subsystems will be protected by a user log in screen that requires a user name
and password. This gives different views and accessible functions of user levels
through the system. Maintaining backups ensure the system database security.
System can be restoring in any case of emergency.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 23
Security Requirements
Customer Service Representatives and Managers and owner will be able to log
in to the Hotel Management System. Customer Service Representatives will
have access to the Reservation/Booking and subsystems. Managers will have
access to the Management subsystem as well as the Reservation/Booking
subsystems. Owner has the maximum privilege to all subsystems. Access to the
various subsystems will be protected by a user log in screen that requires a user
name and password.
Availability: - The system shall be available during normal hotel operating hours
Efficiency: - How much less number of resources and time are required to
achieve a particular task through the system.
Flexibility: - Ability to add new features to the system and handle them
conveniently.
Integrity: - How the system would insecure the information in the system and
how it avoids the data losses. Referential integrity in database tables and
interfaces
Reusability: - What is the ability to use the available components of the system
in other systems as well.
Usability: - How easily a person can be taken the benefits of the system and the
user friendliness.
Other Requirements
When the system is completely developed and submitted to the client, few
sessions will be required to make the users of the system understand about the
functionality of it and some time to adapt to the system. After those sessions, it’s
required that a member from the development team should spend sometime in
the system background for an agreed time period. That time period will be used
in identifying new bugs that could not be reached in the earlier phases of the
development process.
DFD depicts the flow of information and the transformation applied when a data
moves in and out from a system. The overall system is represented and
described using input, processing and output in the DFD. The inputs can be:
LEVEL 0-
LEVEL 01-
At this level, the system has to show or exposed with more details of processing.
The processes that are important to be carried out are:
➢ Book delivery
➢ Search by topic
List of authors, List of Titles, List of Topics, the bookshelves from which books
can be located are some information that is required for these processes. Data
store is used to represent this type of information.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 26
2) Banking system
Level 0-
Explanation :
➢ Transaction Request/Loan Request –
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 27
➢ Manager –
The manager can access and manage any request as well as input
commands to change or update Employee Record Database. A Manager
manages the employees of the bank as well as either accepts or rejects
any Loan Request and hence inputs details to update the corresponding
databases as Customer Record and Employee Record Database.
➢ Cashier –
It responds actively to any Transaction Request and assists the Manager.
The cashier can also resolve any query from the Customer and provide
immediate help to the Customer. However, a Cashier cannot access any
database independently.
➢ Bank Headquarter –
It acts as an entity that controls all the branches of the Bank. The entity
can access all the databases, and it also controls the operations of the
Manager. The Bank can modify or eliminate any policies as well as create
new policies for the Online Banking System.
➢ Customer Record –
It stores all the non-personal details of an individual who is a Customer of
any specific branch of the Bank. As an individual initiates a request to
open an account in the Bank, Customer Records creates a new entry that
is unique and specific to the Customer only. This record is accessible by
Managers or Employees of the Banks as and when required.
➢ Employee Record –
It stores the record of all the Employees at the Bank. The record can be
accessed but not modified by the Customer of the Bank. The record can
be modified by either the Manager of a Branch or by the Bank itself.
➢ Account Details –
It stores the personal details of every individual Customer. It can be
accessed/modified by the Customer only. The Bank cannot modify the
personal details of the Customer.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 28
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 29
Level 01-
Processes:
➢ Account Management System –
In this Customer can access all the services offered by the Bank by
adding his details. As the Customer avails any services as a transaction or
a loan, then the required data flows to Transaction Management System
or the Loan Management System respectively. Any Customer can print
the activity status of the account which fetches information from all the
available databases using the Generate Customer Report System.
The Data Flow Diagram (DFD) represents the flow of data and the
transformations in Hotel management system. These transformations occurs as
data enters and exits a system. In the DFD, input, processing, and output are
used to represent and define the overall system.
The hotel management system level 0 represents a single process with external
entities using the abstract view mechanism. This DFD Level 0 depicts the
overall structure as a single bubble. It comes with incoming/outgoing indicators
showing input and output data.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 31
The content of Hotel management system DFD level 1 is gotten from the
context diagram and is broken down into sub processes. System’s DFD Level 1
reveals further processing information. The actors that are going to use this
system and the sub-processes of Hotel Management were shown here.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 32
This Use Case Diagram is a graphic depiction of the interactions among the
elements of Examination Management System. It represents the methodology
used in system analysis to identify, clarify, and organize system requirements of
Examination Management System. The main actors of Examination
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 33
Management System in this Use Case Diagram are: Super Admin, System User,
Examiner, Student, who perform the different type of use cases such as Manage
Students, Manage Examinations, Manage Marks, Manage Courses, Manage
Papers, Manage Faculties, Manage Users and Full Examination Management
System Operations.
Super Admin, System User, Ticket Agent, Customers, who perform the different
type of use cases such as Manage Train, Manage Ticket, Manage Booking,
Manage Customer, Manage Payment, Manage Train Route, Manage Train
Schedule, Manage Users and Full Railway Reservation System Operations.
Major elements of the UML use case diagram of Railway Reservation System
are shown on the picture below.
The relationships between and among the actors and the use cases of Railway
Reservation System:
• Super Admin Entity: Use cases of Super Admin are Manage Train, Manage
Ticket, Manage Booking, Manage Customer, Manage Payment, Manage Train
Route, Manage Train Schedule, Manage Users and Full Railway Reservation
System Operations
• System User Entity: Use cases of System User are Manage Train, Manage
Ticket, Manage Booking, Manage Customer, Manage Payment, Manage Train
Route, Manage Train Schedule
• Ticket Agent Entity: Use cases of Ticket Agent are Book Tickets, Search
Vacant Seats, Collect Payment
• Customers Entity: Use cases of Customers are Search Trains, Book Tickets,
Make Payments
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 35
❖ For the user to get registered as a new user, registration forms are
available that is needed to be fulfilled by the user.
❖ After registration, a library card is issued to the user by the librarian. On
the library card, an ID is assigned to cardholder or user.
❖ After getting the library card, a new book is requested by the user as per
there requirement.
❖ After, requesting, the desired book or the requested book is reserved by
the user that means no other user can request for that book.
❖ Now, the user can renew a book that means the user can get a new due
date for the desired book if the user has renewed them.
❖ If the user somehow forgets to return the book before the due date, then
the user pays fine. Or if the user forgets to renew the book till the due
date, then the book will be overdue and the user pays fine.
❖ User can fill the feedback form available if they want to.
This system is the subsystem of the airline reservation system. The actors are
passengers, admins, and the banks that are the organizations. The passenger is
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 37
concerned with multiple use cases like login, check for availability, book ticket,
etc. The book ticket use case is in relation to the choose seat use case. The
admin cancels tickets, updates flight schedules. The bank sees the payment use
cases.
Hotel Management System General Use Case Diagram – This diagram shows
the general processes or functions that the system could do that are based on the
transactions done by the customer and the admin or employee about checking in
or out of the hotel.
The use case diagrams depict the system’s main components as well as the flow
of information between them.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 39
❖ The system keeps track of the staff with a single point authentication
system comprising login Id and password.
❖ Staff maintains the book catalog with its ISBN, Book title, price(in INR),
category(novel, general, story), edition, author Number and details.
❖ A publisher has publisher Id, Year when the book was published, and
name of the book.
❖ Readers are registered with their user_id, email, name (first name, last
name), Phone no (multiple entries allowed), communication address. The
staff keeps track of readers.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 42
❖ Readers can return/reserve books that stamps with issue date and return
date. If not returned within the prescribed time period, it may have a due
date too.
❖ Staff also generate reports that has readers id, registration no of report,
book no and return/issue info.
The ER Diagram for hotel management system in dbms reveals the relationships
of the hotel management entities within the project database. This describes the
logical structure of the system’s database or data storage. It is done by
identifying the hotel management process entities, their properties, and the
interactions between them.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 44
Q13- Draw use case of an ATM system with at least 3 different actors that
interact with system.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 45
Collaboration diagram-
Sequence diagram-
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 46
Q15- Draw sequence and collaboration diagram for Airline Reservation System.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 47
Collaboration diagram-
Sequence –
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 48
Sequence diagram-
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 49
Collaboration -
Collaboration diagram –
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 50
Sequence diagram –
Sequence diagram-
Collaboration diagram-
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 52
A class diagram for ATM in UML is a series of boxes and connectors. All you
need to make your own class ATM diagram is a collection of shapes, some
connecting links, and an idea of what your ATM system and financial
transactions might look like.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 53
The diagram gives you a brief idea about the Hospital management process that
has small but important substructures such as staff structure, hospital structure,
patient treatment terminology, and relationship with patients.
❖ Library Database: Our library database lists all the items in the inventory.
It also allows librarians to add, update, delete, search and display
information about each book.
❖ Librarian: The librarian class gives each librarian an ID number.
❖ Members: The member class gives each member a unique ID. It also
shows the date of membership, the maximum number of books they
might check out, and the members’ names and addresses.
❖ Transaction: The transaction class gives each translation a unique ID. It
lists the member’s ID and the books checked out and their due date.
❖ Bill: The bill class issues a bill for overdue books, with a unique bill
number and the date along with the member’s ID and the amount owed.
❖ Book: The book class lists all the information about each book–title,
subject, identification number, edition, and subject.
❖ Author: The author class shows the name and biography of each author.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 56
The main classes of the Airlines Reservation System are Airlines, Reservation,
Passenger, Ticket Booking, Employee, Airline Enquiry Classes of Airlines
Reservation System.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 57
Q23- Draw class diagram for a ticket distributor for a train system.
RyanSteveBraganza
5 0 1 1 3 0 0 4 4 2 1 | 58