Dbmsfinal

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

Jnana Sangama, Belagavi

A MINI PROJECT REPORT ON

CITNC TRANSPORTATION MANAGEMENT SYSTEM


IN
COMPUTER SCIENCE & ENGINEERING
By

MOHAMMED FARHAN KHAN 1AJ20CS043


MUKUNDA T 1AJ20CS044

Under the Guidance of


MAYUR K L
Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


CAMBRIDGE INSTITUTE OF TECHNOLOGY NORTH CAMPUS
KUNDANA, BENGALURU – 562110, KARNATAKA
2022 – 2023
CAMBRIDGE INSTITUTE OF TECHNOLOGY NORTH CAMPUS
KUNDANA, BENGALURU – 562110, KARNATAKA
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

CERTIFICATE
This is to certify that the Mini Project entitled “CITNC TRANSPORTATION
MANAGEMENT SYSTEM” has been successfully completed by MOHAMMED
FARHAN KHAN(1AJ20CS043) & MUKUNDA T(1AJ20CS044) the bonafide students of
Department of Computer Science & Engineering, Cambridge Institute of Technology
North Campus of the Visvesvaraya Technological University, Belagavi, during the year
2022–2023. It is certified that all corrections/suggestions indicated for Internal Assessment
have been incorporated in the report deposited in the departmental library. The Mini project
report has been approved as it satisfies the academic requirements in respect of Mini Project
work prescribed for the Bachelor of Engineering Degree .

Mini Project Guide Head of Department


MAYUR K L Dr. Mamatha C M
Dept. of CSE, CITNC Dept. of CSE, CITNC

External Viva

Name of the Examiners Signature with Date

1.

2.
CAMBRIDGE INSTITUTE OF TECHNOLOGY NORTH CAMPUS
KUNDANA, BENGALURU – 562110, KARNATAKA
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

DECLARATION
We MOHAMMED FARHAN KHAN & MUKUNDA T hereby declare that the dissertation
entitled, CITNC TRANSPORTATION MANAGEMENT SYSTEM is completed and
written by us under the supervision of my guide MAYUR K L, Assistant Professor,
Department of Computer Science and Engineering, Cambridge Institute of Technology
North Campus, kundana, Bengaluru, of the Visvesvaraya Technological University,
Belagavi, during the academic year 2022-2023.The dissertation report is original and it has not
been submitted for any other degree in any university.

MOHAMMED FARHAN KHAN (USN :- 1AJ20CS043)


MUKUNDA T (USN:-1AJ20CS044)

i.
ACKNOWLEDGEMENT

The satisfaction and euphoria that accompany a successful completion of any task would be
incomplete without the mention of people who made it possible, success is the epitome of hard
work and perseverance, but steadfast of all is encouraging guidance.

So, with gratitude we acknowledge all those whose guidance and encouragement served
as beacon of light and crowned the effort with success.

We thank our beloved Principal Dr. K Satya Narayana Reddy, for his constant help
and support throughout.

We are indebted to Management of Cambridge Institute of Technology for


providing an environment which helped us in completing our mini project.

We sincerely thank, Dr. Mamatha C M, HOD, Department of Computer Science &


Engineering who has been the constant driving force behind the completion of the project.

The selection of this mini project work as well as the timely completion is mainly due
to the interest and persuasion of our mini project coordinator Mr. MAYUR K L, Assistant
Professor, Department of Computer Science & Engineering. We will remember his
contribution for ever.

Also, we thank all the teaching and non-teaching staff of Department of Computer
Science & Engineering for the help rendered.

MOHAMMED FRAHAN KHAN (USN:-1AJ20CS043)


MUKUNDA T (USN:-1AJ20CS044)

ii.
TABLE OF CONTENTS
PAGE
DESCRIPTIONS NO.

DECLARATION i.

ACKNOWLEDGEMENT……………………………………………............ ii.
ABSTRACT………………………………………………………………….. iii.
LIST OF FIGURES…………………………………………………………..... iv.
LIST OF TABLES……………………………………………………………... v. i
1. INTRODUCTION

1.1 INTRODUCTION 01
1.2 PROBLEM STATEMENT 04
1.3 MOTIVATION AND OBJECTIVES OF THE PROJECT 04
1.4 PROPOSED SOLUTION & ADVANTAGES 05

2. SYSTEM DESIGN
2.1 SCHEMA DIAGRAM 06
2.2 ER DIAGRAM 07

3 IMPLEMENTATION
3.1 LANGUAGE USED FOR IMPLEMENTATION 10
3.2 PLATFORM USED FOR IMPLEMENTATION 10
3.3 SQL COMMANDS AND QUERIES 10

