Class12 CS Python Project
Class12 CS Python Project
Class: XII
Session: 2025-2026
Acknowledgment
I sincerely thank my Computer Science teacher for guidance and support throughout this project. This file is
Certificate
This is to certify that [Your Name], Class XII student, has successfully completed the Computer Science
project titled 'Python-Based Student Record System' under CBSE guidelines for the session 2025-26.
Class 12 Computer Science Project: Python-Based Student Record System
Index
1. Introduction
2. Objective
4. Scope of Project
6. Output Screens
8. Conclusion
9. Bibliography
Class 12 Computer Science Project: Python-Based Student Record System
Introduction
This project demonstrates a simple Python program to manage student records. It includes adding, viewing,
and searching student data using text file storage and Python's basic features.
Class 12 Computer Science Project: Python-Based Student Record System
Objective
- OS: Windows/Linux
Scope of Project
- GUI (Tkinter)
import os
def add_student():
f.write(f"{name},{roll},{clas},{marks}\n")
print("Student added.\n")
def view_students():
for line in f:
def search_student():
found = False
for line in f:
Class 12 Computer Science Project: Python-Based Student Record System
if roll == roll_search:
found = True
if not found:
def menu():
while True:
if choice == '1':
add_student()
view_students()
search_student()
break
else:
print("Invalid input!")
menu()
Class 12 Computer Science Project: Python-Based Student Record System
Output Screens
1. Add Student
3. Search Student
4. Exit
Enter choice: 1
Enter class: 12
Enter marks: 85
Student added.
Advantages:
- Easy to use.
Limitations:
- No GUI interface.
- No database storage.
- Not encrypted.
Class 12 Computer Science Project: Python-Based Student Record System
Conclusion
This Python project helped me understand file handling, functions, and data management. It improved my
Bibliography
- https://www.geeksforgeeks.org
- https://docs.python.org
- https://www.w3schools.com/python