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

Project Ip by Abhi and Vikrant Pp (1)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Project Ip by Abhi and Vikrant Pp (1)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 28

INFORMATICS

PRACTICES
PROJECT
TOPIC : STUDENT MANAGEMENT
SYSTEM

By Abhishek and Vikrant


Gupta Maru
ACKNOWLEDGEMENT
I take this opportunity to express my gratitude to all
those people who have been directly and indirectly with
us during the completion of this project work.

I pay a special thanks to our respected sir Mr. Hitesh


Kumar Bhabhiwal who has been giving guidance to us
during the completion of this project work. His versatile
knowledge has eased us in the critical times during the
span of this project work.

I would like to add a sincere note of thanks to the entire


members of Computer Department in our institution for
being so co-operative and encouraging all through the
project.

Our honest thanks to our honorable Principal


Mr. Priydarshan Garg sir for providing all possible
facilities during this project and arranging suitable time
schedules while the whole project work.

I acknowledge here ourdebt to those who contributed


significantly to one or more steps. We take full
responsibility for any remaining sins of omission and
commission.
STUDENT NAME :
ABHISHEK GUPTA

AND VIKRANT MARU

CLASS
: XII th ‘COMMERCE’
SCHOOL
NAME : PM SHRI KENDRIYA

VIDHYALAYA NO.1

NEEMUCH(M.P)

PM SHRI KENDRIYA VIDYALAYA No.1,


NEEMUCH

CERTIFICATE

This is to certify that Ma. ABHISHEK AND VIKRANT of


class XII ‘commerce ‘(Computer Science) Stream, Session:
2023-24has satisfactorily carried on there project work for
Computer Science Practical Examinations. The project work of
“STUDENT MANAGEMENT SYSTEM” was performed and
done by the candidate themself under personal guidance and
supervision.

His approach to the project work was sincere and satisfactory. His keen interest, sincere
efforts and constant persuasion during the project could get this project work completed

Approved by:

Mr. H.K. Bhabhiwal/


P.G.T. [Comp. Sc.]

INDEX
S No. TOPIC Page no

1 NEED OF PROJECT 01 - 02

2 SOFTWARE AND HARDWARE REQUIREMENT 03 - 05

3 DATABASE DESIGN 06

4 HOW TO RUN THE PROJECT 07

5 SYSTEM INSTALLATION 08

6 SOURCE CODE 09 - 25

7 OUTPUTS 26 -

8 CONCLUSION

