0% found this document useful (0 votes)
26 views3 pages

Student Management Project Report

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

Student Management Project Report

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

KENDRIYA VIDYALAYA OLD CANTT

Informatics Practices Project Report

Topic: Student Management System

Submitted by:

Name: Shreyansh Kashyap

Class & Section: XII - B

School: Kendriya Vidyalaya Old Cantt

Session: 2025-26

Under the guidance of

Mr. Anurag Prajapati

----------------------------------------------------------

Submitted to: Department of Informatics Practices

CERTIFICATE
This is to certify that Shreyansh Kashyap of class XII – B, Kendriya Vidyalaya Old Cantt, has
successfully completed the project work entitled “Student Management System” during the
academic session 2025–26 under my supervision. This project is in partial fulfillment of the
requirements of the CBSE Informatics Practices course.
Mr. Anurag Prajapati
Subject Teacher – Informatics Practices

Date: ___________

ACKNOWLEDGEMENT
I would like to express my heartfelt gratitude to Mr. Anurag Prajapati, my Informatics Practices
teacher, for his valuable guidance, encouragement, and support throughout this project. I also
extend my thanks to the school authorities of Kendriya Vidyalaya Old Cantt for providing the
resources and a platform to carry out this project successfully.

INTRODUCTION
The Student Management System is designed to manage student records efficiently using Python
and MySQL. It allows adding, displaying, searching, updating, and deleting student details like
name, roll number, class, and marks. This project demonstrates the practical implementation of
database connectivity using Python and SQL queries.

OBJECTIVES
1. To store and manage student records digitally.
2. To perform CRUD operations (Create, Read, Update, Delete).
3. To develop skills in Python programming and database integration.
4. To understand real-world application development in Informatics Practices.

HARDWARE & SOFTWARE REQUIREMENTS


Hardware:
• A computer with minimum 2GB RAM
• Processor: Intel Core i3 or above

Software:
• Python (version 3.8 or above)
• MySQL Server
• MySQL Connector module
• Text Editor (VS Code / IDLE)
SOURCE CODE
import mysql.connector as sql con = sql.connect(host='localhost', user='root', passwd='yourpassword',
database='student_db') cur = con.cursor() def add_student(): roll = int(input("Enter Roll No: ")) name = input("Enter Name: ")
clas = input("Enter Class: ") marks = float(input("Enter Marks: ")) query = "INSERT INTO student VALUES(%s, %s, %s, %s)"
cur.execute(query, (roll, name, clas, marks)) con.commit() print("■ Student added successfully!") def display_students():
cur.execute("SELECT * FROM student") for row in cur.fetchall(): print(row) def search_student(): roll = int(input("Enter Roll
No to search: ")) cur.execute("SELECT * FROM student WHERE roll_no=%s", (roll,)) data = cur.fetchone() print(data if data
else "■ Student not found") def update_student(): roll = int(input("Enter Roll No to update: ")) marks = float(input("Enter new
marks: ")) cur.execute("UPDATE student SET marks=%s WHERE roll_no=%s", (marks, roll)) con.commit() print("■ Marks
updated!") def delete_student(): roll = int(input("Enter Roll No to delete: ")) cur.execute("DELETE FROM student WHERE
roll_no=%s", (roll,)) con.commit() print("■■ Record deleted!") while True: print("\n--- STUDENT MANAGEMENT SYSTEM
---") print("1. Add Student") print("2. Display All Students") print("3. Search Student") print("4. Update Student") print("5.
Delete Student") print("6. Exit") choice = int(input("Enter your choice: ")) if choice == 1: add_student() elif choice == 2:
display_students() elif choice == 3: search_student() elif choice == 4: update_student() elif choice == 5: delete_student() elif
choice == 6: print("■ Exiting... Thank you!") break else: print("■■ Invalid choice. Try again!")

CONCLUSION
The Student Management System project helped in understanding database operations using
Python. It enhanced practical knowledge of database connectivity, SQL commands, and Python
programming logic. This project is a step towards developing real-world applications in Informatics
Practices.

BIBLIOGRAPHY
1. CBSE Informatics Practices Textbook (Class XII)
2. Python Documentation - https://docs.python.org
3. MySQL Documentation - https://dev.mysql.com

You might also like