0% found this document useful (0 votes)
46 views21 pages

19 20 23 25 New

The document is a student registration form project report submitted by 4 students. It includes an abstract, introduction on the purpose of collecting student data, literature review on existing methods, proposed system design with modules, implementation details, output screenshots and conclusions. The source code and GitHub link are provided in the appendices. The project uses Tkinter for the GUI and SQLite to store the registered student data in a database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views21 pages

19 20 23 25 New

The document is a student registration form project report submitted by 4 students. It includes an abstract, introduction on the purpose of collecting student data, literature review on existing methods, proposed system design with modules, implementation details, output screenshots and conclusions. The source code and GitHub link are provided in the appendices. The project uses Tkinter for the GUI and SQLite to store the registered student data in a database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

STUDENT REGISTRATION FORM

A PROJECT REPORT

Submitted by

K.V.SAI ASHRITH RA1911027010019,


SHUBHANK SARGAM RA1911027010020,
YUVRAJ CHIBBER RA1911027010023,
V RAKESH RA1911027010025

Under the Guidance of

Dr T.KARTHICK

Assistant Professor, Department of Data Science and Business Systems

In partial satisfaction of the requirements for the degree of

BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE ENGINEERING
with specialization in Big Data Analytics

SCHOOL OF COMPUTING

COLLEGE OF ENGINEERING AND TECHNOLOGY


SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
KATTANKULATHUR - 603203
JUNE 2022
SRM INSTITUTION OF SCIENCE AND TECHNOLOGY
KATTANKULATHUR-603203

BONAFIDE CERTIFICATE

Certified that this Course Project Report titled “STUDENT REGISTRATION FORM” is the
bonafide work done by K.V.SAI ASHRITH RA1911027010019, SHUBHANK SARGAM
RA1911027010020, YUVRAJ CHIBBER RA1911027010023, V RAKESH
RA1911027010025 who carried out under my supervision. Certified further, that to the best of
my knowledge the work reported herein does not form part of any other work.

SIGNATURE HEAD OF THE DEPARTMENT


Faculty In-Charge Dr.Lakshmi M
Dr.T.Karthi Professor and Head ,
Assistant Professor Department of Data Science and
Department of Data Science and Business Systems
Business Systems SRMIST
SRMIST
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

SCHOOL OF COMPUTING

DEPARTMENT OF DATASCIENCE AND BUSINESS SYSTEMS

18CSC303J DBMS

MINI PROJECT REPORT

Title: student registration form

Name: K.V.SAI ASHRITH, Shubhank Sargam, Yuvraj Chibber, V Rakesh

Register Number:

RA1911027010019,

RA1911027010020,

RA1911027010023

RA1911027010025

Department: DSBS

Specialization: CSE-Big Data

Semester: 6
Content Page

Abstract

Chapter 1 : Introduction and Motivation [Purpose of the problem statement (societal benefit)

Chapter 2: Review of Existing methods and their Limitations

Chapter 3 : Proposed Method with System Architecture / Flow Diagram

Chapter 4: Modules Description

Chapter 5: Implementation requirements

Chapter 5: Output Screenshots

Conclusion

References

Appendix A – Source Code

Appendix B – GitHub Profile and Link for the Project


Chapter 1: Introduction and motivation
This project is about students registration form created with the help of sql.lite3
and tkinter
● Tkinter - This framework provides Python users with a simple way to
create GUI elements using the widgets found in the Tk toolkit. Tk widgets
can be used to construct buttons, menus, data fields, etc. in a Python
application.
● Sql.lite3 - SQLite is a C library that provides a lightweight disk-based
database that doesn't require a separate server process and allows
accessing the database using a nonstandard variant of the SQL query
language. Some applications can use SQLite for internal data storage.

This project is used to collect and maintain the information of students


It will store all the information like student’s age,details,contact info,address
and many more
This will help to maintain the database of students and will be helpful to collect
and retrieve data whenever needed
Chapter 2 – code
import math

from tkinter import *

import re

import sqlite3

root = Tk()

root.geometry('850x850')

root.title("STUDENT REGISTRATION FORM")

var=IntVar()

v1=IntVar()

v2=IntVar()

v3=IntVar()

v4=IntVar()

v5=IntVar()

vari=IntVar()

vari=IntVar()

vari=IntVar()

vari=IntVar()

vari=IntVar()

clicked1=StringVar()

clicked2=StringVar()

clicked3=StringVar()

clicked1.set("Day")

clicked2.set("Month")

clicked3.set("Year")

def database():

first_name=entry1.get()

last_name=entry2.get()

email=entry3.get()

a=(entry4.get())

gender=var.get()

city=entry6.get()
pin=(entry7.get())

state=entry8.get()

country=entry9.get()

others=entry10.get()

board0=entry11.get()

board1=entry14.get()

board2=entry17.get()

board3=entry20.get()

percentage0=entry12.get()

percentage1=entry15.get()

percentage2=entry18.get()

percentage3=entry21.get()

year0=entry13.get()

year1=entry16.get()

year2=entry19.get()

year3=entry22.get()

draw=v1.get()

sing=v2.get()

dance=v3.get()

sketch=v4.get()

#others=v5.get()

bca=vari.get()

bcom=vari.get()

bsc=vari.get()

ba=vari.get()

a1=clicked1.get()

b=clicked2.get()

c=clicked3.get()

conn=sqlite3.connect('form.db')

with conn:

cursor=conn.cursor()

cursor.execute('CREATE TABLE IF NOT EXISTS Student_reg (first_name TEXT,last_name TEXT,a1


TEXT,b TEXT,c TEXT,email TEXT,a TEXT,gender TEXT,city TEXT,pin TEXT,state TEXT,country
TEXT,draw TEXT,sing TEXT,dance TEXT,sketch TEXT,others TEXT,board0 TEXT,percentage0
TEXT,year0 TEXT,board1 TEXT,percentage1 TEXT,year1 TEXT,board2 TEXT,percentage2
TEXT,year2 TEXT,board3 TEXT,percentage3 TEXT,year3 TEXT)')

cursor.execute('INSERT INTO Student_reg


(first_name,last_name,a1,b,c,email,a,gender,city,pin,state,country,draw,sing,dance,sketch,others,b
oard0,percentage0,year0,board1,percentage1,year1,board2,percentage2,year2,board3,percentag
e3,year3)
VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',(first_name,last_name,a1,b,c,email,a,gender,
city,pin,state,country,draw,sing,dance,sketch,others,board0,percentage0,year0,board1,percentag
e1,year1,board2,percentage2,year2,board3,percentage3,year3))

validation()

conn.commit()

clear()

f=0

regex ='^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$'

def check3(email1):

if (re.search(regex,email1)) :

return email1

else:

return "Invalid Email"

def check1(val):

try:

val=float(val)

bool1=(isinstance(val,float))

if bool1==True:

if val>100:

print('INVALID INPUT1')

else:

if round(val,2)==val:

print(val)

else:

print('INVALID INPUT')

except:
print('INVALID INPUT')

def length(s1633):

f633=0

for i in s1633:

f633+=1

return f633

def check(str):

if (str.isalpha() and length(str)<=30) or (str.isalpha() and length(str)<=10):

return str

elif str=="":

return "FIELD MISSING"

else:

return "INVALID INPUT"

def validation():

first_name=entry1.get()

print("FIRST NAME:",check(first_name))

last_name=entry2.get()

print("LAST NAME:",check(last_name))

email=entry3.get()

print("EMAIL ID:",check3(email))

try:

a=(entry4.get())

if a=="":

print("FIELD MISSING")

else:

b=int(a)

while(b!=0):

b=b//10

f+=1

if f==10:
print(a)

else:

print("MOBILE NUMBER: INVALID INPUT")

except:

if a=="":

print("MOBILE NUMBER: FIELD MISSING")

else:

print("MOBILE NUMBER: INVALID INPUT")

city=entry6.get()

print("CITY:",check(city))

f=0

try:

pin=(entry7.get())

if pin=="":

print("FIELD MISSING")

else:

pin=int(a)

while(b!=0):

b=b//10

f+=1

if f==6:

print(pin)

else:

print("PIN CODE: INVALID INPUT")

except:

if a=="":

print("FIELD MISSING")

else:

print("PIN CODE: INVALID INPUT")

state=entry8.get()

print("STATE:",check(state))

board0=entry11.get()
print("CLASS X BOARD:",check(board0))

board1=entry14.get()

print("CLASS XII BOARD:",check(board1))

board2=entry17.get()

print("GRADUATION BOARD:",check(board2))

board3=entry20.get()

print("MASTERS BOARD:",check(board3))

percentage0=entry12.get()

print("CLASS X PERCENTAGE:")

check1(percentage0)

percentage1=entry15.get()

print("CLASS XII PERCENTAGE:")

check1(percentage1)

percentage2=entry18.get()

print("GRADUATION PERCENTAGE:")

check1(percentage2)

percentage3=entry21.get()

print("MASTERS PERCENTAGE:")

check1(percentage3)

def delete():

entry1.delete(0,'end')

entry2.delete(0,'end')

entry3.delete(0,'end')

entry4.delete(0,'end')

entry5.delete(0,'end')

entry6.delete(0,'end')

entry7.delete(0,'end')

entry8.delete(0,'end')

entry9.delete(0,'end')

entry10.delete(0,'end')

entry10.delete(0,'end')
entry11.delete(0,'end')

entry12.delete(0,'end')

entry13.delete(0,'end')

entry14.delete(0,'end')

entry15.delete(0,'end')

entry16.delete(0,'end')

entry17.delete(0,'end')

entry18.delete(0,'end')

entry19.delete(0,'end')

entry20.delete(0,'end')

entry21.delete(0,'end')

entry22.delete(0,'end')

var=IntVar()

var.set(0)

var=IntVar()

var.set(0)

var1=IntVar()

var1.set(0)

var2=IntVar()

var2.set(0)

var3=IntVar()

var3.set(0)

var4=IntVar()

var4.set(0)

var5=IntVar()

var5.set(0)

var6=IntVar()

var6.set(0)

var7=IntVar()

var7.set(0)

var8=IntVar()

var8.set(0)

var9=IntVar()
var9.set(0)

var10=IntVar()

var10.set(0)

rb1.config(variable=var)

rb2.config(variable=var1)

rb3.config(variable=var2)

rb4.config(variable=var3)

rb5.config(variable=var4)

rb6.config(variable=var5)

cb1.config(variable=var6)

cb2.config(variable=var7)

cb3.config(variable=var8)

cb4.config(variable=var9)

cb5.config(variable=var10)

clicked1.set("Day")

clicked2.set("Month")

clicked3.set("Year")

