0% found this document useful (0 votes)
11 views33 pages

PROJECT

Uploaded by

pawansaxena1980
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)
11 views33 pages

PROJECT

Uploaded by

pawansaxena1980
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/ 33

Kendriya Vidyalaya No 1 Cantt

Shahjahanpur
Shift-II

Session 2022-23

Project report on
“MARKS MANAGEMENT SYSTEM”

Submitted By- Submitted


To-
Anmol Saxena Mrs.
Sonali Dhondhiyal
XII- E PGT(CS)
Roll No: 21722666
Certificate
This is to certify that Anmol Saxena of Class XII E has
prepared the report on the project entitled “Marks
Management System”. This report is the result of his
efforts and endeavors.

The report is found worthy of acceptance as final


project for the subject CS of Class XII-E. He has
prepared the project under my guidance.

External Examiner Internal


Examiner

Mrs. Sonali
Dhondhiyal
PGT (CS)

Acknowledgement
I would like to express my special thanks of
gratitude to my teacher as well as our
principal sir who gave me the golden
opportunity to do this wonderful project on
the topic Database Connectivity, which
also helped me in doing a lot of Research
and I came to know about so many new
things I am really thankful to them.
Secondly, I would also like to thank my
parents and friends who helped me a lot in
finalizing this project within the limited time
frame.

PYTHON CODE
import mysql.connector #import mysql.connector package
import sys
mycon = mysql.connector.connect(host='localhost',user='root',passwd='root')
if mycon.is_connected(): #True if connected otherwise False
print("Python is connected to MYSQL Successfully.")
cur=mycon.cursor() #Create the cursor object to execute SQL queries
cur.execute("Create database if not exists Project23") #Creating Database
cur.execute("Use Project23") #Using Database
cur.execute("Create table if not exists Subject (scode char(3) primary key,
sname varchar(30) not null , cls int(2) not null)")
cur.execute("Create table if not exists Exams (ename varchar(20), edate
date, cls int(2), scode char(3) references Subject(scode))")
cur.execute("Create table if not exists Student( \
admn int(6) primary key, name char(40) not null, cls int(2) not
null, gender char(1), \
sub1 char(3) references Subject(scode), sub2 char(3) references
Subject(scode), sub3 char(3) references Subject(scode),\
sub4 char(3) references Subject(scode), sub5 char(3) references
Subject(scode), sub6 char(3) references Subject(scode), roll int(3))")
cur.execute("Create table if not exists Marks (scode char(3) references
Subject(scode), ename varchar(20) references Exam(ename), \
cls int(2), admn int(6) references
Student(admn), mark int(3), mm int(3), per decimal(5,2))")
else:
print("Python is not connected to MYSQL Successfully. Connection Failed.")
sys.exit()

a='+' #for formatting

def Add_Subject():
scode=input("Enter the Subject Code ::")
sname=input("Enter the Subject Name ::")
cls=input("Enter the Class ::")
query="INSERT INTO SUBJECT VALUES(%s,%s,%s)"
values=(scode,sname,cls)
cur.execute(query,values)
mycon.commit()
print("Subject Added Successfully")
return

def Delete_Subject():
scode=input("Enter the subject code to delete the subject :")
cur.execute("SELECT SNAME FROM SUBJECT WHERE SCODE=%s",(scode,) )
rs=cur.fetchone()
if rs:
cur.execute("DELETE FROM SUBJECT WHERE SCODE=%s ",(scode,) )
mycon.commit()
print(rs[0], ", Subject Deleted Successfully")
else:
print("No Such Subject exits !")
return

def View_Subjects() :
cur.execute("SELECT * FROM SUBJECT")
data=cur.fetchall()
if cur.rowcount>0:
print("SCODE \t\t SNAME \t\t CLASS")
print(f'{a:-^50}')
for row in data:
print(row[0],"\t\t",row[1],"\t\t",row[2])
print(f'{a:-^50}')
else:
print("No Data Found")
return

def Add_Exam():
cls=input("Enter the Class ::")
ename=input("Enter the Exam Name (PA-1,PA-2,Half Yearly,etc) ::")

#Displaying subject code & name as given in Subject Table


query="Select * from SUBJECT where cls="+cls
cur.execute(query)
data=cur.fetchall()

