0% found this document useful (0 votes)
200 views

MNR School OF Excellence: "Parking Management System"

This document appears to be a student project report on developing a parking management system. It includes a certificate page signed by school officials, an acknowledgments section thanking various teachers and administrators, and sections describing the objective, introduction, theory, software and hardware requirements, source code, output, and conclusion of the project. The objective is to create a system that can reduce time and increase efficiency for managing vehicles and parking.

Uploaded by

Guruji Gaming
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views

MNR School OF Excellence: "Parking Management System"

This document appears to be a student project report on developing a parking management system. It includes a certificate page signed by school officials, an acknowledgments section thanking various teachers and administrators, and sections describing the objective, introduction, theory, software and hardware requirements, source code, output, and conclusion of the project. The objective is to create a system that can reduce time and increase efficiency for managing vehicles and parking.

Uploaded by

Guruji Gaming
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Exam Seat No:

MNR SCHOOL
OF
EXCELLENCE

Computer science investigatory


project

“Parking management system”


Submitted By:
Name: Mst. Siddharth Satyendra pal
Class: XII-A
Roll No: 27
Session: 2020-2021
Guided By: Mrs. Yamini R. Tirmali

MNR SCHOOL OF EXCELLENCE


CERTIFICATE
This is to certify that Mst.Sidhharth Satyendra pal, a student of
class XII -A, Roll no. 27 has successfully completed a Project On
“Parking Management System” during the year 2020 - 21 in partial
fulfillment of Computer Science Practical examination.

____________ ____________ _____________


External Internal Principal

ACKNOWLEDGEMENT
I would like to express my gratitude towards my school
Principal Mrs. Rajani Nair, who was a constant source of
motivation and inspiration for the students.

I would to thank my school for providing me a platform to glow and


excel.

I would like to thank my computer science teacher, Mrs. Yamini


Tirmali who guided me in explaining the concepts of project and
theory.

I would like to thank my computer lab assistant, Mr. Jitendra Shinde


who helped me handle all the lab equipments.

I would like to thank my parents for providing me the means to


complete the project and each person who has been supporting and
motivating me throughout the project.

Index
SR.NO CONTENTS Page no
1. CERTIFICATE 1
2. ACKNOWLEDGEMENT 2
3. INDEX 3
4. OBJECTIVE 4
5. INTRODUCTION 5
6. THEORY 8
7. SOFTWARE REQUIREMENTS 9
8. SOURCE CODE 10
9. OUTPUT 17
10. CONCLUSION 19
11. BIBLIOGRAPHY 20
12. CD 21
13. Thank you 16
objective

The aim of implementing Parking Management System is to reduce


time and increase efficiency of the current Parking Management
System. In overpopulated cosmopolitan zones, parking strategies
must be well implemented for management of vehicles. The system
provides details of the vacant parking slots in the vicinity and
reduces the traffic issues due to illegal parking in the vicinity. It is
designed with an objective to meet the requirements of controlled
parking that offers effortless parking tactics to the authorities.

Introduction
This is a project based on Parking Management. The program helps us to
enter, display or alter the details of vehicles in parking records.
Moreover & most importantly the program helps us The program also
helps us to know the present status of a parking detail, vehicle detail etc.
It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The database is a collection of interrelated data to serve multiple
applications. That is database programs create files of information. So we
see that files are worked with most, inside the program.
DBMS
The software required for the management of data is called as DBMS. It
has 3 models
• Relation model
• Hierarchical model
• Network model

RELATIONAL MODEL It’s based on the concept on relation. Relation