9 BIBLIOGRAPHY
NEED OF THE PROJECT
1. Student Data Management: The system allows
for the effective management of student data,
including personal details (name, roll number,
class, parents' names, date of birth), which is a
fundamental requirement in any educational
institution.

2. Record Keeping: The program enables the


addition, retrieval, modification, and deletion of
student records. This capability ensures that
accurate and updated information is maintained, a
critical aspect of educational administration.

3. Report Card Generation: The system facilitates


the entry and management of student marks,
ensuring that academic performance data can be
uploaded and viewed as needed, supporting the
creation of report cards or academic transcripts.

4. Data Visualization: The inclusion of graphical


representations (line charts and bar charts) for
visualizing student performance allows for a
clearer understanding of academic progress and
trends.

5. User-Friendly Interface: The interface design


appears to guide users through various tasks, such
as adding records, searching for student
information, updating records, and managing
marks.
(01)
6.Time Efficiency: By automating these
administrative tasks, the system aids in saving time
that would otherwise be spent on manual data entry,
ensuring efficiency in managing student-related
information.
(02)

SOFTWARE AND HARDWARE


REQUIREMENTS
≡ HARDWARE REQIUREMENTS

1. Processor (CPU):The system should ideally have


a multi-core processor with a speed of at least 1.6
GHz or higher. A modern processor, such as an
Intel Core i5 or AMD Ryzen 5 series, would handle
the data processing tasks more efficiently. The
number of cores is essential for multitasking and
managing concurrent operations while running the
system.
2. Memory (RAM): Sufficient memory is needed to
run Python and process data. The exact amount of
RAM required depends on the volume of data being
handled. As a guideline, a minimum of 4GB RAM is
recommended, but larger datasets may require
more RAM.

3. Storage: Adequate storage space is necessary to


store the Python code, CSV files, and any
additional files or data associated with the system.
Ensure enough disk space is available to
accommodate data storage requirements.

4. Graphics: For graphical representation using


Matplotlib, a standard graphics card that supports
the display of charts and graphs will suffice. Most
integrated graphics solutions should work well for
this purpose.
(03)

5. Input/Output Devices: Standard input devices


such as a keyboard and mouse, as well as an
output device such as a monitor or display, are
required for interacting with the system.
(04)

≡ SOFTWARE REQUIREMENTS

1. Operating System: The system should run on an


operating system compatible with the
programming language used (Python in this case).
Common choices include Windows, macOS, or
Linux distributions.

2. Python: Ensure Python is installed on the system.


The code provided seems to be written in Python,
so having a compatible version of Python (such as
Python 3.x) installed is necessary.

3. Libraries: The code uses several libraries such as


Pandas, NumPy, and Matplotlib. Make sure these
libraries are installed. They can be installed using
Python's package manager, pip, via the command
line:

pip install pandas numpy matplotlib


CSV Files: The code reads and writes data from CSV
files (Details.csv and Report.csv). Ensure these files are
present in the specified paths or directories as
indicated in the code.
(05)

≡DATABASE DESIGN
→Code operates using CSV files ("Details.csv" and
"Report.csv") as data storage, which represents a
simple flat-file approach rather than using a traditional
database management system like MySQL, PostgreSQL,
or SQLite. However, if you were to design a database
for a Student Management System like this in a
relational database model, here's a conceptual outline
of how the tables and relationships might be
structured:

Entities and Relationships:

1. Student Table:
 Attributes:
 RollNo (Primary Key)
 Name
 sex
 class
 section
 phone_no
 email_id
2. Attendence Table:
 Attributes:
 RollNo (Foreign Key referencing Students'
RollNo)
 Stu_att

Relationships:

One-to-Many Relationship: Each student can have


multiple marks recorded in different subjects. This is
represented by the relationship between the Students
table (one side) and the Marks table (many side).

(06)

≡HOW TO RUN THE PROGRAM


1. Install Python: If Python is not installed on your system,
download and install it from the official Python website. Make
sure to select the option to add Python to PATH during installation.
2. Install Required Libraries: Open a command prompt or
terminal and install the necessary libraries (Pandas,
NumPy, Matplotlib) using the following command:
Copy code
pip install pandas numpy matplotlib
3. Download the Code and CSV Files: Save the provided
code to a directory on your computer. Ensure that the CSV
files (Details.csv and Report.csv) are in the same directory
as the Python code.

Running the Project:

4. Run the Python Code: Open a command prompt or


terminal, navigate to the directory where the Python code
and CSV files are stored, and run the Python script by
entering:
Copy code
python filename.py
Replace filename.py with the name of the Python file
containing the project code.
5. Interacting with the Project: Once the code is running,
follow the prompts displayed in the command line or
terminal to interact with the Student Management System.
The code provides options such as managing student
details, uploading marks, displaying records, updating
information, and generating graphical reports.
6. Performing Tasks: Choose options as prompted by the
system to perform various tasks like adding records,
searching for student information, updating details,
managing marks, and generating graphical reports based
on the academic performance data.
7. Exit the Program: To exit the program, follow the
provided prompts and choose the appropriate option (e.g.,
"Close Program," "Exit," or entering "0" when prompted to
select an action).

(07)

≡SYSTEM INSTALLATION
If you want to set up the Student Management System
on a single machine for personal use or within a local
environment, follow these steps:

Prerequisites:

1. Python Installation: Ensure Python is installed on


your system. Download and install Python from the
official Python website. Make sure to select the
option to add Python to PATH during installation.

2. CSV Files: Prepare or ensure you have the CSV


files (Details.csv and Report.csv) containing
sample data in the format expected by the code.
꙰Installation Steps:
1. Download the Code: Save the provided Python
code to your local machine. Ensure the CSV files
are in the same directory as the Python code.

2. Install Required Libraries: Open a command


prompt or terminal, navigate to the directory
containing your Python project files, and install the
necessary libraries (Pandas, NumPy, Matplotlib) by
running the following command:

pip install pandas numpy matplotlib


Run the Program: Open a command prompt or
terminal, navigate to the directory where your Python
code is stored, and execute the Python script by
entering:

(08)

≡THE SOURCE CODE


import mysql.connector as con ,
matplotlib.pyplot as plt
d=con.connect(host='localhost',use
r='root',password='kvnmh',database
='attendence')
c=d.cursor()
print('---------------------------
----------------------------------
--')

while True:
print("**************WELCOME
TO STUDENT
MANAGEMENT*****************")
print("1.admin")
print("2.user")
print("3.exit")
ch=int(input("login
through:"))
(09)
if ch==1:
while True:

print("***************WELCOME TO
STUDENT MANAGEMENT
*****************")
print("---------------------------
----------------------------------
-")
print("1.search
student details")
print("2.to add
student attendence")
print("3.update
student details")
print("4.view student
details")
print("5.add student
details")
print("6.delete from
student ")
print('7.to view
student attendence')
(10)
print('8.to delete from
attendence')

print("9.to view
graph")
print("10.exit")
ch=int(input("your
choice: "))
if ch==1:
k=input("Enter
name to search student Name : ")
print("*****************STUDENT
DETAILS***********************")
c.execute("select*from STUDENT
where NAME like '%{}
%'".format(k))
a=c.fetchall()
if len(a)>=1:
for i in a:
print("Roll no:",i[0])

(11)
print("Name is:",i[1])
print("Sex:",i[2])
print("Class=",i[3])
print("Sec:",i[4])
print("Phone number is=",i[5])
print("Email_id:",i[6])
print("---------------------------
-------------------------")
else:
print("Student
Details Not Found")
d.commit()
elif ch==2:

(12)
print("*****************STUDENT
ATTENDENCE
***********************")
a=int(input("Enter
roll no of student : "))
b=int(input("Enter
present or absent: "))
query = 'insert
into attendence
values("{}","{}")'.format(a,b)
print(query)
c.execute( query)
d.commit()
elif ch==3:
print("1. Update Name")
print("2. Update Gender")
print("3. Update class")
print("4. Update Section")
print("5. Update Phone no.")
print("6. Update E-mail id")
opt=int(input("Enter your choice
to update"))

(13)
if opt==1:
print("---------------------------
------------------------")
print("You are
inside updating name.")
q=input("Enter
ROLL_NUMBER whose data you want to
update: ")
l=input("Enter
your updated name: ")
c.execute("update STUDENT set
NAME='{}' where
roll_NUMBER={}".format(l,q))
d.commit()
elif opt==2:
print("---------------------------
----------------------------------
---------------------------")
print("You are
inside updating Gender.")
p=input("Enter
name whose data you want to
update: ")
(14)
l=input("Enter
your updated Gender: ")
c.execute("update STUDENT set
SEX='{}'where
name='{}'".format(l,p))
d.commit()
elif opt==3:
print("---------------------------
------------------------")
print("You are
inside updating class.")
m=input("Enter
name whose data you want to
update: ")
n=input("Enter
your updated class: ")
c.execute("update STUDENT set
CLASS='{}' where
name='{}'".format(n,m))
d.commit()
elif opt==4:

(15)
print("---------------------------
------------------------")
print("You are
inside updating section.")
y=input("Enter
name whose data you want to
update: ")
e=input("Enter
your updated section: ")
c.execute("update STUDENT set
SEC='{}' where
name='{}'".format(e,y))
d.commit()
elif opt==5:
print("---------------------------
------------------------")
print("You are
inside updating phonenumber.")
h=input("Enter
name whose data you want to
update: ")
r=input("Enter
your updated phone number: ")

(16)
c.execute("update STUDENT set
PHONE_NUMBER='{}' where
name='{}'".format(r,h))
d.commit()
elif opt==6:
print("---------------------------
------------------------")
print("You are
inside updating email_id.")
j=input("Enter
name whose data you want to
update: ")
k=input("Enter
your updated email_id : ")
c.execute("update STUDENT set
EMAIL_ID='{}' where
name='{}'".format(k,j))
d.commit()
else:
print("enter
correct choice")
break
(17)
elif ch==4:
k=input("Enter
name to view student : ")
print("******************* VIEW
STUDENT
DETAILS******************")

c.execute("select*from STUDENT
where NAME like '%{}%'".format(k))
s=c.fetchall()
for i in s:
print("MARKS:",i[7])
print("---------------------------
--------------------------")

d.commit()
elif ch==5:

(18)
print(".................. ADD
STUDENT
DETAILS......................")

a=input("Enter
student name : ")
n=int(input("Enter
student rollno number: "))
r=input("Enter
gender of student: ")
i=int(input("Enter
class of student:"))
p=input("Enter
student section : ")
t=int(input("Enter
student phone number:"))
u=input("Enter
your mail id:")
m=int(input("Enter
your marks:"))

(19)
sq=( "insert into
STUDENT(name,rollno,sex,class,sect
ion,phone_no,email_id,marks)
values
('{}','{}','{}','{}','{}','{}','{}
','{}')
").format(a,n,r,i,p,t,u,m)
c.execute(sq)
d.commit()
print("student
data added successfully")
elif ch==6:
k=input("Enter
name to DELETE student: ")
print("******************** DELETE
STUDENT
DETAILS*******************")
c.execute("delete
from STUDENT where
name='{}'".format(k))

(20)
print(".........Data deleted
successfully..........")
d.commit()

elif ch==7:
print("*****************STUDENT
ATTENDENCE
***********************")
c.execute('select
* from attendence')
z=c.fetchall()
print(z)

elif ch==8:
k=
int(input('enter rollno to
delete:'))
print('*********DELETE STUDENT
ATTENDENCE*********')
c.execute("delete
from attendence where rollno=
'{}'".format(k))
(21)
print("data deleted")
d.commit()

elif ch==10:
break
else :
print("invalid
input")
elif ch==2:
while True:
print("***************WELCOME TO
STUDENT MANAGEMENT
**************")
print("1.search your
Details")
print("2.view
Details")
(22)
print("3.exit")
ch=int(input("what is
your choice: "))
if ch==1:
k=input("Enter
name to search student details: ")
print("*****************STUDENT
DETAILS***********************")

c.execute("select*from STUDENT
where NAME like '%{}%'".format(k))
a=c.fetchall()
if len(a)>=1:
for i in a:
print("ROLL no:",i[0])
print("Name is:",i[1])
print("Sex:",i[2])

(23)

print("Class=",i[3])
print("Sec:",i[4])
print("Phone number is=",i[5])
print("Email_id:",i[6])
print("---------------------------
-------------------------")
else:
print("Student
Details Not Found")
d.commit()

elif ch==2:
k=input("Enter
name to view student details : ")
print("******************* VIEW
STUDENT
DETAILS******************")
(24)

c.execute("select*from STUDENT
where NAME like '%{}%'".format(k))
s=c.fetchall()
for i in s:
print("MARKS:",i[7])
print("---------------------------
--------------------------")
d.commit()
elif ch==3:
break
else:
print("invalid input")

(25)

≡OUTPUTS:-
The outputs or results you can expect from running the Student
Management System code provided earlier will depend on the
functionalities implemented within the code. Here are the
potential outputs based on the actions you perform within the
program:

You might also like