2. Student Mgmt System Project Report GROUP 2
2. Student Mgmt System Project Report GROUP 2
AISSCE-2020-21
“INFORMATICS PRACTICES”
BASED ON
SUBMITTED BY-
GUIDED BY-
2. BASHISHA
3. SNGEWHUN
4. SAPHILABET
SUSHIL KUMAR
PGT (Comp. Sci.)
ACKNOWLEDGEMENT
We take this opportunity to express our sincere gratitude to all those
who helped us in various capacities in undertaking this project and
devising the report
The project is very useful for those who want to know about Student
Information Management Systems and want to develop
software’s/websites based on the same concept. The project provides
facilities like online registration and profile creation of students thus
reducing paperwork and automating the record generation process in
an educational institution
#------------------------------------------------------------------------------------------------------------------------------------
----------------#
#-------------------------------------------------------Student Management
System-------------------------------------------------------- #
#------------------------------------------------------------------------------------------------------------------------------------
----------------#
#----------------------------------------------------------------Imported Required
Modules--------------------------------------------------#
import sqlite3
#----------------------------------------------------------------Main
Window--------------------------------------------------#
root=Tk()
root.wm_iconbitmap("C:\\gdgs_icon.ico")
root.resizable(0,0)
#----------------------------------------------------------------Database
Connection--------------------------------------------------#
def connection():
try:
conn=sqlite3.connect("student.db")
except:
print("cannot connect to the database")
return conn
#----------------------------------------------------------------Value
Validation--------------------------------------------------#
def verifier():
a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=0
if not student_name.get():
a=1
elif student_name.get().isdigit():
b=1
if not scholar_number.get():
c=1
d=1
if not stream.get() :
t1.insert(END,"Stream is required\n")
e=1
elif stream.get().isdigit():
t1.insert(END,"Invalid Stream\n")
f=1
if not phone.get():
g=1
h=1
i=1
if not father.get():
j=1
elif father.get().isdigit():
k=1
if not mother.get():
l=1
elif mother.get().isdigit():
m=1
if not address.get():
t1.insert(END,"Address is Required\n")
n=1
elif address.get().isdigit():
t1.insert(END,"Invalid Address\n")
o=1
if a==1 or b==1 or c==1 or d==1 or e==1 or f==1 or g==1 or h==1 or i==1 or j==1 or k==1 or l==1 or
m==1 or n==1 or o==1:
return 1
else:
return 0
ret=verifier()
if ret==0:
conn=connection()
cur=conn.cursor()
conn.commit()
conn.close()
t1.insert(END,"ADDED SUCCESSFULLY\n")
def view_student():
conn=connection()
cur=conn.cursor()
data=cur.fetchall()
conn.close()
for i in data:
t1.insert(END,str(i)+"\n")
def delete_student():
ret=verifier()
if ret==0:
conn=connection()
cur=conn.cursor()
conn.commit()
conn.close()
def update_student():
ret=verifier()
if ret==0:
conn=connection()
cur=conn.cursor()
conn.commit()
conn.close()
t1.insert(END,"UPDATED SUCCESSFULLY\n")
def clear():
t1.delete(1.0,END)
def close():
root.destroy()
def info():
msg.showinfo("Info","Student Management System for Class 11th and 12th developed by Mohd
Akif.")
#----------------------------------------------------------------Shows Feedback of
User-------------------------------------------------#
def exp():
if feedback=="yes":
else:
menu2=Menu(root)
menu=Menu(menu2,tearoff=0)
menu.add_command(label="Info",command=info)
menu2.add_cascade(label="Help",menu=menu)
root.config(menu=menu2)
photo=ImageTk.PhotoImage(img)
ph=Label(image=photo)
ph.place(x=51,y=2)
img2=Image.open("E:\\JNV.jpg")
photo2=ImageTk.PhotoImage(img2)
ph2=Label(image=photo2)
ph2.place(x=400,y=378)
Scrollbar=Scrollbar(root)
Scrollbar.grid(row=10,column=3,columnspan=100)
student_name=StringVar()
scholar_number=StringVar()
stream=StringVar()
phone=StringVar()
father=StringVar()
mother=StringVar()
address=StringVar()
#----------------------------------------------------------------Created
Labels-------------------------------------------------#
label0=Label(root,text="STUDENT MANAGEMENT SYSTEM",font="verdana 20 bold
italic",relief=SUNKEN,bg="steel blue",fg="white",padx=15)
label0.place(x=400,y=7)
label1=Label(root,text="Student Name:")
label1.place(x=18,y=134)
label2=Label(root,text="Scholar Number:")
label2.place(x=18,y=164)
label3=Label(root,text="Stream:")
label3.place(x=18,y=194)
label4=Label(root,text="Phone Number:")
label4.place(x=18,y=224)
label5=Label(root,text="Father Name:")
label5.place(x=18,y=254)
label6=Label(root,text="Mother Name:")
label6.place(x=18,y=284)
label7=Label(root,text="Address:")
label7.place(x=18,y=314)
#----------------------------------------------------------------Entry Widget-------------------------------------------------#
e1=Entry(root,textvariable=student_name,relief=SUNKEN,bg='powder blue')
e1.place(x=140,y=136)
e2=Entry(root,textvariable=scholar_number,relief=SUNKEN,bg='powder blue')
e2.place(x=140,y=166)
e3=Entry(root,textvariable=stream,relief=SUNKEN,bg='powder blue')
e3.place(x=140,y=196)
e4=Entry(root,textvariable=phone,relief=SUNKEN,bg='powder blue')
e4.place(x=140,y=226)
e5=Entry(root,textvariable=father,relief=SUNKEN,bg='powder blue')
e5.place(x=140,y=256)
e6=Entry(root,textvariable=mother,relief=SUNKEN,bg='powder blue')
e6.place(x=140,y=286)
e7=Entry(root,textvariable=address,relief=SUNKEN,bg='powder blue')
e7.place(x=140,y=316)
t1=Text(root,width=110,height=20,yscrollcommand=Scrollbar.set)
t1.grid(row=11,column=1)
#----------------------------------------------------------------Configuration of
Scrollbar-------------------------------------------------#
Scrollbar.config(command=t1.yview)
#----------------------------------------------------------------Buttons-------------------------------------------------#
b1=Button(root,text="ADD STUDENT",command=add_student,width=40,bg='steel
blue',fg='white',relief=SUNKEN)
b1.grid(row=12,column=0)
b2.grid(row=13,column=0)
b3=Button(root,text="DELETE STUDENT",command=delete_student,width=40,bg='steel
blue',fg='white',relief=SUNKEN)
b3.grid(row=14,column=0)
b4=Button(root,text="UPDATE INFO",command=update_student,width=40,bg='steel
blue',fg='white',relief=SUNKEN)
b4.grid(row=15,column=0)
b5=Button(root,text="CLEAR",command=clear,width=40,bg='steel blue',fg='white',relief=SUNKEN)
b5.grid(row=16,column=0)
b6=Button(root,text="CLOSE",command=close,width=40,bg='steel blue',fg='white',relief=SUNKEN)
b6.grid(row=17,column=0)
#----------------------------------------------------------------Main Window-------------------------------------------------
#
root.mainloop()
OUTPUT
CONCLUSION
The Student Information Management System(SIMS) can be
enhanced to include some other functionality like marks, attendance
management. Talent management of students based on their
performance evaluation can be added. Social networking can also be
added wherein students can interact with each other.
The website Student Information System is aimed towards recording
a considerable number of student records and needs online
assistance for managing records of students. Website should be user-
friendly, ‘quick to learn’ and reliable website for the above purpose.
BIBLIOGRAPHY
1. Informatics practices by Sumita Arora
2. www.google.com
3. www.wikipedia.com