4 RESULTS
4.1 SNAPSHOTS 13

5 CONCLUSION AND FUTURE ENHANCEMENT


5.1 CONCLUSION 21
5.2 FUTURE ENHANCEMENT 21

REFERENCES……………………………………………………………….. 22
ABSTRACT

This report is about Bus Transportation Management System for CITNC Devanahalli. The
college’s work was dominantly handled using a paper based system to keep records for
different transactions made each day whereby all the jobs of the bus routes management were
done manually. This is very difficult to the operators who want to handle the many buses in a
day. This study aimed at computerizing the paper based system and automate administration
of bus management of CITNC. The main goal of this project is to create a bus transportation
management system for Bus operators which can eliminate most of the problems experienced
with the current system. The researcher implemented various methods of data collection such
as student details, faculty details who are travelling in the bus and data can be altered by admin.
PYTHON USING MYSQL MODULES was used to develop a back-end database application
while front-end interface was developed PYTHON USING TKINTER & PILLOW
MODULES with to come up with a system that solved the current problem. Implementation of
the system was highly considered when the system was being developed. I recommend the new
system to be implemented so that bus management becomes hassle free in terms keeping track
of the students and faculties who are travel in bus daily and students and faculties information
in the shortest time possible. All information about buses , students and faculties is securely
kept.

iii.
LIST OF FIGURES
PAGE NO
2.1 SCHEMA DIAGRAM 06
2.2 ER DIAGRAM 09
3.3 SQL COMMAND AND QUERIES
3.3.1 ADD DATA(SAVE) 11
3.3.2 UPDATE DATA(UPDATE) 12
3.3.3 DELETE DATA(DELETE) 12
4.1 SNAPSHOTS
4.1.1 CITNC TRANSPORTATION MANAGEMENT SYSTEM 13
4.1.2 ADMIN LOGIN 14
4.1.3 CITNC TRANSPORTATION ADMIN PORTAL 15
4.1.4 CITNC STUDENT/FACULTY TRANSPORTATION PORTAL 16
4.1.5 UPDATE OPERATION 17
4.1.6 DELETE OPERATION 18
4.1.7 SAVE OPERATION 18
4.1.8 FIELDS ARE FILLED 19
4.1.9 ERROR IN USERNAME AND PASSWORD AT ADMIN LOGIN 19

iv.
LIST OF TABLES
PAGE NO
4.1.10 TRANSPORTATION TABLE 20

v.
CITNC TRANSPORTATION MANAGEMENT SYSTEM

CHAPTER:01
INTRODUCTION

1.1 INTRODUCTION

A CITNC transportation management system is a computerized system used to track and


manage the details of students & faculties and operations of a bus transportation system. This
system can include a database to store information on students and faculties information. A
database mini project for a bus transportation management system would likely involve
designing and implementing a database to store and organize this information, as well as
developing a user interface for entering and accessing the data. Additionally, the project
could include features such as real-time tracking of buses, automated schedule generation,
and reporting tools for analyzing data. This is a web-related application that permits us to
approach the entire knowledge regarding the College Transport Management, students,
faculties. This application is also called as “CITNC Transport Management System”.
The Main goals of this application is to automate the details of transportation (pick and drop)
services provided by an College to its Faculty/Student and to manage the related information
in a convenient manner. The purpose is to design a system that allows one to manage the
relevant information. This system allows the administrator to maintain and update all
information of Bus details to their parent and Student. The information’s of all transport
service can maintain by administrator and the administrator can view all selected
information’s. The purpose to design the system that allows search and retrieve related data
easily.
Following are the modules that we have worked on:
1. Administrator Module
➢ Login
➢ Forms
➢ Route Module

Dept. Of CSE, CITNC Page |1


CITNC TRANSPORTATION MANAGEMENT SYSTEM

2. User Module
➢ Forms
➢ Student Info
➢ Faculty Info
1. Administrator Module

This module provides administrator related functionality. Administrator can add. Delete,
update and view the details of faculty and student who avail the transportation service.

➢ Login:

Login modules is used to check whether the user is an authorized person to use
the system or not. For this the user should give the correct username and
password.
Here user are the Admin.

➢ Forms:

This module consists of the following sub modules


• Faculty details form
• Student details form
• Root and stoppage detail
➢ Route Module:

The administrator consists of the route module. This module maintains the details
of all routes available for transportation. For each route details such as route
number, pickup/drop points for each stop point will be stored. Administrator can
manage the route information.

Dept. Of CSE, CITNC Page |2


CITNC TRANSPORTATION MANAGEMENT SYSTEM