print("Enter the Exam Date for the following Subjects in YYYY/MM/DD


format (Leave blank if no exam for the subject) \n")
for i in range(cur.rowcount):
print(i+1,". ",data[i][1])
scode=data[i][0]
edate=input("Enter the Exam Date (YYYY/MM/DD) ::")
if edate!='':
query="INSERT INTO EXAMS VALUES(%s,%s,%s,%s)"
values=(ename,edate,cls,scode)
cur.execute(query,values)
mycon.commit()
print("Exam Added Successfully")
return

def View_Exams():
cls=input("Enter the Class ::")
query="Select * from EXAMS where cls="+cls+" order by edate"
print("Exam \t Date Of Exam \t SUBJECT NAME")
cur.execute(query)
data=cur.fetchall()
for i in range(cur.rowcount):
scode=data[i][3]
cur.execute("Select sname from SUBJECT where cls="+cls+" and
scode="+scode)
sname=cur.fetchone()[0]
print(data[i][0],"\t",data[i][1],"\t",sname,"\t",)
return

def Add_Student():
admn=input("Enter the Admission Number ::")
name=input("Enter the Student Name ::")
cls=input("Enter the Class ::")
gen=input("Enter the Gender ::")
s1=input("Enter the Code for Subject 1 ::")
s2=input("Enter the Code for Subject 2 ::")
s3=input("Enter the Code for Subject 3 ::")
s4=input("Enter the Code for Subject 4 ::")
s5=input("Enter the Code for Subject 5 ::")
s6=input("Enter the Code for Subject 6 (Press Enter to Leave Blank) ::")
cur.execute("SELECT MAX(ROLL) FROM STUDENT WHERE CLS =%s",(cls,) )
r=cur.fetchone()[0]
if r==None:
roll=1
else:
roll=str(int(r)+1)
query="INSERT INTO STUDENT VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,
%s)"
values=(admn,name,cls,gen,s1,s2,s3,s4,s5,s6,roll)
cur.execute(query,values)
mycon.commit()
print("Student Added Successfully")
return

def Delete_Student():
admn=input("Enter the admission number to delete the Student :")
cur.execute("SELECT NAME FROM STUDENT WHERE ADMN=%s",(admn,) )
rs=cur.fetchone()
if rs:
cur.execute("DELETE FROM STUDENT WHERE ADMN=%s ",(admn,) )
cur.execute("DELETE FROM MARKS WHERE ADMN=%s ",(admn,) )
mycon.commit()
print(rs[0], ", Student and his/her Marks Deleted Successfully from the
database")
else:
print("No Such Student Found !")
return

def View_Students() :
cur.execute("SELECT * FROM STUDENT")
data=cur.fetchall()
if cur.rowcount>0:
print("ADMN \t NAME \t\t CLASS \t GEN \t SUB1 \t SUB1 \t SUB3 \t SUB4 \
t SUB5 \t SUB6 \t ROLLno")
print(f'{a:-^150}')
for row in data:
print(row[0],"\t",row[1],"\t",row[2],"\t",row[3],"\t",row[4],"\
t",row[5],"\t",row[6],"\t",row[7],"\t",row[8],"\t",row[9],"\t",row[10])
print(f'{a:-^150}')
else:
print("No data found")
return

def Add_Marks():
sub_code=input("Enter the Subject Code ::")
cls=input("Enter the Class ::")

#Displaying exam name as given in Exams Table


query="Select DISTINCT(ename) from EXAMS where cls="+cls
cur.execute(query)
data=cur.fetchall()
print("Select the exam name (1,2,3...)")
for i in range(cur.rowcount):
print(i+1,". ",data[i][0])
ename=int(input("Enter choice :"))

for i in range(cur.rowcount):
if ename==i+1:
exam=data[i][0]

#Check if marks have already been entered


query="Select * from MARKS where SCODE=%s and ename=%s and cls=%s"
values=(sub_code,exam,cls)
cur.execute(query,values)
data=cur.fetchall()
if cur.rowcount>0:
print("Marks have already been entered")
return

mm=int(input("Enter the Maximum Marks::"))

#Displaying Student name as given in Student Table


query="Select admn,name from STUDENT where %s in
(sub1,sub2,sub3,sub4,sub5,sub6) and cls=%s order by roll"
values=(sub_code,cls)
cur.execute(query,values)
data=cur.fetchall()
print("Enter the marks below (Leave Blank for absentee)")
for i in range(cur.rowcount):
row=data[i]
print(i+1,". ",row[1],end=" : ")
m=input()
if m!="": #if student is present
p="{:.2f}".format(int(m)/mm*100)
query="Insert into MARKS values (%s,%s,%s,%s,%s,%s,%s)"
values=(sub_code,exam,cls,row[0],m,mm,p)

else:#if student is absent


m=-1
p="{:.2f}".format(-99.00)
query="Insert into MARKS(scode,ename,cls,admn,mm) values (%s,%s,
%s,%s,%s)"
values=(sub_code,exam,cls,row[0],mm)
cur.execute(query,values)
mycon.commit()

print("Marks Added Successfully")


return

def Update_Marks_Absentee():
sub_code=input("Enter the Subject Code ::")
cls=input("Enter the Class ::")

#Displaying exam name as given in Exams Table


query="Select DISTINCT(ename) from EXAMS where cls="+cls
cur.execute(query)
data=cur.fetchall()
print("Select the exam name (1,2,3...)")
for i in range(cur.rowcount):
print(i+1,". ",data[i][0])
ename=int(input("Enter choice :"))

for i in range(cur.rowcount):
if ename==i+1:
exam=data[i][0]

#Displaying Student name (of absentee) as given in Student Table


query="Select S.admn, S.name , M.mm from STUDENT S, MARKS M where
%s in (sub1,sub2,sub3,sub4,sub5,sub6) and S.cls=%s \
and S.admn=M.admn and M.ename=%s and M.mark is NULL order
by roll"

values=(sub_code,cls,exam)
cur.execute(query,values)
data=cur.fetchall()

if cur.rowcount==0:
print("No Absentee found")
return

print("Enter the marks below (Leave Blank for absentee)")


for i in range(cur.rowcount):
row=data[i]
print(i+1,". ",row[1],end=" : ")
admn=row[0]
mm=row[2]
m=input()
if m!="": #if student is present
p="{:.2f}".format(int(m)/mm*100)
query="UPDATE MARKS SET mark=%s, per=%s WHERE scode=%s AND
ename=%s AND cls=%s AND admn=%s"
values=(m,p, sub_code,exam,cls,admn)
cur.execute(query,values)
mycon.commit()

print("Marks Updated Successfully")


return

def Update_Marks_Failures():
sub_code=input("Enter the Subject Code ::")
cls=input("Enter the Class ::")

#Displaying exam name as given in Exams Table


query="Select DISTINCT(ename) from EXAMS where cls="+cls
cur.execute(query)
data=cur.fetchall()
print("Select the exam name (1,2,3...)")
for i in range(cur.rowcount):
print(i+1,". ",data[i][0])
ename=int(input("Enter choice :"))

for i in range(cur.rowcount):
if ename==i+1:
exam=data[i][0]

#Displaying Student name (of absentee) as given in Student Table


query="Select S.admn, S.name , M.mm from STUDENT S, MARKS M where
%s in (sub1,sub2,sub3,sub4,sub5,sub6) and S.cls=%s \
and S.admn=M.admn and M.ename=%s and M.per<33 order by
roll"

values=(sub_code,cls,exam)
cur.execute(query,values)
data=cur.fetchall()

if cur.rowcount==0:
print("No Failure student found")
return

print("Enter the marks below (Leave Blank for absentee)")


for i in range(cur.rowcount):
row=data[i]
print(i+1,". ",row[1],end=" : ")
admn=row[0]
mm=row[2]
m=input()
if m!="": #if student is present
p="{:.2f}".format(int(m)/mm*100)
query="UPDATE MARKS SET mark=%s, per=%s WHERE scode=%s AND
ename=%s AND cls=%s AND admn=%s"
values=(m,p, sub_code,exam,cls,admn)
cur.execute(query,values)
mycon.commit()

print("Marks Updated Successfully")


return

def View_Marks() :
sub_code=input("Enter the Subject Code :")
cls=input("Enter the Class :")

#Displaying subject name as given in Subject Table


query="Select sname from SUBJECT where cls="+cls+" and
scode="+sub_code
cur.execute(query)
sname=cur.fetchone()[0]

#Displaying exam name as given in Exams Table


query="Select distinct(ename) from EXAMS where cls="+cls
cur.execute(query)
data=cur.fetchall()
if cur.rowcount>0: #Check if any exam has been scheduled or not
print("Select the exam name (1,2,3...)")
for i in range(cur.rowcount):
print(i+1,". ",data[i][0])
ename=int(input("Enter choice :"))
for i in range(cur.rowcount):
if ename==i+1:
exam=data[i][0]
#Get exam Date as given in Exams Table
qry="Select edate from EXAMS where cls=%s and scode=%s and ename=
%s"
vals=(cls,sub_code,exam)
if cur.rowcount>0:
cur.execute(qry,vals)
edate=cur.fetchone()
else:
print("No Exam Date was fixed for this subject")

query="SELECT * FROM MARKS M, STUDENT S where M.ADMN=S.ADMN


AND M.SCODE = %s and M.ENAME=%s and M.CLS=%s ORDER BY S.ROLL"
values=(sub_code,exam,cls)
cur.execute(query,values)
data=cur.fetchall()
if cur.rowcount>0: # checks if Marks has been entered for the subject
print("\n\nEXAM NAME :",exam)
print("SUBJECT NAME :",sname)
print("CLASS :",cls)
print("MAXIMUM MARKS :",data[0][5])
print("DATE OF EXAM :",edate)

print("ROLL \t NAME \t MARKS \t PERCENTAGE ")


print(f'{a:-^100}')
for row in data:
print(row[17],"\t",row[8],"\t",row[4],"\t",row[6])
print(f'{a:-^100}')
else:
print("Marks have not been entered for this subject")
else:
print("Enter the Exam details first")

return

while True: #Infinite Loop


print("\nEnter the choice from below")
print("1. << Subject Management >>")
print("2. << Student Management >>")
print("3. << Exam Details Management >>")
print("4. << Marks Management >>")
print("5. Exit >>\n")
ch=input("Enter choice (1-5) >>")

while ch=='1':
text="<< Subject Management >>"
print(f'{text:+^50}')
print("\n1. << Add New Subject >>")
print("2. << Delete Any Subject>>")
print("3. << View All Subjects>>")
print("4. << Go to Main Menu>>\n")
s=input("Enter choice (1-4) >>")
if s=='1':
Add_Subject()
elif s=='2':
Delete_Subject()
elif s=='3':
View_Subjects()
elif s=='4':
break
else:
print(" Invalid Input !!!!. Enter your choice from 1 to 4")

while ch=='2':
text="<< Student Management >>"
print(f'{text:+^50}')
print("\n1. << Add New Student >>")
print("2. << Delete Any Student>>")
print("3. << View All Students>>")
print("4. << Go to Main Menu>>\n")
s=input("Enter choice (1-4) >>")
if s=='1':
Add_Student()
elif s=='2':
Delete_Student()
elif s=='3':
View_Students()
elif s=='4':
break
else:
print(" Invalid Input !!!!. Enter your choice from 1 to 4")

while ch=='3':
text="<< Exam Details Management >>"
print(f'{text:+^50}')
print("\n1. << Add Exam Details >>")
print("2. << View Exam Details >>")
print("3. << Go to Main Menu>>\n")
s=input("Enter choice (1-3) >>")
if s=='1':
Add_Exam()
elif s=='2':
View_Exams()
elif s=='3':
break
else:
print(" Invalid Input !!!!. Enter your choice from 1 to 3")

while ch=='4':
text="<< Marks Management >>"
print(f'{text:+^50}')
print("\n1. << Add Marks for a Subject >>")
print("2. << Update Marks of Absentee Students>>")
print("3. << Update Marks for failure>>")
print("4. << View Marks for a Subject>>")
print("5. << Go to Main Menu>>\n")
s=input("Enter choice (1-4) >>")
if s=='1':
Add_Marks()
elif s=='2':
Update_Marks_Absentee()
elif s=='3':
Update_Marks_Failures()
elif s=='4':
View_Marks()
elif s=='5':
break
else:
print(" Invalid Input !!!!. Enter your choice from 1 to 5")

if ch=='5':
break
else:
print("Enter your choice from 1 to 5")

OUTPUT
Python is connected to MYSQL Successfully.

Enter the choice from below


1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>
Enter choice (1-5) >>1
+++++++++++++<< Subject Management >>+++++++++++++

1. << Add New Subject >>


2. << Delete Any Subject>>
3. << View All Subjects>>
4. << Go to Main Menu>>

Enter choice (1-4) >>3


SCODE SNAME CLASS
------------------------+-------------------------
027 POLITICAL SCIENCE 12
041 MATHEMATICS 12
042 PHYSICS 12
043 CHEMISTRY 12
044 BIOLOGY 12
083 COMPUTER SCIENCE 12
301 ENGLISH CORE 12
302 HINDI CORE 12
------------------------+-------------------------
+++++++++++++<< Subject Management >>+++++++++++++

1. << Add New Subject >>


2. << Delete Any Subject>>
3. << View All Subjects>>
4. << Go to Main Menu>>

Enter choice (1-4) >>2


Enter the subject code to delete the subject :027
POLITICAL SCIENCE , Subject Deleted Successfully
+++++++++++++<< Subject Management >>+++++++++++++

1. << Add New Subject >>


2. << Delete Any Subject>>
3. << View All Subjects>>
4. << Go to Main Menu>>
Enter choice (1-4) >>4
Enter your choice from 1 to 5

Enter the choice from below


1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>

Enter choice (1-5) >>2


+++++++++++++<< Student Management >>+++++++++++++

1. << Add New Student >>


2. << Delete Any Student>>
3. << View All Students>>
4. << Go to Main Menu>>

Enter choice (1-4) >>3


ADMN NAME CLASS GEN SUB1 SUB1
SUB3 SUB4 SUB5 SUB6 ROLLno
--------------------------------------------------------------------------
+---------------------------------------------------------------------------
101 Anmol 12 M 301 083 042 043 044 1
102 TANISHQ 12 M 301 302 041 042 043 048 2
103 YASH 12 M 301 083 042 043 044 3
--------------------------------------------------------------------------
+---------------------------------------------------------------------------
+++++++++++++<< Student Management >>+++++++++++++

1. << Add New Student >>


2. << Delete Any Student>>
3. << View All Students>>
4. << Go to Main Menu>>

Enter choice (1-4) >>4


Enter your choice from 1 to 5
Enter the choice from below
1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>

Enter choice (1-5) >>3


+++++++++<< Exam Details Management >>++++++++++

1. << Add Exam Details >>


2. << View Exam Details >>
3. << Go to Main Menu>>

Enter choice (1-3) >>1


Enter the Class ::12
Enter the Exam Name (PA-1,PA-2,Half Yearly,etc) ::PA-2
Enter the Exam Date for the following Subjects in YYYY/MM/DD format (Leave
blank if no exam for the subject)

1 . MATHEMATICS
Enter the Exam Date (YYYY/MM/DD) ::2022/10/10
2 . PHYSICS
Enter the Exam Date (YYYY/MM/DD) ::2022/10/05
3 . CHEMISTRY
Enter the Exam Date (YYYY/MM/DD) ::2022/10/06
4 . BIOLOGY
Enter the Exam Date (YYYY/MM/DD) ::2022/10/01
5 . COMPUTER SCIENCE
Enter the Exam Date (YYYY/MM/DD) ::2022/10/03
6 . ENGLISH CORE
Enter the Exam Date (YYYY/MM/DD) ::2022/10/12
7 . HINDI CORE
Enter the Exam Date (YYYY/MM/DD) ::2022/10/13
Exam Added Successfully
+++++++++<< Exam Details Management >>++++++++++
1. << Add Exam Details >>
2. << View Exam Details >>
3. << Go to Main Menu>>

Enter choice (1-3) >>3


Enter your choice from 1 to 5

Enter the choice from below


1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>

Enter choice (1-5) >>3


+++++++++<< Exam Details Management >>++++++++++

1. << Add Exam Details >>


2. << View Exam Details >>
3. << Go to Main Menu>>

Enter choice (1-3) >>2


Enter the Class ::12
Exam Date Of Exam SUBJECT NAME
PA-1 2024-08-01 MATHEMATICS
PA-1 2024-08-02 PHYSICS
PA-1 2024-08-03 CHEMISTRY
PA-1 2024-08-04 BIOLOGY
PA-1 2024-08-05 COMPUTER SCIENCE
PA-1 2024-08-06 ENGLISH CORE
PA-1 2024-08-07 HINDI CORE
PA-2 2024-10-01 BIOLOGY
PA-2 2024-10-03 COMPUTER SCIENCE
PA-2 2024-10-05 PHYSICS
PA-2 2024-10-06 CHEMISTRY
PA-2 2024-10-10 MATHEMATICS
PA-2 2024-10-12 ENGLISH CORE
PA-2 2024-10-13 HINDI CORE
+++++++++<< Exam Details Management >>++++++++++

1. << Add Exam Details >>


2. << View Exam Details >>
3. << Go to Main Menu>>

Enter choice (1-3) >>3


Enter your choice from 1 to 5

Enter the choice from below


1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>

Enter choice (1-5) >>4


++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>1


Enter the Subject Code ::083
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the Maximum Marks::40
Enter the marks below (Leave Blank for absentee)
1 . ANMOL : 20
2 . YASH : 25
Marks Added Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>1


Enter the Subject Code ::041
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the Maximum Marks::40
Enter the marks below (Leave Blank for absentee)
1 . TANISHQ : 5
Marks Added Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>1


Enter the Subject Code ::301
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the Maximum Marks::40
Enter the marks below (Leave Blank for absentee)
1 . ANMOL : 10
2 . TANISHQ :
3 . YASH : 20
Marks Added Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>3


Enter the Subject Code ::083
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the marks below (Leave Blank for absentee)
1 . NITISH : 2
Marks Updated Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>4


Enter the Subject Code :083
Enter the Class :12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1

EXAM NAME : PA-1


SUBJECT NAME : COMPUTER SCIENCE
CLASS : 12
MAXIMUM MARKS : 40
DATE OF EXAM : (datetime.date(2022, 8, 5),)
ROLL NAME MARKS PERCENTAGE
-------------------------------------------------+--------------------------------------------------
1 ANMOL 2 5.00
3 YASH 25 62.50
-------------------------------------------------+--------------------------------------------------
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>3


Enter the Subject Code ::083
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the marks below (Leave Blank for absentee)
1 . ANMOL : 16
2 . ANMOL : 13
Marks Updated Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>4


Enter the Subject Code :041
Enter the Class :12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1

EXAM NAME : PA-1


SUBJECT NAME : MATHEMATICS
CLASS : 12
MAXIMUM MARKS : 40
DATE OF EXAM : (datetime.date(2022, 8, 1),)
ROLL NAME MARKS PERCENTAGE
-------------------------------------------------+--------------------------------------------------
2 TANISHQ 5 12.50
-------------------------------------------------+--------------------------------------------------
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>3


Enter the Subject Code ::041
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the marks below (Leave Blank for absentee)
1 . TANISHQ : 20
Marks Updated Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>4


Enter the Subject Code :041
Enter the Class :12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1

EXAM NAME : PA-1


SUBJECT NAME : MATHEMATICS
CLASS : 12
MAXIMUM MARKS : 40
DATE OF EXAM : (datetime.2024, 8, 1),)
ROLL NAME MARKS PERCENTAGE
-------------------------------------------------+--------------------------------------------------
2 TANISHQ 20 50.00
-------------------------------------------------+--------------------------------------------------
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>4