is the table that consists of rows and columns. The rows of the table are
called tuple and the columns of the table are called attribute. Numbers of
rows in the table is called as cardinality. Number of columns in the table
is called as degree.
HIERARCHICAL MODEL: In this type of model, we have multiple
records for each record. A particular record has one parent record. No
chide record can exist without parent record. In this, the records are
organized in tree (like structure
NETWORK MODEL:- In this, the data is represented by collection of
records and relationship is represented by (ink or association.
CHARACTERISTICS OF DB MS: -
• It reduces the redundancy5
• Reduction of data in inconsistency
• Data sharing
• Data standardization
DIFFERENT TYPES OF FILES: -BASED ON ACCESS:-
• Sequential file
• Serial file
• Random (direct access) file BASED ON STORAGE:-
• Text file
• Binary File

Need Of Computerization
No one can easily plan the journey comfortably as the process is efficient and fast
with being easy to access. Reservations can be made through the Indian railways
site or at the ample reservation centers all over the country. Also now there are
authorized agencies which provide reservation facility on behalf of India railways
and without waiting in long line one can easily book a ticket. The booking is done
through an E- Ticket issue which has a PNR number of which one has to take a
print and just have to show at the station.
It not only provides reservation but cancellation can also be done through this
system at ease and one can use a credit card to complete the process. This being a
big step in terms of improvement in the railway system it is widely accepted across
the country

Theory
The number of vehicles in cities has increased dramatically due to rapid
economic development. However, the infrastructure for accommodating
these vehicles has grown relatively slow. Alleviating the pressure on the
urban transport system and solving the ‘parking difficulty’ problem have
thus become hot topics recently. In this paper, an intelligent parking
system based on geomagnetic field variations is presented to solve this
problem. An algorithm which detects the presence of vehicles in parking
spaces in a parking lot is designed and field test results are presented. Our
results show that this system has an acceptably high accuracy with low
cost, high feasibility, high efficiency and hence is recommended for wide
use.

Software requirements
 Software Requirements:
 Windows 7 or higher
 Python
 Django framework
 Mysql database
 Any text editor

 Hardware Components:
 Processor –Core i3
 Hard Disk – 160 GB
 Memory – 1GB RAM
 Monitor

Source code
import os
import platform
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",
password="root",database='parking')
mycursor=mydb.cursor()
defAdd_Record():
L=[]
id1=int(input("Enter the parking number :
")) L.append(id1)
pname1=input("Enter the Parking Name: ")
L.append(pname1)
level1=input("Enter level of parking : ")
L.append(level1)
freespace1=input("Is there any freespace or not :YES/NO ")
L.append(freespace1)
vehicleno1=input("Enter the Vehicle Number : ")
L.append(vehicleno1)
nod1=int(input("Enter total number of days for parking: "))
L.append(nod1)
if nod1==1:
Payment1=20
elif nod1==2:
Payment1=40
elif nod1==3:
Payment1=60
elif nod1==4:
Payment1=80
elif nod1==5:
Payment1=100
elif nod1==6:
Payment1=120

L.append(Payment1)
stud=(L)
sql='insert into
parkmaster12(pid,pnm,level,freespace,vehicleno,nod,payment
) values(%s,%s,%s,%s,%s,%s,%s)'
mycursor.execute(sql,stud)
mydb.commit()
defRec_View():
print("Select the search criteria : ")
print("1. Parking Number")
print("2. Parking Name")
print("3. Level No")
print("4. All")
ch=int(input("Enter the choice : "))
if ch==1:
s=int(input("Enter Parking no : "))
rl=(s,)
sql="select * from parkmaster12 where pid=%s"
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elifch==2:
s=input("Enter Parking Name :
") rl=(s,)
sql="select * from parkmaster12 where pnm=%s"
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elifch==3:
s=int(input("Enter Level of Parking : "))
rl=(s,)
sql="select * from parkmaster12 where level=%s"
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elifch==4:
sql="select * from parkmaster12"
mycursor.execute(sql)
res=mycursor.fetchall()
print("Details about Parking are as follows : ")
print("(Parking
Id,ParkingName,Level,FreeSpace(Y/N),Vehicle No,No of
days for parking,Payment)")
for x in res:
print(x)
print('Task comple ted')
defVehicle_Detail():
L=[]
vid1=int(input("Enter Vehicle No : "))
L.append(vid1)
vnm1=input("Enter Vehicle Name/Model Name : ")
L.append(vnm1)
dateofpur1=input("Enter Year-Month-date of purchase : ")
L.append(dateofpur1)
vdt=(L)
sql="insert into vehicle(pid,vnm,dateofpur)
values(%s,%s,%s)"
mycursor.execute(sql,vdt)
mydb.commit()
defVehicle_View():
vid1=int(input("Enter the vehicle number of the vehicle
whose details is to be viewed : "))
sql='select
parkmaster12.pid,parkmaster12.pnm,parkmaster12.vehicleno,
vehicle.pid,vehicle.vnm from parkmaster12 INNER JOIN
vehicle ON parkmaster12.pid=vehicle.pid and vehicle.pid=
%s'
rl=(vid1,)
print('The following are the detailes you wanted:')
mycursor.execute(sql,rl)
res=mycursor.fetchall()
for x in res:
print(x)
print('Task compelted')
defremove():
vid1=int(input("Enter the vehicle number of the vehicle to
be deleted : "))
rl=(vid1,)
sql="Delete from vehicle where pid=%s"
mycursor.execute(sql,rl)
mydb.commit()
print('Removed as per the command')
defMenu():
print("Enter 1 : To Add Parking Detail")
print("Enter 2 : To View Parking Detail ")
print("Enter 3 : To Add Vehicle Detail ")
print("Enter 4 : To Remove Vehicle Record")
print("Enter 5 : To see the details of Vehicle")
input_dt = int(input("Please Select An Above Option: "))
if(input_dt== 1):
Add_Record()
elif (input_dt==2):
Rec_View()
elif (input_dt==3):
Vehicle_Detail()
elif (input_dt==4):
remove()
elif (input_dt==5):
Vehicle_View()
else:
print("Enter correct choice....")
Menu()
defrunAgain():
runAgn=input('\nwant to run Again Y/n:')
while(runAgn.lower()=='y'):
if(platform.system()=='Windows'):
print(os.system('cls'))
else:
print(os.system('clear'))
Menu()
runAgn=input('\nwant to run Again Y/n:')
runAgain(
Output
conclusion
Adopting parking management system significantly reduces the
amount of time consumed in seeking the parking space, renders
valuable data upon the availability of the parking area, accurate
mapping of the parking space, offers guidance and suggestion for
proper vehicle parking.
We see that, this new system is an added value to the urban life style.
In the current world, where Google cars are introduced and
automated driving is growing interest among the people, this will be
an improvement of great magnitude. Automated cars can do the
parking on their own, if this car parking app is a part of their built in
system. Hence, I believe that this simple concept, when released into
the world, will be one of those revolutionary changes in everyday
activities.

BIBLIOGRAPHY
 Books referred:
 Computer Science with Python -- By Sumita Arora
 The Python book by Anil Kushwaha
 Let us Python by Yashavant and Aditya Kanetkar
 Think Python by Allen B. Downey
 Python Programming by John Zelle

 Websites referred:
 https:// projects.icbse.in
 http://ashwanihms.blogspot.com
 http://python.mykvs.in
 https://www.w3schools.com/
 https://www.python.org/

 Web applications referred;

 Learn python
 Learn python programming -offline
 Python Tutorial
 Python 3 Tutorials
 Python Pandas Tutorials

CD
Stick your CD here.
ss

THANK
You

You might also like