MAHARSHI PATANJALI VIDYA MANDIR
ACADEMIC YEAR : 2024-25
PROJECT REPORT ON
“STUDENT MANAGEMENT SYSTEM”
ROLL NO : 11
NAME : ANMOL
CLASS : XI
SUBJECT : COMPUTER SCIENCE
SUB CODE : 083
PROJECT GUIDE: MRINAL PANDEY
PGT (CS)
1
MAHARSHI PATANJALI VIDYA MANDIR
CERTIFICATE
This is to certify that Mr. Anmol Roll No :11
has successfully completed the project Work entitled "STUDENT
MANAGEMENT SYSTEM" in the subject Computer Science (083) laid
down in the regulations of CBSE for the purpose of Practical Examination
in Class XI to be held on 21 Feb 2025
( )
PGT Comp. Sci.
Examiner:
Name:
2
Signature:
Date:
3
TABLE OF CONTENTS [ T O C ]
SR. DESCRIPTION PAGE NO
NO.
1
01 ACKNOWLEDGEMENT
2
02 INTRODUCTION
3
03 OBJECTIVES OF THE PROJECT
4-5
04 PROJECT DESCRIPTION
6-7
05 PROJECT CODE
8-10
06 OUTPUT
11
07 HARDWARE AND SOFTWARE REQUIREMENTS
12
08 BIBLIOGRAPHY
4
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my
gratitude to the people who have been instrumental in the successful completion of
this project.
I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
I express my heartfelt gratitude to my parents for constant encouragement while
carrying out this project.
I gratefully acknowledge the contribution of the individuals who contributed in
bringing this project up to this level, who continues to look after me despite my flaws,
I express my deep sense of gratitude to the luminary our Principal, Mrs.
Alpona Dey who has been continuously motivating and extending her helping hand
to us.
My sincere thanks to Mr. Mrinal Pandey , Master In-charge, A guide,
Mentor all the above a friend, who critically reviewed my project and helped in solving
each and every problem, occurred during implementation of the project
The guidance and support received from all the members who contributed and
who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.
5
PROJECT ON “STUDENT MANAGEMENT SYSTEM”
➢ INTRODUCTION :
A Student Management System (SMS) is a vital tool for educational
institutions, designed to efficiently manage and streamline student-related
data. It offers a centralized platform for storing, managing, and accessing
information such as student details, academic records, and performance
metrics.
This project, titled “Student Management System,” aims to simplify
administrative tasks by providing functionalities like adding, viewing,
updating, searching, and deleting student records. With an intuitive and
user-friendly interface, this system enhances productivity, minimizes
manual errors, and ensures data integrity.
By automating routine tasks, the Student Management System not only
saves time but also enables educators and administrators to focus more on
academic excellence and student support.
6
➢ OBJECTIVES OF THE PROJECT :
Write a menu driven Python Program to:-
• Accept records of Student (RollNo, Name, Class, Marks) and save the
records in form of dictionary.
• Display all the records which are already saved in the student
database.
• Search any particular record on the basis of RollNo entered by user.
• Update the value of Marks for any particular record identified on the
basis of RollNo entered by user.
• Delete any particular record identified on the basis of RollNo entered
by user.
7
❖ PROJECT DESCRIPTION
In this project, we are going to create a menu driven program which will enable the
users to insert new records in the database, display previously stored records from the
database, search for any record from the database based on RollNo entered by the
user, update any record based on RollNo entered by the user and delete any record
based on RollNo entered by the user.
Once the user runs the program, a menu will be displayed before the user as shown
below:
• Enter 1 for inserting new records
• Enter 2 for displaying all the saved records
• Enter 3 for searching any record based on RollNo
• Enter 4 for updating any record based on RollNo
• Enter 5 for deleting any particular record
• Enter 6 for exiting the program
Scenario 1:
If user enters 1, then the system will prompt the user to enter the records of the student
(RollNo, Name, Class, Marks). The user will enter these 4 values one after the other for
every student record and this record will be entered in the student dictionary using
simple assignment method. User will be again shown the menu of options from which
he/she can choose the next operation to be performed.
Scenario 2:
If user enters 2, then the system will display all the records of the student database in
the form of dictionary. It should be noted that the records may be displayed in any order
as there is no defined ordering in the key value pairs of a dictionary. User will be again
shown the menu of options from which he/she can choose the next operation to be
performed.
Scenario 3:
If user enters 3, then system will again prompt the user to enter the value of RollNo on
the basis of which the student record will be searched from the database. Once user
enters the value of RollNo, then the program will search for the record on the basis of
entered RollNo and if the record is found, the record will be displayed before the user.
Otherwise, a message will be displayed before the user that the record was not found.
User will be again shown the menu of options from which he/she can choose the next
operation to be performed.
Scenario 4:
If user enters 4, then system will again prompt the user to enter the value of RollNo on
the basis of which the student record which is to be updated will be searched from the
database. The user will then be prompted to enter the new value of Marks which has to
be updated in the searched record. If the searched record is found, then the new value
of Marks is updated in the record. Otherwise, a message will be displayed before the
user that the record was not found. User will be again shown the menu of options from
which he/she can choose the next operation to be performed.
Scenario 5:
8
If user enters 5, then system will again prompt the user to enter the value of RollNo on
the basis of which the student record which is to be deleted will be searched from the
database. Once user enters the value of RollNo, then the program will search for the
record on the basis of entered RollNo and if the record is found, the record will be
deleted and a message confirming the action will be displayed before the user.
Otherwise, a message will be displayed before the user that the record was not found.
User will be again shown the menu of options from which he/she can choose the next
operation to be performed.
Scenario 6:
If the user enters 6, it means that he/she doesn’t want to continue the execution of
program and so the break statement will terminate the while loop in the program and the
program execution will come to an end.
➢ PROJECT CODE :
students = { }
while True:
print("\nMenu:")
print("1. Add Student Record")
print("2. Display All Records")
9
print("3. Search Record by Roll No")
print("4. Update Marks by Roll No")
print("5. Delete Record by Roll No")
print("6. Exit") choice = input("Enter your choice: ")
if choice == '1':
roll_no = input("Enter Roll No: ")
name = input("Enter Name: ")
class_name = input("Enter Class: ")
marks = input("Enter Marks: ")
students[roll_no] = {'Name': name, 'Class': class_name,
'Marks': marks}
print("Record added successfully!\n")
elif choice == '2':
if students:
for roll_no, info in students.items():
print(f"Roll No: {roll_no}, Name: {info['Name']},
Class: {info['Class']}, Marks: {info['Marks']}")
else:
print("No records found!\n")
elif choice == '3':
roll_no = input("Enter Roll No to search: ")
if roll_no in students:
info = students[roll_no]
print(f"Found - Roll No: {roll_no}, Name:
{info['Name']}, Class: {info['Class']}, Marks:
{info['Marks']}")
else:
print("Record not found!\n")
elif choice == '4':
roll_no = input("Enter Roll No to update: ")
if roll_no in students:
new_marks = input("Enter new Marks: ")
students[roll_no]['Marks'] = new_marks
print("Marks updated successfully!\n")
else:
print("Record not found!\n")
elif choice == '5':
roll_no = input("Enter Roll No to delete: ")
if roll_no in students:
10
del students[roll_no]
print("Record deleted successfully!\n")
else:
print("Record not found!\n")
elif choice == '6':
print("Exiting program. Goodbye!")
break
else:
print("Invalid choice. Please try again!\n")
11
➢ OUTPUT:
When the Student Management System program is executed, it presents a
user-friendly menu-driven interface that offers multiple functionalities for
managing student records.
The Output Workflow:
1. Initial Display: The program starts by displaying a menu with six
options:
a. Add Student Record
b. Display All Records
c. Search Record by Roll No
d. Update Marks by Roll No
e. Delete Record by Roll No
f. Exit
2. Adding a Student Record:
a. When the user selects Option 1, the program prompts for student
details: Roll No, Name, Class, and Marks.
b. Upon successful entry, it displays:
"Record added successfully!"
3. Displaying All Records:
a. On selecting Option 2, the program fetches and displays all
stored records in a structured format, showing each student's
Roll No, Name, Class, and Marks.
b. If no records are found, it displays:
"No records found!"
4. Searching a Record by Roll No:
a. When Option 3 is chosen, the program asks for the Roll No to
search.
b. If the record exists, it displays the student's complete information.
c. Otherwise, it shows:
"Record not found!"
5. Updating Marks:
a. By choosing Option 4, the program requests the Roll No and the
new marks.
b. If the record is found, it updates the marks and confirms with:
12
"Marks updated successfully!"
c. If the record doesn't exist, it notifies:
"Record not found!"
6. Deleting a Record:
a. Selecting Option 5, the program asks for the Roll No to delete
the corresponding record.
b. Upon successful deletion, it shows:
"Record deleted successfully!"
c. If the Roll No is not found, the message is:
"Record not found!"
7. Exiting the Program:
a. Choosing Option 6 gracefully terminates the program with the
message:
"Exiting program. Goodbye!"
8. Invalid Input Handling:
a. For any invalid menu choice, the program provides feedback:
"Invalid choice. Please try again!"
Overall, the Student Management System ensures a smooth experience for
both data entry and retrieval, maintaining accuracy and efficiency in
managing student information.
❖ Example Scenario:
1. Adding Student Records:
Input:
Enter your choice: 1
Enter Roll No: 101
Enter Name: Rahul Sharma
Enter Class: 11A
Enter Marks: 85
Output:
Record added successfully!
2. Displaying All Records:
Input:
13
Enter your choice: 2
Output:
Roll No: 101, Name: Rahul Sharma, Class: 11A, Marks: 85
3. Searching a Record by Roll No:
Input:
Enter your choice: 3
Enter Roll No to search: 101
Output:
Found - Roll No: 101, Name: Rahul Sharma, Class: 11A, Marks: 85
14
15
HARDWARE AND SOFTWARE REQUIREMENTS
I.OPERATING SYSTEM : WINDOWS 11
II. PROCESSOR : Intel i7 13th Gen
III.RAM : 12GB
IV.SSD : GEONIX 256 GB
V:Key board and mouse : ZEBRONICS,REDGEAR
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
16
17
BIBLIOGRAPHY
1. Computer science With Python - Class XIBy : Sumita Arora
2. Resources across the web.
***
18