2. User Module

User can view all information about the route like route details, stop details. User get
details about the bus after register by the Administrator. User can check all the
information which can update by admin.

➢ Forms:

This module consists of the following sub modules:

• Student/Faculty Detail Form


• Root and Stoppage Detail

➢ Student Info:

A Student can enter and save all information in the transport software like Name,
USN, Mobile number, pickup-point, drop-point, Gender & Route number these
information can store it in user database. A Admin can easily check the
information of student.

➢ Faculty Info:

A Student can enter and save all information in the transport software like Name,
Id, Mobile number, pickup-point, drop-point, Gender & Route number these
information can store it in user database. A Admin can easily check the
information of Faculty.

Dept. Of CSE, CITNC Page |3


CITNC TRANSPORTATION MANAGEMENT SYSTEM

1.2 PROBLEM STATEMENT


Today all the work, at the time of taking transport services of the students & faculties is done
manually by ink and paper, which is very slow and consuming much efforts and time.
Since the numbers of students & faculties is growing, and management has to handle records
of all the students & faculties, it is facing a little bit of problems in maintaining the records of
students and faculties details.
It is required to Design of a Computerized “CITNC Transportation Management
System”. To speed up and make it easy to use system.

1.3 MOTIVATION AND OBJECTIVES OF THE PROJECT


1.3.1 MOTIVATION OF THE PROJECT
➢ The main motivation/ aim of our project is to make Bus Transportation facility
easier.
➢ Filling forms for availing Bus Transport and keeping the forms for documentation
purpose and later entering these into Excel sheets manually will waste time and
paper/pages. To overcome this we have developed this project.
1.3.2 OBJECTIVES OF THE PROJECT
➢ It provides “better and efficient” service.
➢ Reduced the workload of a Transportation.
➢ Faster way to get information about the student & faculty who are availing
transport service.
➢ Provide the facility for proper monitoring, reduce paper work and provide data
security.
➢ All details will be available on a click for admin.
➢ To develop a user friendly interface and integrate both the database and the user
interface to a complete working system.
➢ Even a non-technical user can use the system effectively and without any
difficulty.
➢ Deliver the right quantity of output.
➢ Improving the safety and security of students and faculty details.

Dept. Of CSE, CITNC Page |4


CITNC TRANSPORTATION MANAGEMENT SYSTEM

1.4 PROPOSED SOLUTION & ADVANTAGES

➢ Those who avail transport can directly fill data and these data will be started onto the
database.
➢ The Student and Faculty who are availing the transport service will have advantage as
it saves time and paper work.
➢ The Admin can save, update, delete & view the details of Student & faculty easily in
one interface.
➢ The Students & faculties also have a GUI.
➢ The use of transport management system can also lead to cost savings for bus
operators and transportation agencies by reducing the need for manual data entry,
improving the efficiency of bus routes and details of passengers who are availing
transport service.
➢ A Transportation management system can help make bus transparent by providing
information on how many are availing bus facility.
➢ It can help bus operators track and monitor the details of Students and faculties which
can improve the overall bus transportation service.
➢ Reduce freight expenses.
➢ Increase customer service

Dept. Of CSE, CITNC Page |5


CITNC TRANSPORTATION MANAGEMENT SYSTEM

CHAPTER:02
SYSTEM DESIGN

2.1 SCHEMA DIAGRAM


➢ The design of the database is called a schema. This tells us about the structural view
of the database. It gives us an overall description of the database.
➢ A database schema defines how the data is organized using the schema diagram.
➢ A schema diagram is a diagram which contains entities and the attributes that will
define that schema.
➢ A schema diagram only shows us the database design. It does not show the actual
data of the database.
➢ Schema can be a single table or it can have more than one table which is related.

Fig 2.1 SCHEMA DIAGRAM OF TRANSPORTATION MANAGEMENT


SYSTEM

Dept. Of CSE, CITNC Page |6


CITNC TRANSPORTATION MANAGEMENT SYSTEM

2.2ER DIAGRAM
An ER diagram shows the relationship among entity sets. An entity set is a group of similar
entities and these entities can have attributes. In terms of DBMS, an entity is a table or
attribute of a table in database, so by showing relationship among tables and their attributes,
ER diagram shows the complete logical structure of a database.

Guidelines For Drawing ER Diagram:-

When gathering information I have to—


➢ Identify the entity in the system
➢ Identify the attributes of the system
➢ Identify the relationship between the entity

Entity:

Entity is the distinguishable object that has a conceptual or physical existence in the system.
Each entity has some specific attributes. An entity is a fundamental thing of an organization
and it has its own identity, which distinguishes it from other entity. An entity type is the
description of all entities to which a common definition and common relationship and
attribute apply.

Relationship:

A relationship is an “association among entities” Relation is the link between objects through
which a entity is related with other entity.

Attribute:
An attribute is the property or characteristic of an entity. Each entity type has a set of
attribute associated with it.

Dept. Of CSE, CITNC Page |7


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Notation of ER diagram:
The overall logical structure of a database can be expressed graphically by ER Diagram.
These are the notations used in ER Diagram-

RECTANGLE- It represents the entity set.

ELLIPS- It represents attributes.

DIAMONDS-It represents relationship among entities.

LINES- It links attributes to entity and entity set to relationship.

Dept. Of CSE, CITNC Page |8


CITNC TRANSPORTATION MANAGEMENT SYSTEM

PickP

Id
Name
DropP

PickupR Faculty Phone

N
DropR Gender

work

CITNC Transportation
Management System USername
1
1
Manager
1 1

Admin

Register
Report
N
PickP N Password
Bus
Name

DropP
User Id

Faculty PickupR
Student

Gender
DropR
Phone
has
Route
N

PickR Route
PickP

DropR DropP

Fig 2.2 ER DIAGRAM OF TRANSPORTATION MANAGEMENT


SYSTEM

Dept. Of CSE, CITNC Page |9


CITNC TRANSPORTATION MANAGEMENT SYSTEM

CHAPTER:03
IMPLEMENTATION

3.1 LANGUAGE USED FOR IMPLEMENTATION

➢ The main Language used to this project is PYTHON. We used Python because Python is the
trending Language right now in the market, also can be used in various Fields and also is
easier to understand and has less lines of Syntax as compared to other Programming
languages.
➢ The version which we have used is PYTHON 3.7.x
➢ The PYTHON Modules which we have imported and used are ->
1) Tkinter module which is used for GUI purpose.
2)PIL(pillow) module which will help used to use the images within the GUI window and will
make the Window look attractive.
3) MYSQL, this module is used to write the SQL commands and use SQL in the project.

3.2 PLATFORM USED FOR IMPLEMENTATION

➢ The Platform used in this Project is VSCODE (VISUAL STUDIO CODE), this
platform (IDE) is from Microsoft. Alternative for this IDE is PyCharm application.

3.3 SQL COMMANDS AND QUERIES

➢ SQL stands for Structured Query Language.


➢ SQL commands are the instructions used to communicate with a database to perform
tasks, functions, and queries with data.
➢ SQL commands can be used to search the database and to do other functions like
creating tables, adding data to tables, modifying data, and dropping tables.
➢ Snapshots mentioned below are SQL Commands and Queries used in this Project.

Dept. Of CSE, CITNC P a g e | 10


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 3.3.1 ADD DATA (SAVE)


➢ This is the Python SQL queries and commands used in this project. This queries and
Commands will help the admin to add/save the data in the database.
➢ Before adding we have to first get connected to the database by providing the
Username and Password of the Database application. And also specify the database
name.

Dept. Of CSE, CITNC P a g e | 11


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 3.3.2 UPDATE DATA (UPDATE)


➢ This is the Python SQL queries and commands used in this project. This queries and
Commands will help the admin to update the existing data in the database.
➢ Before updating we have to first get connected to the database by providing the
Username and Password of the Database application. And also specify the database
name.

Fig 3.3.3 DELETE DATA (DELETE)


➢ This is the Python SQL queries and commands used in this project. This queries and
Commands will help the admin to delete the data in the data base. Before deleting we
have to first get connected to the database by providing the Username and Password
of the Database application. And also specify the database name.

Dept. Of CSE, CITNC P a g e | 12


CITNC TRANSPORTATION MANAGEMENT SYSTEM

CHAPTER:04
RESULT
4.1 SNAPSHOTS

Fig 4.1.1 CITNC TRANSPORTATION MANAGEMENT SYSTEM


This is the first page of the CITNC TRANSPORATION MANAGEMENT SYSTEM project.
This window asks the user to select his/her position in the College.

Dept. Of CSE, CITNC P a g e | 13


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.2 ADMIN LOGIN


➢ This is the Admin login window. This window opens when the user selects the
Admin position in the first window (fig 4.1.1).
➢ In this window if the users wants to get into Admin portal window the user first has to
give the correct Username and Password.

Dept. Of CSE, CITNC P a g e | 14


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.3 CITNC TRANSPORTATION ADMIN PORTAL