Enter the Subject Code :301
Enter the Class :12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1

EXAM NAME : PA-1


SUBJECT NAME : ENGLISH CORE
CLASS : 12
MAXIMUM MARKS : 40
DATE OF EXAM : (datetime.date(2024, 8, 6),)
ROLL NAME MARKS PERCENTAGE
-------------------------------------------------+--------------------------------------------------
1 NITISH 10 25.00
2 TANISHQ None None
3 YASH 20 50.00
-------------------------------------------------+--------------------------------------------------
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>2


Enter the Subject Code ::301
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the marks below (Leave Blank for absentee)
1 . TANISHQ : 30
Marks Updated Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>3


Enter the Subject Code ::301
Enter the Class ::12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1
Enter the marks below (Leave Blank for absentee)
1 . ANMOL : 20
2 . ANMOL : 20
Marks Updated Successfully
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>
Enter choice (1-4) >>4
Enter the Subject Code :301
Enter the Class :12
Select the exam name (1,2,3...)
1 . PA-1
2 . PA-2
Enter choice :1

EXAM NAME : PA-1


SUBJECT NAME : ENGLISH CORE
CLASS : 12
MAXIMUM MARKS : 40
DATE OF EXAM : (datetime.date(2022, 8, 6),)
ROLL NAME MARKS PERCENTAGE
-------------------------------------------------+--------------------------------------------------
1 ANMOL 20 50.00
2 TANISHQ 30 75.00
3 YASH 20 50.00
-------------------------------------------------+--------------------------------------------------
++++++++++++++<< Marks Management >>++++++++++++++

1. << Add Marks for a Subject >>


2. << Update Marks of Absentee Students>>
3. << Update Marks for failure>>
4. << View Marks for a Subject>>
5. << Go to Main Menu>>

Enter choice (1-4) >>5


Enter your choice from 1 to 5

Enter the choice from below


1. << Subject Management >>
2. << Student Management >>
3. << Exam Details Management >>
4. << Marks Management >>
5. Exit >>
Enter choice (1-5) >>5
DATABASE (MYSQL)
Bibliography
Computer Science by Sumita Arora

You might also like