Hostel Database Management System
Hostel Database Management System
System
Project
Introduction
This blog is design to implement the our project named as hostel management
database system.
Proposal
The basic purpose of designing this project is to get rid from manual entry and
record system and try to give easy and simple database management system
for hostels.
This project is designed to keep the record of the students living in hostel,
allocation of rooms, their monthly or semester wise dues and many more
things but we are trying to make this management system as much as simple
and easy as we can, but we well try to cover all the basic elements use for
hostel management database.
As mentioned earlier we will try to make our project easy and simple so it can
be implement at any level and can be productive and useful for any hostel
administration.
Members:
We are two members (Muhammad Fahad & Asad Ali), we will try to work
together throughout the project to make it more effective and efficient.
Abstract View:
Just mention the screenshot to show the abstract view it can be extend and
reduce according to requirement and thinking during the designing of
project.
Changes can be possible later on.....!
Hostel management system is design so that our universities and colleges can easily
manage the data of students and related things.
For the best understanding first we have to define the project scope or the scenario
because different problem can be solve different design and more than one scenarios
can be created for each problem. People design them according to their thinking.
We are also creating some type scenario so that our design can be bit specific for
some kind of situation.
Our project is defined as;
As we can see that our university has the facility of hostel for boys and girls.
We will focus on the boy’s hostel only as almost all the things will be same in both
hostel we will manage only boys so that it will be simple and easy to understand for
everyone.
Obviously many students will be living in the boy’s hostel.
Boy’s hostel has many rooms for the accommodation of the students in which more
than one student accommodate their self.
Each room has assigned different types of furniture for the students so they can
easily spend the time in room.
There are many workers in the boy’s hostel who work in the mess and hostel as well
(cleaning, washing etc );
Every student must submit his fees in-time so they can get the every facility in hostel.
For the food service the hostel management is providing the facility of mess for
students so students and easily get the meal in hostel.
It is also possible that visitors can come to meet students those are living in hostel.
Formal Specification
This document is explaining about the entities we are using in the project,
reason for choosing the entities their attributes how they will
work ,data_type, size, primary key, foreign key , constraints (if exists) and
flow of data that how the data will move between the entities.
Basically this is designed to make it more easy and understandable for
everyone.
Entities:
1. hostel
2. Students
3. Fees
4. Room
5. Furniture
6. Mess
7. Mess_employee/staff
8. Visitor
Hostel:
Many institutes provide the facility of hostel for boys and girls.
But we are mentioning only boys here , almost all the working is same in both
hostels.
Reason:
We are taking the entity named as hostel because from here data will move to
other entities and we will manage the database.
This entity will manage the data of students in hostel.
Attributes:
If we talk about the attributes, there can be many but we have mention only
few those will be more help full to make the project workable and simple.
Primary Key:
Building_num because one institute can have more than one block or building
so by assigning the num it will be easy to track the data.
Constraints:
Primary key should be unique and cannot be null.
Data Flow:
Only administrator will get in the system and manage the database and check
the status of students and will allocate the room to new students.
It will also do the check and balance of mess.
The data will move from here to different side like the branches of tree.
Students:
Students will be in hostel or hostel has students.
Reason:
The reason for choosing this entity is that ,student is the main entity in the
hostel and we will keep the database of students and logically related things
with the students.
Attributes:
Studend_id, Student_name , father_name,department, room_id, cell_no, age,
DOB etc
These are selected so that hostel administration can easily manage the whole
information about student and through different perspectives students can be
accessed by hostel management.
Primary Key:
Student_id is the primary key and it can’t be null.
Constraints:
Primary key should be unique and cannot be null.
When primary key move to the other relation and join the tables the values
should be same.
Data Flow:
The admin will enter the data of students (this entity), on the basis of
different attributes like age, department the administrator will assign the
room so that the students of same age fellow and alike department can share
the room.
Room:
Students come in the hostel to get the room.
Reason:
Room will be allotted to different students, so the students can be accessed by
the attributes of room as well.
Attributes:
There can be many attribute in this entity
No_of_students, Students_name, furniture_id ,student_id can be added as a
foreign key to relate the both entities.
As we have composite foreign key this is coming from admin to student and
then student to room.
Primary Key:
Room_id is the primary key and it can’t be null.
Constraints:
Primary key should be unique and cannot be null.
As we have composite foreign key in this table which is of boys_hostel_admin
and student so there data-type size and values should be same.
Data Flow:
We can also see that there is a composite foreign key which is of
boys_hostel_admin and student so data will flow from admin to student and
student to room.
But in ER diagram we can see there is direct relation of admin and room so
admin can retrieve the condition and data of room directly as well.
Fees:
Obviously when students will live in the hostel they will submit fee.
Reason:
This is weak entity here because if the student will exist then fee will be
submitted other-wise not.
When students will live in hostel there will be fees charges on the monthly
basis.
Attributes:
There will be few attributes because it is the weak entity and just made to
keep the fees status of student.
Primary Key:
student_id is the primary key and it can’t be null.
Constraints:
student_id is the primary key and foreign key as well. it can’t be null.
Data Flow:
The data will follow the route, admin to student and then fees.
Admin will check the student status by getting in the student entity and fees is
a weak entity attached to the student so admin will be able to check the fees
status of student.
Furniture:
Reason:
The reason for adding this entity is to just track the either students are getting
the facilities promised by the institute or not.
Attributes:
Furniture_type: chair, table etc
Datatype And Size:
Each attribute have the suitable datatype and size according to the
requirement.
Primary Key:
Furniture_id
Constraints:
Primary key should be unique and cannot be null.
Foreign key (room_id) will be same as values in room relation
Data Flow:
The data come from room boys_hostel_admin will track through it.
Mess:
Students will get the facility of mess
Reason:
Students will get the facility of mess. It can be considered as marketing
strategy so more students will come in this hostel because every hostel do not
give this facility.
Attributes:
There will be mess incharge , who will handle the mess, there will be monthly
expenses of each student, students name to know which have got their meal
or not.
Mess timing can be added to make the environment much better.
Primary Key:
Mess_incharge will be the primary key
Constraints:
Primary key should be unique and cannot be null.
Data Flow:
Admin will check the mess staff and then staff will manage it.
Mess_employees:
Reason:
There will be staff in mess and hostel as well.
Some will work in mess and others like sweepers in hostel and many more.
Attributes:
Employee_name, address, salary, cell_no etc are the attributes used in this
entity.
Datatype And Size:
Each attribute have the suitable datatype and size according to the
requirement.
Primary Key:
Employee_id is used as a primary key.
Constraints:
Primary key should be unique and cannot be null.
Mess_incharge will be foreign key in this table.
Data Flow:
The data will flow from admin to staff and then mess.
Visitors:
Reason:
This entity is added as the extra entity so that our project can be look
complete from every aspect.
Attributes:
Student_id,visitor_name,time_in,time_out,date these are the attributes to
check what time visitor came and when he/she will leave the hostel.
Primary Key:
CNIC is considered as primary key.
Constraints:
Primary key should be unique and cannot be null.
Student_id will be the foreign key in this.
Data Flow:
This is the optional entity and data will come from student and admin.
Admin can log in to see the student data in which visitor is also attached with
the foreign key so admin can keep eye on the visitor position of every student.
•Meta-Data
Entity Names Data-Type Size Key/Non-key
Attributes
Hostel:
Hostel_id int 10 Primary key
No_of_room Int 25 Non_key attribute
No_of_students int 10 Non_key attribute
Annual_expenses Int 25 Non_key attribute
Location Varchar 10 Non_key attribute
Students:
Student_id Int 10 Primary_key
Student_name Varchar 40 Non_key attribute
Student_fathername Varchar 40 Non_key attribute
Department Varchar 30 Non_key attribute
Cell_no Int 20 Non_key attribute
Age Int 5 Non_key attribute
DOB int 15 Non_key attribute
Room:
Room_id Int 10 Primary key
Capacity Int 10 Non_key attribute
Name_of_students varchar 40 Non_key attribute
Mess:
Mess_incharge Int 20 Primary key
Monthly_avg_expence Int 30 Non_key attribute
Mess_Timing TIME By-default Non_key attribute
Staff:
Emp_id Int 20 Primary key
Emp_name Varchar 40 Non_key attribute
Address Varchar 50 Non_key attribute
Emp_salary Int 20 Non_key attribute
Cell_no Int 20 Non_key attribute
Furniture:
Furniture_id Int 10 Primary key
Furniture_type varchar 40 Non_key attribute
Fee:
Fee_month Varchar 45 Primary key
Fee_status varchar 45 Non_key attribute
Visitor:
CNIC int 15 Primary key
Student_id int 10 Non_key attribute
Visitor_name varchar 40 Non_key attribute
Time_in time By_default Non_key attribute
Time_out time By_default Non_key attribute
Date date By_default Non_key attribute
use hostel;
show databases;
This is just showing that any institute can have many hostel but we will take the
only one of them and will manage the data for them.
######################################################################
############################################################
Let us take the example that we need the data about rooms having capacity mean
those which are not full so new student can get the accommodation.
######################################################################
############################################################
create table mess
(
mess_incharge_Id varchar (20) not null,
monthly_avg_expence varchar (30) not null,
mess_bf_timing varchar (45) not null,
mess_dinner_timing varchar (45) not null,
sunday_bf_timing varchar (45) not null,
primary key ( mess_incharge_Id)
);
drop table mess;
insert into mess values
('9321','102400','7:00 AM to 8:45 AM','7:30 PM to 8:45 PM','9:00 AM to 11:00 AM'),
('9322','106400','7:30 AM to 8:45 AM','7:00 PM to 8:45 PM','9:00 AM to 11:00 AM');
select * from mess;
######################################################################
############################################################
######################################################################
############################################################
######################################################################
############################################################
######################################################################
############################################################
create table Fee
('january-2014','paid','101','asad'),
('february-2014','not paid','101','asad'),
('march-2014','paid','101','asad'),
('april-2014','not paid','101','asad'),
('may-2013','paid','101','asad'),
('january-2013','paid','101','asad'),
('march-2013','piad','101','asad'),
('dec-2014','paid','101','asad'),
('februay-2013','not paid','101','asad'),
('nov-2013','paid','101','asad'),
('april-2013','not paid','101','asad'),
('may-2014','paid','101','asad');
######################################################################
#################################################
Joins
•Select room.no_of_student,room.room_id,room.capacity,student.student_name fro
m room inner join student
on room.room_id=student.room_id where room.no_of_student<2;
hostel.web44.net
##############################################################
##################################
Thanks
Division of labour and Main feature of project has not been mentioned in the project,,
Reply
Replies
1.
2.
What is cnis
Reply
2.
1.
UnknownMay 7, 2014 at 10:33 PM
Nomi fanx :)
Reply
3.
4.
ER diagram is awosomee
Reply
Replies
1.
5.
1.
6.
best Fahad bro it easy and simple everyone can understand it easily
Reply
7.
can u help mi
Reply
8.
o7m project
Reply
9.
10.
11.
12.
amazing blog sir. thanks for sharing useful information.its really beautiful blog post.
awesome diagram. thanks for sister.Employee Management System
Reply
13.
14.
Great Blog with good content. thanks for sharing this blog with us. For more Employee
Management System Click here.
Reply
15.
awesome post. Such a nice blog i really like what you write in these blog i also have
some relevant information about online hrm software if you want more information
please check our blog on too Employee Management System. thanks for this useful
information.................
Reply
16.
thank you so much you just saved my semester love from jhelum ummmaahhhhhhhh
Reply
17.
Where is the hostel most important staff like "Warden" who will enter all these data of
student and manage? you should enter that as it is most relevant to student.
Reply
18.
19.
20.
21.
22.
23.
Halo,I'm Helena Julio from Ecuador,I want to talk good about Le_Meridian Funding
Investors on this topic.Le_Meridian Funding Investors gives me financial support when
all bank in my city turned down my request to grant me a loan of 500,000.00 USD, I
tried all i could to get a loan from my banks here in Ecuador but they all turned me
down because my credit was low but with god grace I came to know about Le_Meridian
so I decided to give a try to apply for the loan. with God willing they grant me loan of
500,000.00 USD the loan request that my banks here in Ecuador has turned me down
for, it was really awesome doing business with them and my business is going well
now. Here is Le_Meridian Funding Investment Email/WhatsApp Contact if you wish to
apply loan from them.Email:[email protected] /
[email protected] Contact:+1-989-394-3740.
Reply
24.
Provide normalisation
Reply
25.
UnknownOctober 18, 2019 at 7:04 AM
26.
28.
Welcome to the Wida supplier, WIDA is the construction Intelligence agency in Dubai,
UAE that provides the best building material and construction projects database
service. Contact us now - +971 4 399 24 20
29.
love to see such great article, as hostel life is most charming life ever, there are some
common myth about hostel i.e; safety, dirty or dank and drunk environments etc but
these are not liable and just myths. yhe thing that matter is just that you choose hostel
which suits you according to your mood and bidget
Reply
30.
I just thought it may be an idea to post incase anyone else was having problems
researching but I am a little unsure if I am allowed to put names and addresses on
here. hobo data logger
Reply
32.
33.
Want get that link of this project how can I access I.e to implement
Can you pls send the link and login and password to access the implementation to my
mail
Reply
34.
Want get that link of this project how can I access I.e to implement
Can you pls send the link and login and password to access the implementation to my
mail
Reply
35.
36.
37.
Fantastic article with very good information, here I would like to thank you for sharing
for such nice article and looking forward for more articles in futures. I love to read this
types of articles. Dormitory
Reply
38.
39.
Thanks for the information, truMe has revolutionized the Touchless attendance
management system by doing away with the hardware and using the ubiquitous mobile
phone to make it a pleasant experience. An organization can start using truMe
Attendance Management System instantly by registering online.
Reply
40.
I simply want to say I’m very new to blogs and actually loved you’re blog site. Almost
certainly I’m going to bookmark your blog post . You absolutely come with great well
written articles.
Visitor Management System
Visitor Management System Dubai
Visitor Management Software Dubai
Visitor Management System UAE
Visitor Management Software
Visitor Management App
Reply
41.
42.
Reply
43.
Good post!Thank you so much for sharing this pretty post,it was so good to read and
useful to improve my knowledge as updated one. Cheapest dormitory
Reply
44.
45.
This is an awesome post. Really very informative and creative content. This concept is
a good way to enhance knowledge.
cheapest dormitory
Reply
46.
Really cool post! This was exactly the same school & hostel management system that
I'm looking for our small education firm that we were trying to find out more about our
own industry. Thanks for putting this great blog regarding hostel & school management
system!
Reply
47.
48.
49.
coin haber - koin haber - kripto para haberleri - coin haber - instagram video
indir - instagram takipçi satın al - instagram takipçi satın al - tiktok takipçi satın
al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın
al - instagram takipçi satın al - instagram takipçi satın al - binance güvenilir mi - binance
güvenilir mi - binance güvenilir mi - binance güvenilir mi - instagram beğeni satın
al - instagram beğeni satın al - google haritalara yer ekleme - btcturk güvenilir
mi - binance hesap açma - kuşadası kiralık villa - tiktok izlenme satın al - instagram
takipçi satın al - sms onay - paribu sahibi - binance sahibi - btcturk sahibi - paribu ne
zaman kuruldu - binance ne zaman kuruldu - btcturk ne zaman kuruldu - youtube
izlenme satın al - torrent oyun - google haritalara yer ekleme - altyapısız
internet - bedava internet - no deposit bonus forex - erkek spor ayakkabı - tiktok jeton
hilesi - tiktok beğeni satın al - microsoft word indir - misli indir - instagram takipçi satın
al
Reply
50.
51.
52.
53.
Nice Blog!
hostel booking | find hostel
Reply
54.
I appreciate your post, thanks for sharing the post. Hostel Management System
Reply
55.
Are you looking for best Student hostel in Pune and at affordable prices then visit Tribe
Stays. We knows that nowadays students, for studies, visit far away from their houses.
In order to get top quality accommodations for you, get in contact with Tribe Stays.
Reply
56.
Detailed information..!
Now, it's easy for students to learn & explore on this topic..
58.
Nice blog, It will surely help students and warden also in PG. For Premium quality
student accommodation in Sydney in budget friendly range, contact us.student
accommodation Sydney
Reply
59.
Very informative. Thanks for sharing. Also check the hostels in Pune for travelers here..
Reply
60.
Thanks for sharing this wonderful information. I really like your Blog. Please keep
sharing this type of information.
Best Hotel Management Software India
Reply
61.
62.
63.
VikashmewadaApril 27, 2022 at 10:47 AM
65.
business idea
Business
Reply
66.
Reply
67.
it it true then i should put my used vertical lathe machine for sale ??
Reply
68.
69.
Home
Subscribe to: Posts (Atom)
About Me
Unknown
View my complete profile
Blog Archive
April (2)
Pages
Home
To do list....
Members Name
Project
Final Project
Pages
Home
Members Name
To do list....
Awesome Inc. theme. Powered by Blogger.