➢ This is the Admin login portal window. This window opens when the user enters the
correct Username and Password in the Admin login window (fig 4.1.2).
➢ In this window the Admin can save, update, delete, view and clear the details of the
Student/Faculty details who are availing Transport service in the College.
➢ This also shows the clear fields operation.

Dept. Of CSE, CITNC P a g e | 15


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.4 CITNC STUDENT/FACULTY TRANSPORTATION PORTAL


➢ This window opens after selecting the Student/Faculty position in the first
window(fig 4.1.1).
➢ Here Students/Faculties can enter their details in this Window, and can view those
who have enter the details previously.
➢ In this window the Student/Faculty doesn’t have authority to Update or Delete the
details of others.

Dept. Of CSE, CITNC P a g e | 16


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.5 UPDATE OPERATION


➢ This window shows the update operation by selecting the row in the Student/Faculty
Information table.
➢ When we click the update button, the system will ask the admin if he wants to update
the data.When the admin selects ‘YES’ then it will updates the data and new pop-up
window will come which will display the message as ‘Data successfully updated!’.
And the updated data will be displayed in the Student/Faculty Information table
frame.
➢ The updated values are been highlighted in the Fig 4.1.5 with blue.

Dept. Of CSE, CITNC P a g e | 17


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.6 DELETE OPERATION


➢ This operation will delete the whole data of a selected row in the Student/Faculty
Information Table frame. Before deleting the data a pop-up window will appear
which will ask the admin if the wants to delete the data.

Fig 4.1.7 SAVE OPERATION


➢ This operation will save the data that are been filled in the fields of Student/Faculty
Information frame.
➢ When the admin clicks on the save button a pop-up window will appear which will
have message saying “student/faculty has been added.

Dept. Of CSE, CITNC P a g e | 18


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Fig 4.1.8 FIELDS ARE FILLED


Here we can see in image that the fields of Student/Faculty Information frame are been filled
completely.

Fig 4.1.9 ERRORS IN USERNAME AND PASSWORD AT ADMIN LOGIN


➢ If the person who is logging in into the admin portal and he/she have entered the
wrong username or password in the admin login window then a error pop-up window
will appear on the screen, which is shown in the Fig 4.1.9

Dept. Of CSE, CITNC P a g e | 19


CITNC TRANSPORTATION MANAGEMENT SYSTEM

Table 4.1.10 TRANSPORTATION TABLE


This is empty table. The tables consists of the following attributes,
1. Position: This attribute takes the Position of the user in the college(student/faculty).
2. Name: This attribute takes the Name of the user.
3. Phone: This attribute takes the Phone number of the user.
4. Id: This attribute takes the ID number/USN of the user.
5. Gender: This attribute takes the Gender of the user.
6. PickP: This attribute takes the Pick-up Position of the user.
7. DropP: This attribute takes the Drop Position of the user.
8. PickR: This attribute takes the Pick-up Route number of the user.
9. DropR: This attribute takes the Drop Route number of the user.

Dept. Of CSE, CITNC P a g e | 20


CITNC TRANSPORTATION MANAGEMENT SYSTEM

CHAPTER:05

CONCLUSION AND FUTURE ENHANCEMENT

5.1CONCLUSION

➢ It was a wonderful and learning experience for us while working on this project.
➢ This software is very easy to use so all can use this frequently.
➢ So, we can hope that our software will be very popular and get sponsors to
develop in future.
➢ My project is only humble venture to satisfy the needs in a library. Several user
friendly coding have also been adopted. This package shall prove to be a powerful
package in satisfying all the requirements of the organization.
➢ This system can sufficiently and effectively handle day to day activities of the
CITNC Bus Services and when proper arrangements are met.
➢ The system will overcome all the current problems of the manual system.
➢ The objective of software planning is to provide a frame work that enables the
admin reasonable estimates made within a limited time frame.
➢ At the beginning of the software project and should be updated regularly as the
project progresses .

5.2 FUTURE ENHANCEMENT

➢ Since the 1980s, transportation management system (TMS) have come a long way.
➢ Today, they are used by many companies to manage their transportation operations.
➢ In future transport management system can be used in mobile phones in form of
mobile application that would be more user friendly.

Dept. Of CSE, CITNC P a g e | 21


CITNC TRANSPORTATION MANAGEMENT SYSTEM

REFERENCES
[1] GeeksforGeeks
https://www.geeksforgeeks.org
[2] Alan D. Moora, “Python GUI programming with Tkinter”.
[3] https://code.visualstudio.com
[4] James R Groff and Paul N Weinberg, “Complete reference SQL”.
Second Edition

Dept. Of CSE, CITNC P a g e | 22

You might also like