CS Project 24-25
CS Project 24-25
CS INVESTIGATORY PROJECT
YASH KOTA
MD ANSAR
MADAN
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
∙ Attendance Tracking
∙ Performance Monitoring
∙ Search Functionality
∙ Database Integration
● Use SQL to store, query, and manage data securely and efficiently.
∙ User-Friendly Interface
∙ Report Generation
∙ 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
● Student Record Management:
connection = connect_to_db()
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;
Output:
● Retrieve marks of a specific student:
SELECTs.first_name, s.last_name, m.subject,
m.marks_obtained, m.total_marks
FROM students s
WHERE s.student_id = 1;
OutPut:
● Attendance record of a student:
SELECTs.first_name, s.last_name, m.subject,
m.marks_obtained, m.total_marks
FROM students s
WHERE s.student_id = 1;
Output:
4. Updating Records:
● Update contact number of a student:
UPDATE students
SET contact_number = '9876543210'
WHERE student_id = 2;
Output:
5. Deleting Records:
● Remove a student record:
DELETE FROM students WHERE student_id = 10;
Output:
3. Design Phase
4. Development Phase
5. Testing Phase
6. Deployment Phase
7. Maintenance Phase
REQUIREMENTS
Hardware and Software
Requirements:
Hardware Requirements:
✧ Processor: Dual-core processor (2 GHz or faster)
Software Requirements:
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: