0% found this document useful (0 votes)
11 views

Project File

Uploaded by

aseeskaur711
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Project File

Uploaded by

aseeskaur711
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

INFORMATICS PRACTICES

PROJECT

DEVELOPED BY:
ASEES KAUR

JASPAL KAUR PUBLIC SCHOOL


CLASS: 12 E
ROLLNO:
STUDENT
MANAGEMENT
SYSTEM
INDEX
Sno TOPIC

1 Certificate

2 Acknowledgement

3 Introduction

4 Aim of the project

5 Scope of the project

6 Hardware and Software


Requirements

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

I would like to express my special thanks of gratitude to my teacher Mrs


Ritu Gulati as well as our Principal Mrs Asha Saran Srivastava who
gave me the golden opportunity to do this wonderful project on the topic
“Student Management System” which also helped me in doing a lot of
research and I came to know about so many new things.
Secondly I would also like to thank my parents and friends who helped
me a lot in finishing this project within the time limit. I am making this
project not only for marks but to also increase my knowledge
INTRODUCTION

A Student Management System is a comprehensive software solution


designed to streamline and automate various administrative and
academic tasks within an educational institution. This system is
specifically tailored to meet the unique needs of managing student-
related information efficiently. The primary goal of a Student
Management System is to enhance the overall effectiveness of
educational institutions by providing a centralized platform for managing
student data, academic records, and administrative processes.
Overall, a Student Management System optimizes educational
processes, fostering a more organized, efficient, and technology-driven
environment for institutions and contributing to improved teaching and
learning experiences. The system facilitates efficient student data
handling, automates enrolment processes, and provides a centralized
platform for academic and administrative functions
It plays a pivotal role in automating administrative workflows, reducing
manual efforts, and enhancing overall productivity. The system's ability
to centralize student information ensures quick access to relevant data,
such as academic records and attendance, streamlining decision-making
processes.
AIM OF THE PROJECT

A Student Management System is designed to simplify and enhance


student-related operations within educational institutions, focusing on
key features: add, view, delete, search, and update. The "add"
functionality enables seamless integration of new student profiles,
ensuring accurate and comprehensive records from enrolment onwards.
Administrators can easily view consolidated student information, aiding
in effective decision-making regarding academic progress, attendance,
and more.

The system's delete option allows for the removal of obsolete or


incorrect entries, maintaining data precision. The search capability
swiftly retrieves specific student details, streamlining information retrieval
for timely actions. Moreover, the "update" function is vital for keeping
records current, reflecting changes in contact information, courses, or
achievements.

By encompassing these core features, the Student Management System


optimizes operations. It simplifies enrolment processes, facilitates
precise attendance tracking, and fosters communication among
educators, parents, and administrators. The system's view and search
functions offer rapid access to vital information, aiding prompt
interventions. Furthermore, the update capability ensures accurate
representation of students' academic journeys.

Overall, the system serves as a central hub, orchestrating student-


related tasks while promoting collaboration among stakeholders. It
contributes to the educational experience by streamlining administrative
processes and enabling well-informed decisions.
SCOPE OF THE PROJECT

The scope of a student management system with add, view, delete,


search, and update options revolves around these fundamental
functionalities. It encompasses creating a platform that allows
administrators to add new student profiles efficiently, view existing
student records comprehensively, delete redundant or outdated entries,
search for specific student information promptly, and update records
seamlessly. The system will include user-friendly interfaces for each of
these actions and ensure that data remains accurate, organized, and
easily accessible. Additionally, the scope involves implementing security
measures to protect sensitive information, offering a clear and intuitive
user experience, and potentially allowing different user roles for
administrators, teachers, and parents. While the system's primary focus
is on these core functions, it might also consider basic reporting
capabilities to generate summaries of student data as part of the view
option. By keeping the scope concise and centered around these
actions, the student management system project can efficiently meet the
administrative needs of educational institutions.
HARDWARE AND SOFTWARE REQUIREMENTS

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

Python is a versatile programming language that is widely used for


various applications, including data manipulation and analysis. When
working with CSV (Comma-Separated Values) files, Python offers
powerful tools to read, write, and process data in this format. CSV files
are commonly used to store tabular data, such as spreadsheets and
databases, where each line represents a row and fields within each line
are separated by commas.

FUNCTIONS DEFINED:

1. display_menu()

