0% found this document useful (0 votes)
169 views13 pages

6081.hostel Management (1) Org

This document contains the table of contents, acknowledgement, introduction, objectives, proposed system, flow chart, source code, output, and bibliography sections of a project report on hostel management. The project aims to manage information on students such as roll number, name, address, room number, department etc. and store it in a database. It allows admission, fee checking, and modifying student data. The source code uses MySQL to connect to a database and perform CRUD operations.

Uploaded by

karthi keyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views13 pages

6081.hostel Management (1) Org

This document contains the table of contents, acknowledgement, introduction, objectives, proposed system, flow chart, source code, output, and bibliography sections of a project report on hostel management. The project aims to manage information on students such as roll number, name, address, room number, department etc. and store it in a database. It allows admission, fee checking, and modifying student data. The source code uses MySQL to connect to a database and perform CRUD operations.

Uploaded by

karthi keyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

TABLE OF CONTENTS [ T O C ]

SER DESCRIPTION PAGE NO

01 ACKNOWLEDGEMENT 02

02 INTRODUCTION 03

03 OBJECTIVES OF THE PROJECT 03

04 PROPOSED SYSTEM 04

05 FLOW CHART 05

06 SOURCE CODE 09

07 OUTPUT 11

12 BIBLIOGRAPHY 24

ACKNOWLEDGEMENT

1
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful completion
of this project.

I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.

I express my heartfelt gratitude to my parents for constant encouragement


while carrying out this project.

I gratefully acknowledge the contribution of theindividuals who contributed in


bringing this project up tothis level, who continues to look after me despite my flaws,

I express my deep sense of gratitude to the luminary The Principal, Sainik


School Amaravathinagar who has been continuously motivating andextending their
helping hand to us.

I express my sincere thanks to the academician The Vice Principal, Sainik


School Amaravathinagar, for constant encouragement and the guidance provided
during this project

I am overwhelmed to express my thanks to The Administrative Officer for


providing me an infrastructure and moral support while carrying out this project in the
school.

My sincere thanks to Mr. Praveen M Jigajinni, Master In-charge, A guide,


Mentor all the above a friend,who critically reviewed my project and helpedin solving
each and every problem, occurred during implementation of the project

The guidance and support received from all the members who contributed
and who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.

2
PROJECT ON HOSTEL MANAGEMENT

INTRODUCTION

This project is based on management of hostels, such as informations about

the students such as his\her roll number , in department they belong to , etc. These

information can be stored in the data and can be verified whenever we want.this

computer programme can be used for hostels schools etc..

OBJECTIVES OF THE PROJECT

The objective of this project is to let the students apply the programming

knowledge into a real- world situation/problem and exposed the students how

programming skills helps in developing a good software.

1. Write programs utilizing modern software tools.

2. Apply object oriented programming principles effectively when developing

small to medium sized projects.

3. Write effective procedural code to solve small to medium sized problems.

4. Students will demonstrate a breadth of knowledge in computer science, as

exemplified in the areas of systems, theory and software development.

5. Students will demonstrate ability to conduct a research or applied Computer

Science project, requiring writing and presentation skills which exemplify

scholarly style in computer science.

3
PROPOSED SYSTEM

Today one cannot afford to rely on the fallible human beings of be really

wants to stand against today’s merciless competition where not to wise saying “to

err is human” no longer valid, it’s out-dated to rationalize your mistake. So, to keep

pace with time, to bring about the best result without malfunctioning and greater

efficiency so to replace the unending heaps of flies with a muchsophisticated hard

disk of the computer.

One has to use the data management software. Software has been an ascent

in atomizationvarious organisations. Many software products working are now in

markets, which have helped in making the organizations work easier and efficiently.

Data management initially hadto maintain a lot of ledgers and a lot of paperwork has

to be done but now software producton this organization has made their work

fasterand easier. Now only this software has to beloaded on the computer and work

can be done.

This prevents a lot of time and money. Thework becomes fully automated and

any information regarding the organization can beobtained by clicking the button.

