CS Project 24-25
CS Project 24-25
CS INVESTIGATORY PROJECT
MONISH VERMA
MD ANSAR
CERTIFICATE
This is to certify that YASH KOTA, a student of class
XII A, bearing the exam hall ticket no:
has successfully completed the project work
entitled ”Student Record Management
System” under the guidance of Smt. K Srikantha
(subject teacher), PGT CS, during the Academic
year 2024-25 in partial fulfillment of COMPUTER
SCIENCE(083) AISSCE practical examination
conducted by CENTRAL BOARD OF SECONDARY
EDUCATION leading to the award of Annual
examination of the year 2024-25.
Signature of Teacher
INTRODUCTION
The “Student Management System” is a
digital solution for efficiently managing
student data, combining Python and SQL. It
streamlines tasks like adding, updating, and
retrieving student details, managing
attendance, and generating performance
reports. By automating processes, it
minimizes errors, saves time, and enhances
data organization, benefiting schools and
colleges with better administrative efficiency.
Features Overview:
Student Data Management
● Add, update, delete, and retrieve student personal and academic
details.
Attendance Tracking
● Record and view attendance for each student.
● Generate attendance percentage reports.
Performance Monitoring
● Store and manage exam scores and grades.
● Generate performance reports for students.
Search Functionality
● Search students by name, ID, or class for quick access to data.
Database Integration
● Use SQL to store, query, and manage data securely and efficiently.
User-Friendly Interface
● Python-powered interface for seamless interaction with the system .
Report Generation
● Create summary reports for attendance, grades, and overall student
performance.
Error Handling
● Validate inputs to prevent data inconsistencies or entry errors.
Code Modules:
● Imports:
import mysql.connector
● Database Connection:
def connect_to_db():
try:
connection = mysql.connector.connect(
host="localhost",
user="root",
password="password",
database="student_db"
return connection
except Error as e:
return None
if connection:
cursor = connection.cursor()
connection.commit()
cursor.close()
connection.close()
● Search Functionality:
def search_student(roll_number):
connection = connect_to_db()
if connection:
cursor = connection.cursor()
cursor.execute(query, (roll_number,))
result = cursor.fetchall()
return result
Database Design:
The database for this system is designed using MySQL, which
ensures quick data retrieval and storage. The main table students
contains the following fields:
● id (Primary Key)
● name
● roll_number
● age
● gender
● contact
● address
● email
SQL Queryies
1. Creating Tables:
CREATE TABLE students (
first_name VARCHAR(50),
last_name VARCHAR(50),
class VARCHAR(10),
dob DATE,
gender VARCHAR(10),
contact_number VARCHAR(15),
email VARCHAR(100)
);
student_id INT,
subject VARCHAR(50),
marks_obtained INT,
total_marks INT,
);
student_id INT,
date DATE,
status VARCHAR(10),
);
2. Inserting Records:
INSERT INTO students (student_id, first_name, last_name, class, dob, gender, contact_number, email)
VALUES
3. Retrieving Data:
● Fetch all students:
SELECT * FROM students;
● Retrieve marks of a specific student:
SELECT s.first_name, s.last_name, m.subject, m.marks_obtained, m.total_marks
FROM students s
WHERE s.student_id = 1;
FROM students s
WHERE s.student_id = 1;
4. Updating Records:
● Update contact number of a student:
UPDATE students
WHERE student_id = 1;
5. Deleting Records:
● Remove a student record:
DELETE FROM students WHERE student_id = 1;
4. Development Phase
5. Testing Phase
7. Maintenance Phase
REQUIREMENTS
Hardware and Software
Requirements:
Hardware Requirements:
✧ Processor: Dual-core processor (2 GHz or faster)
✧ RAM: 4 GB (8 GB recommended for multitasking)
✧ Storage: 10 GB of free disk space
✧ Internet: Stable broadband connection
Software Requirements:
✧ Operating System: Windows 10 or later, Linux, or macOS
✧ Python: Python 3.10+
✧ MySQL Server: MySQL 8.0 or later
✧ IDE/Text Editor: Visual Studio Code, PyCharm
✧ Database Tools: MySQL Workbench
SOURCE CODE
https://github.com/monda-s/MONISH-VERMA
CONCLUSION
The Student Management System successfully
streamlines student data management, including
attendance, performance tracking, and record
maintenance. This project highlights the integration of
Python and SQL for efficient database operations,
showcasing practical programming skills. The system
ensures accuracy, scalability, and ease of use, making it
a valuable tool for educational institutions.
From the very beginning, I took full responsibility for writing the
entire code for the project. Developing its features required
careful planning, creativity, and strong problem-solving skills. I
focused on making each part of the program functional and user-
friendly, ensuring that it met its intended purpose effectively and
efficiently.
BIBLOGRAPHY
Books and Study Materials:
Online Resources:
Acknowledgments: