Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PROJECT SUPERVISOR
MIAN MUHAMMAD MUNIR UD DIN
GROUP MEMBERS
__________________
(For Office Use Only)
2
ABSTRACT
The existing system is a manually maintained system. All the hostel student details are entered
into records manually. Separate records are to be maintained for the details of each student, fee
details, room allocation, attendance etc. All these details are entered and retrieved manually. We
have researched on much software in internet, related our field and we have found that database
management system is less used for hostel management but it is used in other fields. Most of them
were web-based. Management Systems like library management, hospital management, student
management are used much. In Library Management System, system used to manages the catalog
of a library. This helps to keep the records of whole transactions of the books available in the
library. In this system we found many admin panels those who were library staffs. In Hospital
management System, system tracks its day-today activities & records of its patients, doctors,
nurses, and other staff personals that keep the hospital running smoothly & successfully.
Description of our project like other system, we can store information. This Hostel Management
System is developed in context of the hostel management team which helps them to save the
records of the students about their room and all other necessary things. This solution is developed
on the plight of the hostel management team through this they cannot require so efficient person
to handle and manage the affairs of the students in the hostel. All you need to do is login as
administrator and you can see the information of all the students who use hostel. Identification of
the problems of the existing hostel management leads to the development of the computerized
solution that will be compatible to the existing hostel management, with the solution which is
more users friendly and more GUI oriented. We can improve the efficiency of the hostel
management, thus overcome the drawbacks of the existing management. Hence the aim of the
system is to provide the computerized management system for hostel that will transform the
hostels from its manual state to a well-known designed computerized state. Thus to say overall
our software reduces the work of admin penal and also through this we can check the personal
profiles of all the current students within few seconds.
3
ACKNOWLEDGMENT
Firstly, I am grateful to Allah Almighty who blessed me with courage and strength so that I may
accomplish my project. Verily He is All Knowing, All Seeing.
I thank my group members who helped me to accomplish this project. And my teachers who
supported me and elevated my spirit to fulfill my tasks and complete it.
We extend our sincere and heart felt thanks to our esteemed guide, Sir Mateen, Sir Wajid and Sir
Aezaz for providing us with the right guidance and advice at the crucial junctures and for showing
us the right way. We extend our sincere thanks to our respected head of the department Mr. Munir
Ud Din for allowing us to use the facilities available. We would like to thank the other faculty
members also, at this occasion. Last but not the least, we would like to thank friends for the
support and encouragement they have given us during the course of our work.
Muhammed Waqar Bhutta
Muhammad Talha Akhtar
Saad Mansoor
4
TABLE OF CONTENTS
CERTIFICATE ........................................................................................................................................... 2
ABSTRACT ............................................................................................................................................... 3
ACKNOWLEDGMENT............................................................................................................................ 4
TABLE OF CONTENTS ........................................................................................................................... 5
CHAPTER 1 .............................................................................................................................................. 2
Introduction ................................................................................................................................................ 2
Problem Statement ..................................................................................................................................... 3
Problem Discussion ................................................................................................................................... 3
Analysis of the Existing System ................................................................................................................ 3
Advantages of the Existing System ........................................................................................ 3
Disadvantages of the Existing System ................................................................................... 3
Solution to the Problems Identified ........................................................................................................... 4
Justification for the Proposed System ........................................................................................................ 4
Analysis of the Proposed System ........................................................................................... 4
Advantages of the Proposed System ...................................................................................... 5
Scope .......................................................................................................................................................... 6
Requirements ............................................................................................................................................. 7
Functional Requirements ................................................................................................................. 7
NON-Functional Requirements ....................................................................................................... 8
FEASIBILITY STUDY ............................................................................................................................. 9
Economic Feasibility .............................................................................................................. 9
Tools and Technology ...................................................................................................................... 9
Hardware Requirements ......................................................................................................... 9
Software Requirements ........................................................................................................ 10
Other Details ......................................................................................................................... 11
Behavioral Feasibility Analysis ...................................................................................................... 11
CHAPTER 2 ............................................................................................................................................ 12
Literature Review..................................................................................................................................... 12
Existing System .............................................................................................................................. 12
Previous Related Software Packages.................................................................................... 12
Other Related Works ............................................................................................................ 13
CHAPTER 3 ............................................................................................................................................ 15
Methodology ............................................................................................................................................ 15
Advantages of Object Oriented Methodology ............................................................................... 15
Design ...................................................................................................................................................... 16
Use Case Diagram .......................................................................................................................... 16
Collaboration Diagram (Communication Diagram) ...................................................................... 17
Sequence Diagram ......................................................................................................................... 18
Entity Relationship Diagram .......................................................................................................... 19
Gantt Chart(Time Constraints)................................................................................................................. 20
Conclusion ............................................................................................................................................... 21
User Interface ........................................................................................................................................... 22
The Main Page ............................................................................................................................... 22
User Login: Dashboard .................................................................................................................. 22
User Login: My Profile .................................................................................................................. 22
User Login: Admit in Hostel (Book hostel) ................................................................................... 23
User Login: Change Password ....................................................................................................... 25
User Login: My Room ................................................................................................................... 26
5
Admin Login: Dashboard ............................................................................................................... 26
Admin Login: Courses ................................................................................................................... 26
Admin Login: Rooms ..................................................................................................................... 27
Admin Login: Students Registration .............................................................................................. 27
Admin Login: Admin Profile ......................................................................................................... 28
LIST OF TABLES ................................................................................................................................... 29
Admin Table ................................................................................................................................... 29
City Table ....................................................................................................................................... 29
Courses Table ................................................................................................................................. 29
Registration Table .......................................................................................................................... 29
Rooms Table ................................................................................................................................... 30
UserLog Table ................................................................................................................................ 30
UserRegistratation Table ................................................................................................................ 30
References ................................................................................................................................................ 32
6
Project Title Hostel Management System
CHAPTER 1
1.1 Introduction
As the name specifies “HOSTEL MANAGEMENT SYSTEM” is software developed for managing
various activities in the hostel. For the past few years the number of educational institutions is
increasing rapidly. Thereby the number of hostels is also increasing for the accommodation of the
students studying in this institution. And hence there is a lot of strain on the person who are running the
hostel and software’s are not usually used in this context. This particular project deals with the
problems on managing a hostel and avoids the problems which occur when carried manually. Because
of the enhancement of technology in every field of life, everyone wants to do his work very fast or even
in almost no time. In every organization, there is a need of quick system and therefore different
programs are developed to face these desires related to any field. Hostel management system is the
system of managing all the hostel actions. The software is used to automate the activities of the hostel.
The activities like, user management, record keeping and the processing of data. Identification of the
drawbacks of the existing system leads to the designing of computerized system that will be compatible
to the existing system with the system which is more user friendly and more GUI oriented. We can
improve the efficiency of the system, thus overcome the drawbacks of the existing system.
Power supply does not affect the operation of the current system.
The current system can be used by both computer literates and non-computer literates.
The existing system is characterized but not limited to the following inefficiencies:
The current system makes the retrieval of information very difficult because of the large volume
of file one has to sort through to retrieve or have access to one’s file.
The current system lacks adequate security because unauthorized users can have access to
information which makes inefficient.
The current system is vulnerable to natural disaster like flood, fire outbreak and rodent attack of
files which will cause loss of information.
The current system lacks a computer-based database for the storage of files which makes these
files to occupy the physical storage space.
Lots of time is devoted to the filling of forms in logical for easy retrieval of information.
There is insufficient manpower to cope with the growing population.
The proposed system which is a web-based that can be launched on the internet or run on a server is a
robust system which interconnects all the departments and personnel involved in the student’s
management and allocation process in a network. The system also have robust database for the storage
of information in all places where students data needs to be stored.
The proposed system will automate the hostel’s allocation/management process thereby eliminating the
loopholes associated with the current system. The use of database will help in easy retrieval of
information and control data concurrency. The use of password will be incorporated to maintain and
ensure data security and integrity. The online connection of all the departments and the relevant
personnel involved in the allocation process will help users to locate and view information faster and
use application that is relevant to their roles and responsibilities. The new system is cost effective
because information can be accessed through web browsers rather than maintaining physical
documents which will help to save money on printing, duplicating of documents as well as document
maintenance overhead.
1.7 Scope
Scope of this online system is in every hostel modular business or hostel systems to manage data &
system as dynamically by web access. This project which is web-based, automates the student’s hostel
application process, allocates rooms to students, notifies students of their application status anytime
they log onto the portal and also maintains the integrity of the information being processed by using
password to limit access to only approved individuals. The system also creates automatic database for
the storage of students and staffs information. The administrative persons can generate monthly reports
by admin login to manage hostel scenario and future possibilities as access would be easy. In Future,
we can also enhance business possibilities in the current market area. It can manage hostel inventories
online as in web based. It can enlarge flexibilities in the existing system with web based user
interactive interface. In an future, this system can be extended up to accept the online fee payments as
with source of net banking and also can do analysis on the hosteller mess reviews and payment records
of mess. It can also serve the feedback system to each visitor or guest for rating and review of features
of the hostel.
1.8 Requirements
6. Record synced with college students record. If a student leaves college, his room
allocation will also become non-
reserved.
8. Admin can change permission rights of students. Admin can give some rights to the
students.
Total budget for hostel management is nearly R.S 50,000/- annually. Our project, Online HMS, will
cost approximately R.S 33,000/- for just one time only. So, our HMS is completely in budget and
economically feasible. Human work and their monthly pay is not included in this economic feasibility
study as they had to be paid even without this HMS software. This HMS has no concern for the cost or
budget of employee nor for the cost at any student’s end.
1. Computer 20,000
1. Laptop
7. Miscellaneous 1,000
The hardware is the physical and tangible components of a system unit which will function together to
perform the required task. These components are:
Central processing unit (CPU): at least 1.0 GHz processor of i3 2nd generation.
Network Internet Connection: PTCL[8] DSL[9] permanent connection of 4mbps.
512MB RAM
10 GB hard disk space
peripherals
Uninterrupted power supply (UPS)
The technologies/tools that will be used for this work are as follows:
HTML:[1] Hypertext Mark-up Language is a web design application that works with codes on it. It is
the oldest application for designing websites. The HTML editor is similar to creating documents in
Microsoft word. A website is a whole bunch of interconnected computers talking to one another. The
computers on the web are typically connected by phone lines, digital satellites signals cables and other
types of data-transfer mechanisms. The codes written are viewed in the World Wide Web browser. The
HTML carries on it images, music, text etc.
PHP:[2] PHP is a powerful tool for making dynamic and interactive web pages; PHP is widely used,
free, and efficient competitors such as Microsoft’s ASP. PHP is an HTML embedded scripting
language, much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP specific
features thrown in. the goal of the language is to allow web developers to write dynamically generated
pages quickly. PHP is used to establish the database connection, it is also used to make some queries on
this project.
MySQL:[3] MySQL is a relational database management system. It stores data in separate tables rather
than putting all the data in one big store room. This adds speed flexibility. The MySQL database server
is very fast, reliable, cheaper and easy to use and learn. MySQL today offers a rich and useful set of
functions. Its connectivity, speed and security make it highly suited for accessing databases on the
internet, it also supports clustering technology. On this project MySQL is used for creating the
database.
XAMP SERVER:[4] This is a local server that hosts a website that is designed for a test run. It is not
accessible through the internet; it is only on the system on which it is installed that it functions. It is
functional on only windows operating system.
JAVASCRIPT:[5] JAVASCRIPT is a web tool that adds interactive functions to HTML pages, which
are otherwise static, since HTML is a display language, not a programming language. On the client,
JavaScript is maintained as source codeembedded into an HTML page. On the server, it is compiled
into byte code (intermediate language), similar to java programs.
CSS:[6] Cascading style sheets have been used for document designs for years. They are the technical
specifications for layout, whether print or online. Print designers use style sheets to ensure that their
designs are printed exactly to specifications.
Microsoft Visio:[7] Visio is a program that falls under the Microsoft Office suite of products. It is used
for many things that utilize layouts, diagrams and charts. The graphics that are used in Visio are
standard images utilized by flowcharts, decision diagrams, playbooks and even network diagramming.
It even has enough diagrams to make planning a room layout for a conference accurate and simple.
Normally, many students of giccl who wish to be hosteled, submit their application forms in
September, October when admissions are open in the college. On these months the database of our
HMS will need to be updated frequently, requiring more resources. And in other months not much
students leave or reside in the hostel, requiring less human effort and less power consumption. Students
must have an internet connection to register themselves for the hostel. And their application must be
able to efficiently, adequately, and speedily processed at all times, requiring above mentioned hardware
and software packages apart from primary and backup power supply of HMS servers present in the
hostel building. So keeping in mind all these conditions, we still can say that our HMS is feasible in
terms of Technology.
CHAPTER 2
Hostel Management System for University of South Asia[11]is one of the best software to
manage hostels. It supports managing high number of student records effectively and efficiently.
But unfortunately its implementation was too much costly and it cannot be used for this college.
Online Hostel Management System for University of Otago, New Zealand[12]has a very
popular system for managing hostels. Their fame is solely due to its online feasibility. It has ability
to manage up to 10,000 students, staff members, teachers and other employee. Students of the
University can apply for hostalization sitting in their homes. And teachers, or managers of the
hostel can approve or disapprove them from their homes. No one needs to go to the university, For
management nor for applying for accommodations.
But it had two major problems making it not suitable for giccl, including: Not developed
specifically for college level, learning how to use it, is difficult, implementation of such big
program would be out of budget.
Hostel Management System for Govt. College University, Lahore[13]is the most suitable
program that can be implemented in giccl. But it had some issues as it was not optimized for
windows, starts slow and requires much time to find some record from the database. It did not had a
beautiful GUI.
A journal has been written about hostel policy by Smithey.P[15]and this journal discusses about
a contextual analysis of resident management in public housing. Resident management is a policy
that allows the tenants of the apartment to act wisely fully to settle the community problem, gain
the support from public and some funding. By using black empowerment cities as a research,
Smithey find out a suitable way to manage resident in public housing. By using this journal, one
can know what was needed in an apartment or hostel for students to live and what are the
requirements for a good resident.
A new role for student housing, revitalizing a mid-sized city core[16]is a journal that has been
written by Bowman K. the journal discusses about students residence. The survey from 380
respondents’ shows 1.6% expressed a desire to live in a student residence. Majority of students’
response indicate that they want to choose their own living environment than dormitory standard
space. The other results shows that they would like to add the parking lot, restaurants and grocery
store as the additional facilities at their resident. The apartments that are provided to students have
occupancy range from one to four people. The individual rooms were organized suitable to the
student’s activities in their rooms.
The ecological footprint of hostel tourists in Ontorio and Quebec[17]is a journal that had been
written by Purvis C. and it discusses about hostels survey. This
survey required detailed information on sample hostels. The survey was designed
appropriately to collect the information about the hostel. A qualitative questionnaire was
designed to get their opinion about the sample hostels. The collected information includes
the occupants, the month that gets higher occupants, and the facilities of the sample
hostels. After the survey, the manager will make the analysis about the sample hostels.
CHAPTER 3
3.1 Methodology
The Methodology for this project is object oriented methodology (OOP). We live in a world of
objects. These objects exist in nature, in man-made entities, in business, and in the products that
we use. They can be categorized, described, organized, combined, manipulated and created.
Therefore, an object-oriented view has come into picture for creation of computer software. An
object- oriented approach to the development of software was proposed in late 1960s. Object-
Oriented development requires that object-oriented techniques be used during the analysis, and
implementation of the system. This methodology asks the analyst to determine what the objects of
the system are, how they behave over time or in response to events, and what responsibilities and
relationships an object has to other objects. Object-oriented analysis has the analyst look at all the
objects in a system, their commonalties, difference, and how the system needs to manipulate the
objects. OOM of building systems takes the objects as the basis, Firstly, the system to be
developed is observed and analyzed and the requirements are defined. Secondly, the objects in the
required system are identified e.g. students, admin, computer systems, online allocation system etc.
in simple terms, OOM is based on identifying the objects in a system and their interrelationships,
once this is done, the implementation of the system is done. The basic steps of system designing
using Object Modelling may be listed as: a. System Analysis b. System Design c. Object Design
d. Implementation
3.3 Design
3.3.1 Use Case Diagram
Analysis
Designing
Coding
Testing
Implementation
Documentation
3.5 Conclusion
In conclusion, the hostel management system developed in PHP provides a platform for students of
Govt. Islamlia College Civil Lines Lahore to carryout hostel application online and to also enable
the staffs manage the hostel applications. The proposed system is faster and efficient compared to
the existing system and can perform the following task: a. online hostel application b. online
students and staff information management c. online hostel application approval based on first
come first serve d. viewing hostel application status online e. Sending of application alert to
students via sms.
The software does not capture online payment, other hostel issues such as mess activities, visitors
profile etc.
User Interface
The Main Page
Students can register before they can enroll in the hostel.
LIST OF TABLES
Admin Table
City Table
Courses Table
Registration Table
Rooms Table
UserLog Table
UserRegistratation Table
CHAPTER 7
USER MANUAL
Here is the User guide for project to run on Local PC and how to use functionality of
project. User interacts with the software with the help of following steps. What the first
page user interacts with is the main page of Hostel Management System. In this page
different tabs are used. These tabs names are HOME, ABOUT US, CONTACT US,
Installing XAMPP:
• Click Next.
• XAMPP offers a variety of components that you can install, such as MySQL,
• Click Install
Step 1: Start the XAMPP program. When started, XAMPP loads itself into your icon tray. The
Icon is orange with a white bone-like shape in its center. Single-click the icon to expand
The Control Panel. Click on the "Start" button next to "Apache" to start your Apache Web
server. When Apache is running, the word "Running" will appear next to it, highlighted in green.
Also Start "MySQL" if your PHP scripts depend on a MySQL database to run.
Step 2: Place your PHP files in the "htd docs" folder located under the "XAMMP" folder on
You’re C: drive. The file path is "C:\xampp\htdocs" for your Web server. Make sure your PHP
files are saved as such; they must have the ".php" file extension. Open up any Web browser on
your Desktop and enter "local host" into the address box. The browser will open a list of files
stored under the "Htdocs" folder on your computer. Click on the link to a PHP file and open it
to run a Script.
Step 3: Create any folders you need to test PHP files in under the "htdocs" folder. If you
Create a folder named "scripts," then use the address "local host/scripts" to open them in your
Browser.
Step 2: Click New button to create a new database. In the new window, name your database
as per your need; I am naming it “hostel”. Now select Collation as utf8_general_ci, as we are
using it for learning purposes and it will handle all of our queries and data that will be covered
in this tutorial series. Now click on Create and your database will be created. The newly
created database will be empty now, as there are no tables in it. I will be covering that in the
upcoming series where we will learn how to create tables and insert data in it.
Step 3: Now, locate the folder where you installed XAMPP and open Htdocs folder (usually
c:/xampp). Create a new folder inside c: /Xampp/htdocs/ and name its “practices” we will place
web Files in this folder. Why we have created folder in Htdocs? XAMPP uses folders in Htdocs
Step 4: Create a new php file and name it Database and save it. Why am I creating a
Separate database connection file? Because if you have created multiple files in which you
want
To insert data or select data from the databases, you don’t need to write the code for database
Connection every time. You just have to include it by using PHP custom
Function include (include ‘connection. Php’) on the top of your code and call its function and
use
It. It also helps when you are moving your project location from one PC to another and you
have
To change the values on the single file and all the changes will be applied to all the other files
• In the home page you see different tabs like HOME, ABOUT US, CONTACT US,
FAQS and LOGIN/Register. Click on “About” and see the useful information about
Register User:
• You are shown a new page. Click on “User Registration” in the navigation.
• If you want to cancel your registration process you can do so by clicking “Cancel”
About Page:
• In “About” page the user can view information about the developing team and their
work.
• Users can click on the “About” button located in the Navigation bar in the home
After entering the required data user clicks on the “Login” button.
If credentials are valid then the system will log the user in, otherwise user will be redirected to
same page with an error message to enter credentials again.
References
[1] Steve Faulkner (The Paciello Group), Arron Eicholz (Microsoft), and Travis Leithead (Microsoft),
“HTML 5.2,” 2017. [Online]. Available: https://www.w3.org/TR/html52/. [Accessed: 11-Feb-2019].
[2] “PHP: What is PHP? - Manual.” [Online]. Available: http://php.net/manual/en/intro-whatis.php.
[Accessed: 11-Feb-2019].
[3] Oracle Corporation, “MySQL,” May 23, 1995. [Online]. Available: https://www.mysql.com/.
[Accessed: 11-Feb-2019].
[4] Apache Friends, “XAMPP Installers and Downloads for Apache Friends.” [Online]. Available:
https://www.apachefriends.org/index.html. [Accessed: 11-Feb-2019].
[5] Netscape Communications Corporation, Mozilla Foundation, and Ecma International,
“JavaScript.com,” December 4, 1995, 1995. [Online]. Available: https://www.javascript.com/.
[Accessed: 11-Feb-2019].
[6] H. W. Lie and B. Bos, Cascading style sheets : designing for the Web. Addison-Wesley, 1999.
[7] Microsoft Corporation, “Flowchart Maker and Diagramming Software - Microsoft Visio,” October 1,
2018, 2018. [Online]. Available: https://products.office.com/en/visio/flowchart-software. [Accessed:
11-Feb-2019].
[8] Government of Pakistan, “About PTCL.” [Online]. Available:
https://ptcl.com.pk/Home/PageDetail?ItemId=395&linkId=949. [Accessed: 12-Feb-2019].
[9] PTCL, “Unlimited Internet Packages.” [Online]. Available:
https://ptcl.com.pk/Home/PageDetail?ItemId=122&linkId=176. [Accessed: 12-Feb-2019].
[10] O. New Zealand, “Cloudbeds - Hospitality Management Software for Hotels, Hostels & More.” .
[11] Derwing, T. M., Rossiter, M. J., & Munro, M. J. (2002). Hostel Management. Journal of Multipurpose
and Integrated Hostels, 23(4), 245-259
[12] “Residential Colleges, University of Otago, New Zealand.” .
[13] GCU institution, “Govt. College University, Hostel Management.” .
[14] E. F. Guirguis and E. F. Guirguis, “A review of the hostel situation in county down, Northern Ireland,”
International Journal of Social Psychiatry, vol. 23, no. 2. pp. 140–148, 1977.
[15] عيسى. اand Smithy.P, “Smithey. PN (1999). Empower and Partification: A contextual analysis of
resident management in public housing, 150.”
[16] K. Bowman, “New Role For Student Housing,” p. 173, 2007.
[17] C. Purvis, “The ecological footprint of hostel tourists in Ontario and Quebec,” vol. M.A.E.S., p. 163,
2008.
[18] Q. Catherine and G. De Jager, “Hot water usage profiling to improve geyser efficiency,” J. Energy
South. Africa, vol. 23, no. 1, pp. 39–45, 2012.