Moreover, nowit’s an age of computers of and automatingsuch an organization gives

the better look.

4
FLOW CHART

start

CHOICE=INT
(INPUT(“ENT
ER THE
CHOICE”))

IF
CHOICE=
=1:

v_roll=input("ENTER YOUR ROLL NUMBER")

v_name=input("ENTER YOUR NAME")

v_add=input("ENTER YOUR ADDRESS")

v_room_no=input("ENTER YOUR ROOM


NUMBER")

v_dept=input("ENTER YOUR
DEPARTMENT")

5
print(abc)

Elif

Choice==2
;

roll_no=int(input("enter your roll


number"))

mysql="select*from
hostel_management where
roll_no={}".format(roll_no)

print("roll_no:",data[0][0])

print("name:",data[0][1])

print("address:",data[0][2])

print("room_no:",data[0][3])

print("dept:",data[0][4])
6
elif
choice==2:

print("AVAILABLE DEPARTMENTS AS FOLLOWS")

print("1.COMPUTER")

print("2.BIO")

print("3.TECH")

print("4.PHYSICS")

print("5.ECO")

print("6.ENG")

department=input("ENTER YOUR
DEPARTMENT")

mysql="select*from fees where


department='{}'".format(department
)

c1.execute(mysql)

7
elif
choice==
4:

print("your fees
is:",data[0][1])

print( "SORRY,YOU
ARE NOT AUTHORIZED
TO USE THIS SITE ")

els
e

print("QUITTING!!!!!!!!!")

8
stop
SOURCE CODE

import mysql.connector as sql

conn=sql.connect(host='localhost',user='root',passwd=’pass',

database='hostel_management')

conn.autocommit=True

if conn.is_connected():

print('connected succesfully')

else:

print('not connected')

c1=conn.cursor()

#c1.execute("create table hostel_management(roll_no int primary key,name

varchar(20),address varchar(100),room_no int,dept varchar(15),fees int,bal int)

print("WELCOME TO HOSTEL MANAGEMENT

print(" 1.ADMISSION FORM")

print(" 2.FEE CHECKING")

print(" 3.MODIFY DATA")

print(" 4.EXIT")

choice=int(input('ENTER YOUR CHOICE'))

if choice==1:

v_roll=input("ENTER YOUR ROLL NUMBER")

v_name=input("ENTER YOUR NAME")

v_add=input("ENTER YOUR ADDRESS")

v_room_no=input("ENTER YOUR ROOM NUMBER")

v_dept=input("ENTER YOUR DEPARTMENT")

v_fees=input("ENTER YOUR FEES")

v_bal=input("ENTER YOUR BALANCE")

9
abc=("insert into hostel_management values

("+v_roll+",'"+v_name+"','"+v_add+"',"+v_room_no+",'"+v_dept+"',"+v_fees+","+v_bal+

")")

print(abc)

c1.execute(abc)

conn.commit()

elif choice==3:

roll_no=int(input("enter your roll number"))

mysql="select*from hostel_management where roll_no={}".format(roll_no)

c1.execute(mysql)

data=c1.fetchall()

print("roll_no:",data[0][0])

print("name:",data[0][1])

print("address:",data[0][2])

print("room_no:",data[0][3])

print("dept:",data[0][4])

print("fees:",data[0][5])

print("bal:",data[0][6])

elif choice==2:

print("AVAILABLE DEPARTMENTS AS FOLLOWS")

print("1.COMPUTER")

print("2.BIO")

print("3.TECH")

print("4.PHYSICS")

print("5.ECO")

print("6.ENG")

department=input("ENTER YOUR DEPARTMENT")

mysql="select*from fees where department='{}'".format(department)

c1.execute(mysql)

data=c1.fetchall()

print("your fees is:",data[0][1])

10
else:

print("QUITTING!!!!!!!!!")

11
12
BIBLIOGRAPHY

1. Computer science With Python - Class X11 By : SumitaArora


2. A Project Report On Blood Bank Management System (BBMS)
By : Praveen M Jigajinni
3. Website: https://www.w3resource.com

13

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy