Professional Documents
Culture Documents
Project On Student
Project On Student
on
Student’s
Result
Computer Science Project
by Peehu Tyagi
Class 12th-A
Python & SQL interface
import os
import platform
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",passwd="root"
,database="sms",charset="utf8")
mycursor=mydb.cursor()
def reportCardAllStudent () :
mycursor.execute("SELECT * FROM MARKS")
data=mycursor.fetchall()
print(data)
mycursor.close()
def helpMe():
print("Please, Visit The Offcial Website Of Vidyalaya To Download
The Mannual !!!")
print("#############################################################
#######")
while(1):
print("| Enter 1 - Add Student
|")
print("| Enter 2 - Display Student's
Data. |")
print("| Enter 3 - Update Students's Data
. |")
print("| Enter 4 - Add Student's Marks
Detail. |")
print("| Enter 5 - Generate All Student's Report Card.
|")
print("| Enter 6 - Generate Student Wise Report Card.
|")
print("| Enter 7- Exit.
|")
print("| Enter 0(ZERO) - Help.
|")
choice=int(input("PLEASE ENTER YOUR CHOICE : "))
if choice==1:
newStudent()
elif choice==2:
displayStudent()
elif choice==3:
updateStudent()
elif choice==4:
marksStudent()
elif choice==5:
reportCardAllStudent()
elif choice==6:
reportCardOneStudent()
elif choice==7:
quit()
elif choice==0:
helpMe()
else:
print("Sorry ,May Be You Are Giving Me Wrong Input, Please Try
Again !!! ")
Introduction
This project on student result system targets students' results
whereas the student fee and the teachers fee so as to make a hold
over the school's management. This project deals with Python as well
as SQL.
DBMS
The software required for management of data is
called DBMS. It has 3 models-
Relational model- It stored information in rows and
columns.
Hierarchical-In this type of records we have
multiple records in a single record.
Network model-In this the data is represented by
collections of records and relationship is
separated by associations.
System specification
11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz 3.00 GHz
Windows 11 Home Single Language
64-bit operating system, x64-based processor