Professional Documents
Culture Documents
school
COMPUTER SCIENCE
PROJECT
SESSION : 2023-2024
A PROJECT REPORT ON
“STUDENT MANAGEMENT”
SUMBITTED BY UNDER GUIDANCE BY
HARSHIT KUMAR MRS.PRIYANKA SHARMA
CLASS : XII-B PGT (COMPUTER SCIENCE)
Certificate
This is to certify that Harshit kumar student of class XII
(Science) has successfully prepared the report on the
Project entitled “Student management” The report is
the result of his efforts & endeavors. The report is found
worthy of acceptance as final Project report for the
subject Computer Science of class XII (Science).
Acknowledgement
I would like to express a deep sense of thanks and
gratitude to my project guide Mrs. Priyanka Sharma
for guiding me immensely through the course of the
project. She always evinced keen interest in my
project. Her constructive advice & constant
motivation have been responsible for the successful
completion of this project.
Last but not the least, I would like to thank all those
who had helped directly or indirectly towards the
completion of this project.
Harshit Kumar
Class- XII (Science)
Table of Contents
SERIAL DESCRIPTION
NO
1. INTRODUCTION
2. FEATURES OF PYTHON
3. FEATURES OF STUDENT MANAGEMENT
4. ABOUT MYSQL
5. REQUIRMENTS
6. MODULES
8. SOURCE CODE
9. OUTPUT
10. BIBLIOGRAPHY
INTRODUCTION
About Student Management System
In the Student Management system Project in python,
we will see a project that manages all the information of
the students It includes managing data such as name,
email-id, contact number, date of birth, which stream they
are in, etc.
In this tutorial of the Python project, we will build a GUI-
based Student Management System Project using the
Tkinter,SQLite3,tkcalendar,messagebox, and
datetime and Ttk modules of the Tkinter library. It is an
intermediate-level project, where you will learn how to use
databases, and modules and make some great GUIs in
Python and apply them in real life.
Features of Python:
Easy
Python is a very easy to learn and understand; using this
python tutorial, any beginner can understand the basics of
python.
Interpreted
It is interpreted (executed) line by line. This makes it easy to
test and debug.
Object Oriented
The python programming language supports classes and
objects.
Free and Open-Source
The language and it's source code are available to the public
for free; there is no need to buy a costly license.
Portable
Since it is open source, we can run python on windows, mac,
Linux, or any other platforms. Our programs will work without
needing to the changed for every machine.
GUI (Graphical User Interface) programming
We can use it to develop a GUI (Graphical User Interface).
One way to do this is through 'Tkinter'
Large Library
Python provides us with a large standard library. We can use it
to implement a variety of functions without needing to reinvent
the wheel every time. Just pick the code we need and continue.
This lets us to focus on other important tasks.
Features of Student Management System
The basic task to be performed on this Project are:
Add all the details
View the details
Reset the details
Delete the details
Delete the entire database of the student’s record
DISADAVANTAGES
There aren’t any disadvantages or limitations of a
student management system as such. A better word for
disadvantages would be “issues” faced by schools while
using a student management system.
About MySQL
MySQL is a fast, easy to use RDBMS (Relational Database
Management System) being used for many small and big
businesses. MySQL is developed. marketed and supported by
MySQL AB, which is a Swedish Company.
MySQL is becoming is so popular because of many good
reasons:
We have initialized the GUI Window by creating the object of TK () as the main.
Set the title of the window, The geometry is the size of the window.
Creating the color variables: Creating the background and foreground color
variables.
Creating the StringVar and IntVar variables: Stores the name, email, gender,
contact, and stream you entered in the form.
We are creating the main frame where we are labeling the window with the title
“Student Management System”. We are also creating 2 frames into that i.e. left
frame and right frame specifying the color, width, and height of the frame.
Placing components in the left frame
Here we are placing the components like name, contact number, email address,
gender, date of birth, and Stream The label function is used for labeling the
components and provides formatting. Entry function is used for entering the text.
Option Menu provides the dropdown list. The Button label is used for the data
entry we provided.
Placing components in the Right frame
The right frame displays the data that we have entered, deleted, reset, or
modified. We have provided the scroll bar to scroll the details horizontally and
vertically.
Source code
OUTPUT SCREENS
Explanation:
Reset fields: The reset fields mention the variables whose value is to be
reset. Those are defined as global variables in the program .
Displays the records in the database
#function to display records
def display_records():
tree.delete(*tree.get_children())
c = connector.execute('SELECT * FROM STUDENT_MANAGEMENT')
data = c.fetchall()
for records in data:
tree.insert('', END, values=records)
Explanation:
This function checks to see if the record is selected to be removed else the
tree.focus() function selects the current_item that is in focus.Puts all the
values in the selection variable where the entire row of the focused
current_item gets deleted by executing the SQL Query.
Once the row is deleted it shows the message “The record is successfully
deleted” and displays the remaining records.
reset_fields()
Explanation:
Reset_form(): The tree variable is initialized as global. The tree.delete()
delete all the records of the database and resets the field().
Conclusion of Student Management System
Student Management System can be used by educational
institutions to maintain their student records easily.
Achieving this objective is difficult using the manual
system as the information is scattered, can be redundant,
and collecting relevant information may be very time-
consuming. All these problems are solved by this project.
This system helps in maintaining the information of pupils
of the organization. It can be easily accessed by the
manager and kept safe for a long period of time without
any changes.
bIBLIOGRAPHY
1.www.wikipedia.com
2. www.copy assignment.com
3.www.google.com
4.Class 12th python book