Student Management System Menu Driven Project
Student Management System Menu Driven Project
Adarsh Vidyalaya
SECTOR-47, SOHNA ROAD, GURUGRAM
A PROJECT REPORT
ON
“STUDENT MANAGEMENT SYSTEM”
FOR
AISSCE: 2023-24
[AS A PART OF THE COMPUTER SCIENCE (083)]
SUBMITTED BY:
Student’s Name: Omkarita singh
Board Roll No.:
………………………… ……………………………..
Signature of Student Signature of Teacher/Guide
Name: Omkarita singh Name: Ms. Harsha Monga
Roll No.: Designation: PGT (Comp.Sc.)
……….…………………
Signature of Principal
Name: MS. KALPNA KASHYAP
ACKNOWLEDGEMENT
I conducted this Project as part of my XII-Computer Science
course, utilizing my knowledge and experiences gained through
study and class work. Developing a software system is intricate
and time-consuming, demanding systematic study, insightful
vision, and a professional approach to design and development.
Throughout this process, the support, guidance, and well-wishes
of experienced individuals become invaluable.
Omkarita singh
Class XII
Table of Contents
1. Preface 1
2. Introduction 2
3. Objective 3
6. System Requirements 7
9. Output 22-33
10. Reference 34
1. Preface
Student Name
Age
Gender
Contact Number
Enrollment Date
Course Preferences
Academic Records, etc.
1. MYSQL
MySQL is a relational DBMS that can run virtually all platforms, including
Linux, Unix and Windows.
SOFTWARE REQUIREMENTS: -
Operating System : Windows 7
Platform : Python IDLE 3.7
Database : MySQL SERVER 5.1
Languages : Python
HARDWARE REQUIREMENTS: -
1. STUDENT_INFO Table:
8. Source Code
import mysql.connector
mydb = mysql.connector.connect(host="localhost",user="root",password="12345",database="student")
cursor = mydb.cursor()
sql = "INSERT INTO student_info VALUES ('{}', '{}', '{}', '{}', '{}', '{}', '{}')".format(admission_number,
roll_number, name, age, grade, email, phone_number)
cursor.execute(sql)
mydb.commit()
def display_student():
students = cursor.fetchall()
print(student)
def search_student(admission_number):
student = cursor.fetchone()
if student:
print("Student found:", student)
else:
sql = "UPDATE student_info SET roll_number = '{}', name = '{}', age = '{}', grade = '{}', email = '{}',
phone_number = '{}' WHERE admission_number = '{}'"
mydb.commit()
def delete_student(admission_number):
mydb.commit()
def count_students():
count = cursor.fetchone()[0]
def display_statistics():
extremes = cursor.fetchone()
def display_students_by_grade(grade):
students = cursor.fetchall()
if students:
print(student)
else:
def count_students_by_grade(grade):
count = cursor.fetchone()[0]
while True:
print("9. Exit")
if choice == '1':
print("\nList of Students:")
display_students()
search_student(name)
delete_student(admission_number)
display_statistics()
display_students_by_grade(grade)
count_students_by_grade(grade)
print("Exiting...")
break
else:
1. Add Student
2. Display Students
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
List of Students:
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
Enter your choice: 4
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
Highest Grade: 97
Lowest Grade: 86
1. Add Student
2. Display Student
3. Search Student
4. Update Student Information
5. Delete Student
6. Display Statistics
9. Exit
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
Enter your choice: 8
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
List of Students:
1. Add Student
2. Display Student
3. Search Student
5. Delete Student
6. Display Statistics
9. Exit
Exiting...
10. Reference
In order to work on this project titled Student Management System ,the following books and
literature are refered by me during the various phases of development of the project.
(1) http://www.mysql.org/
(2) http://www.python.org/
Other than the above-mentioned books, the suggestions and supervision of my teacher and my class
experience also helped me to develop this software project.