label_0 = Label(root, text="STUDENT REGISTRATION


FORM",foreground="blue",background="white",width=100,font=("bold", 20))

label_0.place(x=0,y=0)

root.configure(background = "blue")

label1=Label(root,text="FIRST NAME",foreground="white",background="blue",font=("bold",10))

label1.place(x=0,y=70)

entry1=Entry(root,width=30)

entry1.place(x=150,y=70)

label2=Label(root,text="LAST NAME",foreground="white",background="blue",font=("bold",10))

label2.place(x=0,y=100)

entry2=Entry(root,width=30)

entry2.place(x=150,y=100)

label3=Label(root,text="DATE OF
BIRTH",foreground="white",background="blue",font=("bold",10))

label3.place(x=0,y=130)

################################################

drop1=OptionMenu(root,clicked1,"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","
16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31")
drop1.place(x=150,y=130)

drop2=OptionMenu(root,clicked2,"January","February","March","April","May","June","July","Augu
st","September","October","November","December")
drop2.place(x=270,y=130)
drop3=OptionMenu(root,clicked3,"1998","1999","2000","2001","2002","2003","2004","2005","20
06","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","20
19","2020","2021")

drop3.place(x=390,y=130)

label4=Label(root,text="EMAIL ID",foreground="white",background="blue",font=("bold",10))

label4.place(x=0,y=180)

entry3=Entry(root,width=30)
entry3.place(x=150,y=180)
label5=Label(root,text="MOBILE
NUMBER",foreground="white",background="blue",font=("bold",10))

label5.place(x=0,y=210)

entry4=Entry(root,width=30)

entry4.place(x=150,y=210)

label6=Label(root,text="GENDER",foreground="white",background="blue",font=("bold",10))

label6.place(x=0,y=240)

var = IntVar()

rb1=Radiobutton(root, text="Male",padx = 5, variable=var, value=1,bg="blue")

rb1.place(x=150,y=240)

rb2=Radiobutton(root, text="Female",padx = 20, variable=var, value=2,bg="blue")

rb2.place(x=250,y=240)

label7=Label(root,text="ADDRESS",foreground="white",background="blue",font=("bold",10))

label7.place(x=0,y=270)

entry5=Entry(root,width=70)

entry5.place(x=150,y=270,height=80)

label8=Label(root,text="CITY",foreground="white",background="blue",font=("bold",10))

label8.place(x=0,y=370)

entry6=Entry(root,width=30)

entry6.place(x=150,y=370)
label9=Label(root,text="PIN CODE",foreground="white",background="blue",font=("bold",10))

label9.place(x=0,y=400)

entry7=Entry(root,width=30)

entry7.place(x=150,y=400)

label10=Label(root,text="STATE",foreground="white",background="blue",font=("bold",10))

label10.place(x=0,y=430)

entry8=Entry(root,width=30)

entry8.place(x=150,y=430)

label11=Label(root,text="COUNTRY",foreground="white",background="blue",font=("bold",10))

label11.place(x=0,y=460)

con=StringVar(root,value='India')

entry9=Entry(root,width=30,textvariable=con)

entry9.place(x=150,y=460)

label12=Label(root,text="HOBBIES",foreground="white",background="blue",font=("bold",10))

label12.place(x=0,y=490)

v1=IntVar()

v2=IntVar()

v3=IntVar()

v4=IntVar()

v5=IntVar()

cb1=Checkbutton(root,text='Drawing',variable=v1,background="blue")

cb1.place(x=150,y=490)

cb2=Checkbutton(root,text='Singing',variable=v2,background="blue")

cb2.place(x=250,y=490)

cb3=Checkbutton(root,text='Dancing',variable=v3,background="blue")

cb3.place(x=350,y=490)

cb4=Checkbutton(root,text='Sketching',variable=v4,background="blue")

cb4.place(x=450,y=490)

cb5=Checkbutton(root,text='Others',variable=v5,background="blue")

cb5.place(x=150,y=520)

entry10=Entry(root,width=30)
entry10.place(x=250,y=520)

label13=Label(root,text="QUALIFICATION",foreground="white",background="blue",font=("bold",
10))
label13.place(x=0,y=550)
label14=Label(root,text="Sl.No.",foreground="white",background="blue",font=("bold",10))
label14.place(x=150,y=550)
label15=Label(root,text="Examination",foreground="white",background="blue",font=("bold",10)
)

label15.place(x=200,y=550)

label16=Label(root,text="Board",foreground="white",background="blue",font=("bold",10),justify
="center")

label16.place(x=350,y=550)

label17=Label(root,text="Percentage",foreground="white",background="blue",font=("bold",10))

label17.place(x=450,y=550)

label18=Label(root,text="Year of
Passing",foreground="white",background="blue",font=("bold",10))

label18.place(x=570,y=550)

label19=Label(root,text="1",foreground="white",background="blue",font=("bold",10))

label19.place(x=150,y=580)

label20=Label(root,text="Class X",foreground="white",background="blue",font=("bold",10))

label20.place(x=200,y=580)

entry11=Entry(root,width=20)

entry11.place(x=300,y=580)

entry12=Entry(root,width=20)

entry12.place(x=430,y=580)

entry13=Entry(root,width=20)

entry13.place(x=560,y=580)

label21=Label(root,text="2",foreground="white",background="blue",font=("bold",10))
label21.place(x=150,y=605)

label22=Label(root,text="Class XII",foreground="white",background="blue",font=("bold",10))

label22.place(x=200,y=605)

entry14=Entry(root,width=20)

entry14.place(x=300,y=605)

entry15=Entry(root,width=20)

entry15.place(x=430,y=605)

entry16=Entry(root,width=20)

entry16.place(x=560,y=605)

label23=Label(root,text="3",foreground="white",background="blue",font=("bold",10))

label23.place(x=150,y=630)

label24=Label(root,text="Graduation",foreground="white",background="blue",font=("bold",10))

label24.place(x=200,y=630)

entry17=Entry(root,width=20)

entry17.place(x=300,y=630)

entry18=Entry(root,width=20)

entry18.place(x=430,y=630)

entry19=Entry(root,width=20)

entry19.place(x=560,y=630)

label25=Label(root,text="4",foreground="white",background="blue",font=("bold",10))

label25.place(x=150,y=655)

label26=Label(root,text="Masters",foreground="white",background="blue",font=("bold",10))

label26.place(x=200,y=655)

entry20=Entry(root,width=20)

entry20.place(x=300,y=655)
entry21=Entry(root,width=20)

entry21.place(x=430,y=655)

entry22=Entry(root,width=20)
entry22.place(x=560,y=655)
label27=Label(root,text="COURSES \nAPPLIED
FOR",foreground="white",background="blue",font=("bold",10))

label27.place(x=0,y=690)

vari = IntVar()

rb3=Radiobutton(root, text="BCA",padx = 5, variable=vari, value=1,bg="blue")

rb3.place(x=150,y=700)

rb4=Radiobutton(root, text="B.Com.",padx = 5, variable=vari, value=2,bg="blue")

rb4.place(x=200,y=700)

rb5=Radiobutton(root, text="B.Sc.",padx = 5, variable=vari, value=3,bg="blue")

rb5.place(x=265,y=700)

rb6=Radiobutton(root, text="B.A.",padx = 5, variable=vari, value=4,bg="blue")

rb6.place(x=320,y=700)

MyButton1 = Button(root, text="Submit",


width=10,foreground="black",background="white",font=("bold",10),bd=2,command=database)
MyButton1.place(x=350,y=755)
MyButton2 = Button(root, text="Reset",
width=10,foreground="black",background="white",font=("bold",10),bd=2,command=delete)

MyButton2.place(x=450,y=755)

root.mainloop()

import sqlite3

my_conn = sqlite3.connect('form.db')

###### end of connection ####

##### tkinter window ######

import tkinter as tk

from tkinter import *


my_w = tk.Tk()

my_w.geometry("1000x1000")

r_set=my_conn.execute('''SELECT * from Student_reg ''');

i=0 # row value inside the loop

for student in r_set:

for j in range(len(student)):

e = Entry(my_w, width=10, fg='blue')

e.grid(row=i, column=j)

e.insert(END, student[j])

i=i+1

my_w.mainloop()

chapter 3 – execution
● First install vs code
● Now install the python compiler
● Now import all the required packages
● Create table using sql.lite3
● Now create GUI using tkinter
● Link the GUI to database using sql.lite3
Chapter4 – output
Output table :

Githublink : https://github.com/kv6209/dbms

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy