Project File
Project File
PROJECT
DEVELOPED BY:
ASEES KAUR
1 Certificate
2 Acknowledgement
3 Introduction
7 Data dictionary
8 Source Code
9 Output
10 Bibliography
CERTIFICATE
This is to certify that Asees Kaur, student of class 12th 'E' has
successfully completed the research on the project “STUDENT
MANAGEMENT SYSTEM” under the guidance of Miss Ritu
Gulati during the year 2023-24. The work done by them is
original.
Teacher’s signature
ACKNOWLEDGEMENT
Hardware Requirements:
Processor (CPU): A modern multi-core processor to handle
computational tasks efficiently.
Memory (RAM): Sufficient RAM to support the size of data, 4-8 GB of
RAM is generally suitable.
Storage: Adequate storage space for the Python environment, your
scripts, and the data files.
Input/Output Devices: Standard input devices like keyboard and mouse,
and a display for user interaction.
Software Requirements:
Operating System: Python is platform-independent, Windows, macOS,
or Linux can be chosen.
Python: Installing the Python programming language on the system.
Integrated Development Environment (IDE): While IDLE is the default
IDE that comes with Python
csv: This is a built-in module in Python that allows for reading and writing
CSV files.
pandas: When dealing with Excel files, the pandas library is highly useful
for data manipulation and analysis.
Excel Software: Python libraries interact with Excel files for csv
DATA DICTIONARY
FUNCTIONS DEFINED:
1. display_menu()
2. add_student()
3. view_students()
4. search_student()
5. update_student()
6. delete_student()
SOURCE CODE
import csv
def display_menu():
print("---------------------------------------")
print(" Student Database Management System")
print("---------------------------------------")
print("1. Add New Student")
print("2. View Students")
print("3. Search Student")
print("4. Update Student")
print("5. Delete Student")
print("6. Quit")
def add_student():
print("-------------------------")
print("Add Student Information")
print("-------------------------")
global student_fields
global student_database
student_data = []
for field in student_fields:
value = input("Enter " + field + ": ")
student_data.append(value)
def view_students():
global student_fields
global student_database
def search_student():
global student_fields
global student_database
def update_student():
global student_fields
global student_database
def delete_student():
global student_fields
global student_database
if student_found is True:
with open(student_database, "w",
encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerows(updated_data)
print("Roll no. ", roll, "deleted
successfully")
else:
print("Roll No. not found in our database")
while True:
display_menu()
print("-------------------------------")
print(" Thank you for using our system")
print("-------------------------------")
OUTPUT
---------------------------------------
Student Database Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 1
-------------------------
Add Student Information
-------------------------
Enter roll: 1
Enter name: Asees Kaur
Enter age: 16
Enter email: [email protected]
Enter phone: 123
Data saved successfully
Press any key to continue
www.google.com
www.youtube.com
Book: Informatics Practices by NCERT
Book: Informatics Practices by Sumita Arora
Book: Informatics Practices by Preeti Arora