Chap1 5
Chap1 5
Chapter 1
System Introduction
1|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Chapter 1
System Introduction
1.1 Introduction
Computer replaces the manual works that we have done early by
consuming a lot of time. With the invention of computer, human
civilization in the modern world has been replaced by a new era of
civilization with computer. Today the use of Information Technology is a
basic requirement; Computer is emerging as one of the most widely used
machines in today’s world. It can handle almost all jobs done manually in
an easy way within a short period.
Today, computer has made a great impact on our everyday life. The
use of computer is growing in various fields. In short, nowadays is the era
of computer. In facts, it is an essential day-to-day life of every aspect,
regarding educational and training, medical science, business, games and
sport, entertainment, advertising etc. Nowadays many organization,
departments, companies or corporation develop computerized system as
processing of data can be done rapidly.
We can also improve the efficiency of the system, thus overcoming the
drawbacks of the existing system which has many drawbacks.
2|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
• Less human error
• Strength and strain of manual labour can be reduced
• Data redundancy can be avoided to some extent
• Easy to handle
• Easy data updating
• Easy record keeping
3|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Backup facility will enable the admin to keep backup copy of files
electronically. Such backup copy may serve him in data recovery process
4|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
in one must realize the limitation of computer. Computers can process
data and deliver information accurately provided we have software to go
through certain algorithm or steps of processing data.
5|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Personal costs include electronic data processing staff salaries.
Facility costs are expenses increased in the preparation of the physical
sites where the application or the computer will be in operation. This
includes wiring, flooring, acoustics, lighting, and air-conditioning etc.
that are treated as onetime cost. Operating cost include all costs
associated with the day-to-day operation of the system. Supply costs are
variable and increase with the increases use of paper ribbons, disks and
the likes.
Even after operating for some years, when the users wants to
upgrade the system they can do so which means the computer operator
whom the version of the product with ease. Moreover, the system will
facilitate timely generation of reports, which is of immense value to the
management section of the users. This timely generation of useful and
meaningful reports is the one benefit the users’ authority wants.
6|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Chapter 2
System Analysis
7|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Chapter 2
System Analysis
Preliminary Investigation.
Feasibility Study.
i. Technical Feasibility
ii. Economical Feasibility
8|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
iii. Operational Feasibility
Cost/Benefit Analysis etc.
Feasibility and risk analysis are related in many ways. If project risk is
great, the feasibility of producing quality software is reduced. Thus,
during feasibility analysis for this project, following three primary areas
of interest were considered very carefully.
9|Page
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
2.3.2 Economical Feasibility
2.4 Methodology
10 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
A working version of software is produced during the first iteration, so
we have working software early on during the software life cycle.
Subsequent iterations build on the initial software produced during the
first iteration.
Even after operating for some years, when the administration wants to
upgrade the system they can do so which means the computer operator
whom the administration will engaged to monitor the system will be able
to handle next upgraded version of the product with ease. More over the
system will facilitate timely generation of reports, which is of immense
value to the management section of the administration. This timely
generation of useful and meaningful reports is the one of benefits of the
authority wants.
11 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Laptop
Processor :
Intel(R) Core(TM) i3-7020U
CPU @ 2.30 GHz
RAM : 8 GB
SSD : 256 GB
Display Resolution: 1920 × 1080
USB Scroll Mouse
Wired Keyboard
Pen drive
12 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
BROWSERS: Optimized for Google Chrome and other
compatible browsers such as Microsoft Edge, Netscape
Navigator, Mozilla Firefox, and Opera etc.
Chapter 3
Technologies Used
13 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
3.1.1 Window 10
14 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
executable along with modules such as Apache Server, Maria DB, PHP,
and Perl.
XAMPP helps a local host or server to test its website and clients via
computers and laptops before releasing it to the main server. It is a
platform that furnishes a suitable environment to test and verify the
working of projects based on Apache, Perl, MySQL database, and PHP
through the system of the host itself. Among these technologies, Perl is a
programming language used for web development, PHP is a backend
scripting language, and Maria DB is the most vividly used database
developed by MySQL.
3.1.3 HTML
3.1.4 CSS
Advantages of CSS
CSS saves time – You can write CSS once and then reuse the same
sheet in multiple HTML pages. You can define a style for each HTML
element and apply it to as many Web pages as you want.
• Pages load faster – If you are using CSS, you do not need to write
HTML tag attributes every time. Just write one CSS rule of a tag and
apply it to all the occurrences of that tag. So less code means faster
download times.
• Easy maintenance – To make a global change, simply change the
style, and all elements in all the web pages will be updated automatically.
• Superior styles to HTML - CSS has a much wider array of attributes
than HTML, so you can give a far better look to your HTML page in
comparison to HTML attributes
• Multiple Device Compatibility – Style sheets allow content to be
optimized for more than one type of device. By using the same HTML
16 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
document, different versions of a website can be presented for handheld
devices such as PDAs and cell phones or printing.
Global web standards - Now HTML attributes are being deprecated
and it is being recommended to use CSS. So it's a good idea to start using
CSS in all the HTML pages to make them compatible with future
browsers.
3.1.5 Bootstrap
3.1.6 PHP
17 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
produce dynamic web pages. For this purpose, PHP code is embedded
into the HTML source document and interpreted by a web server with a
PHP processor module, which generates the web page document. As a
general-purpose programming language, PHP code is processed by an
interpreter application in command-line mode performing desired
operating system operations and producing program output on its
standard output channel. It may also function as a graphical application.
PHP is available as a processor for most modern web servers and as a
standalone interpreter on most operating systems and computing
platforms.
PHP stores whole numbers in a platform-dependent range. This range
is typically that of 32-bit signed integers. Unsigned integers are converted
to signed values in certain situations, this behavior is different from other
programming languages. Integer variables can be assigned using decimal
(positive and negative), octal, and hexadecimal notations. Point numbers
are also stored in a platform-specific range. They can be specified using
floating-point notation, or two forms of scientific notation. PHP has a
native Boolean type that is similar to the native Boolean types in Java and
CH. Using the Boolean type conversion rules, non-zero values are
interpreted as true and zero as false, as in Perl and Ch. The null data type
represents a variable that has no value. The only value in the null data
type is NULL. Variables of the "resource" type represent references to
resources from external sources. These are typically created by functions
from a particular extension, and can only be processed by functions from
the same extension; examples include file, image, and database resources.
Arrays can contain elements of any type that PHP can handle, including
resources, objects, and even other arrays. Order is preserved in lists of
values and hashes with both keys and values, and the two can be
intermingled. PHP also supports strings, which can be used with single
quotes, double quotes, or here doc syntax
Why PHP?
PHP is one of the most popular server-side scripting languages running
today. It is used for creating dynamic Web Pages that interact with the
user offering customized information. PHP offers many advantages, it is
fast, stable, secure, easy to use, and open-source (free).
• User friendly
18 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
• GUI
• Separation of work (designing & coding)
• Written once run anywhere
• PHP API
3.1.7 JavaScript
19 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
It provides good control to the users over the web browsers.
3.1.8 MySQL
20 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
21 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Chapter 4
System Design
22 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Chapter 4
System Design
4.1 Introduction:
The actual design of a system starts from the system design phase. If
the analysis of the system is done fairly, the design of the system is a
success one. The design of the system may be viewed under the following
heads:
23 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
In computer based system, the number of persons involved is reduced
considerably. A software package is an effective substitute for human
judgment in processing routines and error checking. The design phase
focuses on the detailed implementation of the system recommended in the
feasibility study. Emphasis is on translating performance specifications
into design specifications. The design phase is a translation from a user-
oriented document to a document-oriented to the programmers or
database personnel.
1. Administrator:
2. User:
These are normal web users who have been registered but have not
privilege to modify or consume the Hostel Management System. These
users have the power to read their current status and other information
relating to their activities.
24 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
4.3 Database Design- Table Structures
TABLES:
Table 1: admin
Table 2. Courses
25 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Table 3. registration
26 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Table 4. room
Table 5. userlog
Table 6. userregistration
27 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Table 7. feepayment
Table 8. hostelstaff
Database structure
28 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
4.4 Context Diagram
Context diagrams show the interactions between a system and external
factors with which the system is designed to interface. A context diagram
shows the entire system as a single process.
Notation:
ADMINISTRATOR
Room Room
Courses Report Data User User register
Data
register Data
Staff
Courses reports
Data Staff
Report
Report
Feepayment
Report Hostel
Feepayment
Data Management
Registration data
USER/HOSTELLER System
Registration report
Database
29 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
4.5 Data Flow Diagram
A data flow diagram is a graphical technique that depicts information
flow and transforms that are applied as data move from input to output.
The DFD is used to represent increasing information flow and functional
details. A level 0 DFD, also called fundamental system model or a
Context model, represents the entire software elements as a single bubble
with input and output indicated by incoming and outgoing arrows
respectively. Additional process and information flow parts are
represented in the next level i.e., Level 1 DFD. Each of the processes
represented at Level 1 is a sub functions of the overall system depicted in
the Context model. Any processes, w in Level 1, will be further
represented into sub-functions of the overall system depicted in the
Context model. Any processes, which are complex in Level 1, will be
further represent into sub-functions in the next level, i.e., in Level 2.
Arrows representing the data flow, which can either be electronic data
or physical items.
30 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
Room data
admin
3.0
Room
Management
rooms
Staff details Process
Room details
Courses data
4.0
Courses details courses
Courses
Management
Staff data
Process
5.0
Staff hostelstaff
Management
Process
31 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM
USER 6.0
Query Details registration
Room Booking
Username/
Log in
Password Process
Verified
userregistration
7.0
Fee payment
Process
feepayment
Fee details
Print details
data
8.0
Print details Print Process
Fig 3. DFD-USER
32 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM 2022
14. Entity Relationship Diagram
The overall logical structure of a database can be expressed graphically by
an Entity-Relationship (ER) diagram. The entity-relationship model for data
uses three features to describe data: Entity, attributes, Relationship. While
drawing, the ER diagram, entity names are represented by a rectangle,
relationships are represented by a diamond and oval shapes represent attributes.
Attributes: Various types of data items that describe an entity are known as
attributes. For Example, name, address, etc.
Sl.
NAME SYMBOL DESCRIPTION
No.
Represent Relationship
3 Diamond
Among Entities
33 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM 2022
34 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM 2022
35 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM 2022
Fig. 4 ER Diagram
Input design
Inaccurate input design data are the most common course of error in data
processing. Errors entered by data entry operators can be controlled by input
design. Input design is the process of converting user-originated inputs to a
computer-based format.
Parts of System Design, which deals with the design of interface through
which user communicate, with the system and deeds the inputs data to the
system is known as the Input Design of the system.
Output Design
Computer output is the most important and direct source to the user. The
output of a computer system is the primary contact between the system and
most users. Stored result or computed by a computer must be printed or
displayed in order to be beneficial to the users. The Quality of this output and
its usefulness determines whether the system will be or not i.e. computer
produces displays and prints report that are to be read and used by people.
36 | P a g e
Designed and developed by Ngangom Jeepson Singh
HOSTEL MANAGEMENT SYSTEM 2022
They must be clear, neat and easy to understand. Hence, it is essential to have
the best possible output.
The part of the system Design which deals with determining how the
output is to be presented, that is in what format or shape, is known as output
design of the system.
37 | P a g e
Designed and developed by Ngangom Jeepson Singh