2. add_student()

3. view_students()

4. search_student()

5. update_student()

6. delete_student()
SOURCE CODE

import csv

student_fields = ['roll', 'name', 'age', 'email',


'phone']
student_database = 'students.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)

with open(student_database, "a", encoding="utf-


8") as f:
writer = csv.writer(f)
writer.writerows([student_data])

print("Data saved successfully")


input("Press any key to continue")
return

def view_students():
global student_fields
global student_database

print("--- Student Records ---")

with open(student_database, "r", encoding="utf-


8") as f:
reader = csv.reader(f)
for x in student_fields:
print(x, end='\t |')
print("\
n----------------------------------------------------
-------------")

for row in reader:


for item in row:
print(item, end="\t |")
print("\n")

input("Press any key to continue")

def search_student():
global student_fields
global student_database

print("--- Search Student ---")


roll = input("Enter roll no. to search: ")
with open(student_database, "r", encoding="utf-
8") as f:
reader = csv.reader(f)
for row in reader:
if len(row) > 0:
if roll == row[0]:
print("----- Student Found
-----")
print("Roll: ", row[0])
print("Name: ", row[1])
print("Age: ", row[2])
print("Email: ", row[3])
print("Phone: ", row[4])
break
else:
print("Roll No. not found in our
database")
input("Press any key to continue")

def update_student():
global student_fields
global student_database

print("--- Update Student ---")


roll = input("Enter roll no. to update: ")
index_student = None
updated_data = []
with open(student_database, "r", encoding="utf-
8") as f:
reader = csv.reader(f)
counter = 0
for row in reader:
if len(row) > 0:
if roll == row[0]:
index_student = counter
print("Student Found: at index
",index_student)
student_data = []
for field in student_fields:
value = input("Enter " +
field + ": ")
student_data.append(value)
updated_data.append(student_data)
else:
updated_data.append(row)
counter += 1

if index_student is not None:


with open(student_database, "w",
encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerows(updated_data)
else:
print("Roll No. not found in our database")

input("Press any key to continue")

def delete_student():
global student_fields
global student_database

print("--- Delete Student ---")


roll = input("Enter roll no. to delete: ")
student_found = False
updated_data = []
with open(student_database, "r", encoding="utf-
8") as f:
reader = csv.reader(f)
counter = 0
for row in reader:
if len(row) > 0:
if roll != row[0]:
updated_data.append(row)
counter += 1
else:
student_found = True

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")

input("Press any key to continue")

while True:
display_menu()

choice = input("Enter your choice: ")


if choice == '1':
add_student()
elif choice == '2':
view_students()
elif choice == '3':
search_student()
elif choice == '4':
update_student()
elif choice == '5':
delete_student()
else:
break

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

Enter your choice: 1


-------------------------
Add Student Information
-------------------------
Enter roll: 2
Enter name: Riya Kapoor
Enter age: 16
Enter email: [email protected]
Enter phone: 234
Data saved successfully
Press any key to continue

Enter your choice: 2


--- Student Records ---
roll |name |age |email |phone |
-----------------------------------------------------
------------
roll |name |age |email |phone |

1 |Asees Kaur |16 |[email protected]


|123 |
2 |Riya Kapoor |16 |[email protected]
|234 |

Press any key to continue

Enter your choice: 3


--- Search Student ---
Enter roll no. to search: 1
----- Student Found -----
Roll: 1
Name: Asees Kaur
Age: 16
Email: [email protected]
Phone: 123
Press any key to continue

Enter your choice: 4


--- Update Student ---
Enter roll no. to update: 1
Student Found: at index 1
Enter roll: 1
Enter name: Asees Kaur
Enter age: 16
Enter email: [email protected]
Enter phone: 444
Press any key to continue

Enter your choice: 5


--- Delete Student ---
Enter roll no. to delete: 2
Roll no. 2 deleted successfully
Press any key to continue
Enter your choice: 2
--- Student Records ---
roll |name |age |email |phone |
-----------------------------------------------------
------------
roll |name |age |email |phone |

1 |Asees Kaur |16 |[email protected]


|444 |
Press any key to continue
BIBLIOGRAPHY

 www.google.com
 www.youtube.com
 Book: Informatics Practices by NCERT
 Book: Informatics Practices by Sumita Arora
 Book: Informatics Practices by Preeti Arora

You might also like