You are on page 1of 32

SRI BALA VIDYALAYA

(Affiliated to CBSE, New Delhi)


Shanthi Nagar, Perambur, Chennai – 600011

COMPUTER SCIENCE PROJECT


ON
UPSC Registration Information System
2023 – 2024

NAME: H.THARUN
STD: XII SEC: A
REGISTER NO:
Page | 1
A PROJECT REPORT ON
UPSC REGISTRATION
INFORMATION SYSTEM

COMPUTER SCIENCE PROJECT


2023 – 2024

SUBMITTED BY
NAME: H.THARUN
Page | 2
STD: XII SEC: A
BONAFIDE CERTIFICATE
This is to certify that H.THARUN,
student of class XII – A has successfully
completed the project titled A project report
on “UPSC Registration Information
System” under the guidance of Mr. Aniel
Ronald Raj during the academic year 2023 –
2024 in partial fulfillment of computer science
practical examination.

Dated Staff-In-charge Principal

Dated External

Page | 3
Examiner
School Seal
ACKNOWLEDGEMENT

At the outset, I express my gratitude to the


almighty lord for the divine guidance and
wisdom showered on me to undertake this
project.
I am immensely grateful to my
beloved principal Smt. Santhanalakshmi for
her involvement in this project by providing
useful inputs and timely suggestions.
I am also thankful to my computer
science teacher Mr. Aniel Ronald Raj for his
guidance and help to make this project a
success.

Page | 4
My parents also played a key role
in shaping up this project nicely and I convey
special thanks to them as well.

Table of contents
S.No TOPIC PG.NO
1. Introduction to project 06
2. Objective of the project 07
3. The Existing system 09
4. Proposed System 10
5. Flow chart 12
6. Source Code 19
7. Output 25
8. Hardware and Software 29
requirement
9. Future scope of the 30
project
Page | 5
10. Bibliography 31

INTRODUCTION
This program helps the users to add
UPSC registration details of particular
student, after feeding information this
program automatically generates a
registration Number and displays it. The
user can use the registration number to
view their registered details. This
program can be used only if the Login ID
and the Password is correct by doing so
we enforce security and restriction of
unauthorized access.

Page | 6
OBJECTIVES OF THE
PROJECT
The objective of this project is to
let the students apply the programming
knowledge into a real- world
situation/problem and exposed the
students how programming skills helps in
developing a good software.
1. Write programs utilizing modern
software tools.

Page | 7
2. Apply object oriented programming
principles effectively when developing
small to medium sized projects.
3. Write effective procedural code to
solve small to medium sized problems.
4. Students will demonstrate a breadth of
knowledge in computer science, as
exemplified in the areas of systems,
theory and software development.
5. Students will demonstrate ability to
conduct a research or applied Computer
Science project, requiring writing and
presentation skills which exemplify
scholarly style in computer science.

Page | 8
Existing System
1. Visit the official website of UPSC
– upsconline.nic.in
2. Click on the Exam Notifications tab.
3. Click on Apply Online link.
4. Click on the link available for Civil
Services Part-I registration.
5. Read the application form instructions
carefully and click on Yes.
Page | 9
6. Fill in all basic information in the part-I
application form such as Name Date of
birth, Category, Gender, Email ID,
Contact number, Permanent address,
Marital status, Parents’ names,
Community, Educational qualification
etc.
7. Once all the details are filled in, click on
Continue. Check all details in the online
form carefully and click on Submit.

Proposed System
Today one cannot afford to rely on the
fallible human beings of be really wants to
stand against today’s merciless competition
where not to wise saying “to err is human”
no longer valid, it’s out-dated to rationalize
your mistake. So, to keep pace with time, to
Page | 10
bring about the best result without
malfunctioning and greater efficiency so to
replace the unending heaps of flies with a
much sophisticated hard disk of the computer.

One has to use the data management


software. Software has been an ascent in
atomization various organizations. Many
software products working are now in
markets, which have helped in making the
organizations work easier and efficiently. Data
management initially had to maintain a lot of
ledgers and a lot of paperwork has to be done
but now software production this organization
has made their work faster and easier. Now
only this software has to be loaded on the
computer and work can be done.

Page | 11
This prevents a lot of time and money. The
work becomes fully automated and any
information regarding the organization can be
obtained by clicking the button. Moreover,
now it’s an age of computers of and
automating such an organization gives the
better look.

FLOW CHART
FLOW CHART FOR LOGIN TABLE

START

import mysql.connector as sql

conn=sql.connect(host='localho Page | 12
st',user='root',passwd='comput
er',database='UPSC')
c1=conn.cursor()

c1.execute("create table login_info (user


varchar(10) primary key, pass varchar(10))
")

us=input("user")

pa=input("pass")

c1.execute("insert into login_info


values('"+us+"','"+pa+"')")

conn.commit()

STOP

FLOW CHART FOR REGISTRATION TABLE

START

import mysql.connector as sql

conn=sql.connect(host='localhost',user
='root',passwd='computer',database='
UPSC')
Page | 13
c1=conn.cursor()

c1.execute("create table registration_information (name varchar(20) ,father_name


varchar(15),mother_name varchar(15),examination_applied varchar(40),year
int(4),gender varchar(11),date_of_birth varchar(10),nationality
varchar(15),marital_status varchar(10),community varchar(4),minority
varchar(4),add_1 varchar(40),add_2 varchar(40),add_3 varchar(40),dist
varchar(20),state varchar(20),pin_code int(6),pho_no int (10),mobile_no int
(10),e_mail varchar(45),education_qualification varchar (100),preferance
varchar(10),p_f_cds_pabt int (3),sainik_milt_sch int(3),son_sainik_mil_sch int
(3),aadhar_no bigint)")

STOP

FLOW CHART FOR VIEWING OR ADDING DETAILS

START

import mysql.connector as sql

conn=sql.connect(host='localhost',user
='root',passwd='computer',database='
UPSC')

Page | 14
c1=conn.cursor()

c1.execute("select * from login_info")

dat=c1.fetchall()

user=input("Enter user name")

passwd=input("Enter the password")

FALSE
if
(user,passwd)
in dat:

TRUE

print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ UPSC
REGISTARATION$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")

print("1:ADD DETAILS")

print("2:VIEW DETAILS")

print("3:QUIT")

ch=int(input("Enter the choice--"))

FALSE
if ch==1:

TRUE
c1.execute("select * from registration_information")
v_data=c1.fetchall()
v_count=len(v_data)
Page | 15
v_reg_no=(v_count+1)
v_ea=input("Enter the examination applied--")
v_yr=input("Enter the year--")
v_p_f=input("Did you ever fail in CPSS(Computerised Pilot Selection System)
or""\n"" PABT (Pilot Aptitude Battery Test) Examination of Air Force--")

v_stu_sa=input("Whether Student of Sainik/Military School--")

v_son_mil=input("Whether Son of JCO/NCO/Other Rank officers and


studying in Sainik Military School--")

v_sql=("insert into registration_information values


("+v_aadh+","+"'"+v_f_na+"'"+","+"'"+v_m_na+"','"+v_ea+"',"+v_yr+",'"+v_gen+"','
"+v_dob+"','"+v_nat+"','"+v_mar_st+"','"+v_comm+"','"+v_min+"','"+v_add1+"','"+v
_add2+"','"+v_add3+"','"+v_dist+"','"+v_state+"',"+v_pin+","+v_pho+","+v_mob+",'
"+v_ema+"','"+v_edu+"','"+v_pre+"','"+v_p_f+"','"+v_stu_sa+"','"+v_son_mil+"','"+v
_name+"',"+str(v_reg_no)+")")

print(v_sql)

print("registered successfully your registartion number is--",v_reg_no) Page | 16

c1.execute(v_sql)

conn.commit()
FALSE

elif TRUE
ch==2
:

reg=int(input("Enter the registartion number"))

v_ch=("select * from registration_information where


reg_no="+str(reg))

c1.execute(v_ch)

data=c1.fetchone()

print('\n')

print("Registration no--",data[26])

print ("Examination applied--",data[3])

print ("Year --",data[4])

print("Name --",data[25])
Page | 17
print ("Gender --",data[5])

print ("Date of birth --",data[6])


print("Father name --",data[1])

print("Aadhar no --",data[0])

print("Preferance --",data[21])

print("Cds\pabt passed --",data[22])

print("Belong to sainik\miltary school--",data[23])

print("Son of miltary man adnd studying in saink miltary school--"

,data[24])

Page | 18
FALSE elif
ch==
3

TRUE

print("QUITTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")

FALSE
else :

TRUE

print("INVALID CHOICE PLEASE TRY AGAIN")

STOP

SOURCE CODE
#creating registration table
import mysql.connector as sql
conn=sql.connect (host='localhost', user='root',
passwd='computer', database='UPSC')
#if conn.is_connected():
#print('connected successfully')

Page | 19
c1=conn.cursor()
c1.execute("create table registration_information (name
varchar(20) ,father_name varchar(15),mother_name
varchar(15),examination_applied varchar(40),year
int(4),gender varchar(11),date_of_birth
varchar(10),nationality varchar(15),marital_status
varchar(10),community varchar(4),minority
varchar(4),add_1 varchar(40),add_2 varchar(40),add_3
varchar(40),dist varchar(20),state varchar(20),pin_code
int(6),pho_no int (10),mobile_no int (10),e_mail
varchar(45),education_qualification varchar
(100),preference varchar(10),p_f_cds_pabt int
(3),sainik_milt_sch int(3),son_sainik_mil_sch int
(3),aadhar_no bigint)")

#creating login info


import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='c
omputer',database='UPSC')
#if conn.is_connected():
#print('connected successfully')
c1=conn.cursor()
#v_sql=("create table login_info (user varchar(10)
primary key, pass varchar(10)) ")

Page | 20
#print(v_sql)
#c1.execute(v_sql)
us=input("user")
pa=input("pass")
v_sql=("insert into login_info
values('"+us+"','"+pa+"')")
print(v_sq)
c1.execute(v_sq)
conn.commit()

# for getting info, showing info


import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='c
omputer',database='UPSC')
#if conn.is_connected():
#print('connected successfully')
c1=conn.cursor()
c1.execute("select * from login_info")
dat=c1.fetchall()

Page | 21
user=input("Enter user name:")
passwd=input("Enter the password:")
if (user,passwd) in dat:
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ UPSC
REGISTARATION$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
print("1:ADD DETAILS")
print("2:VIEW DETAILS")
print("3:QUIT")
ch=int(input("Enter the choice:"))
if ch==1:
c1.execute("select * from
registration_information")
v_data=c1.fetchall()
v_count=len(v_data)
v_reg_no=(v_count+1)
v_ea=input("Enter the examination applied")
v_yr=input("Enter the year:")
v_name=input("Enter your name:")
v_gen=input("Enter your gender:")
v_dob=input("Enter your date of birth:")
v_f_na=input("Enter you father name:")
v_m_na=input("Enter your mother name:")
v_nat=input("Enter your nationality:")
v_mar_st=input("Enter your marital
status:")
v_comm=input("Enter your community:")
v_min=input("Do you belong to minority:")
v_add1=input("Enter address line1:")
v_add2=input("Enter address line2:")
v_add3=input("Enter address line3:")
v_dist=input("Enter your district:")
v_state=input("Enter your state:")
v_pin=input("Enter your pin code:")
v_pho=input("Enter your phone number:")

Page | 22
v_mob=input("Enter your mobile number:")
v_ema=input("Enter your mail ID:")
v_edu=input("Enter your education
qualification--")
v_aadh=input("Enter your aadhar number:")
v_pre=input("Enter your preference:")
v_p_f=input("Did you ever fail in
CPSS(Computerised Pilot Selection System) or""\n"" PABT
(Pilot Aptitude Battery Test) Examination of Air
Force:")
v_stu_sa=input("Whether Student of
Sainik/Military School:")
v_son_mil=input("Whether Daughter of
JCO/NCO/Other Rank officers and studying in Sainik
Military School:")
v_sql=("insert into
registration_information values
("+v_aadh+","+"'"+v_f_na+"'"+","+"'"+v_m_na+"','"+v_ea+
"',"+v_yr+",'"+v_gen+"','"+v_dob+"','"+v_nat+"','"+v_ma
r_st+"','"+v_comm+"','"+v_min+"','"+v_add1+"','"+v_add2
+"','"+v_add3+"','"+v_dist+"','"+v_state+"',"+v_pin+","
+v_pho+","+v_mob+",'"+v_ema+"','"+v_edu+"','"+v_pre+"',
'"+v_p_f+"','"+v_stu_sa+"','"+v_son_mil+"','"+v_name+"'
,"+str(v_reg_no)+")")
print(v_sql)
print("registered successfully your
registration number is--",v_reg_no)
c1.execute(v_sql)
conn.commit()
elif ch==2:
print('\n')
reg=int(input("Enter the registration
number"))
v_ch=("select * from
registration_information where reg_no="+str(reg))

Page | 23
c1.execute(v_ch)
data=c1.fetchone()
print('\n',"registration no:",data[26],'\
n')
print ("Examination applied:",data[3],'\n')
print ("Year:",data[4],'\n')
print("Name:",data[25],'\n')
print ("Gender:",data[5],'\n')
print ("Date of birth:",data[6],'\n')
print("Father name:",data[1],'\n')
print("Mother name:",data[2],'\n')
print("Nationality:",data[7],'\n')
print("Marital status:",data[8],'\n')
print("Community:",data[9],'\n')
print("Minority:",data[10],'\n')
print("Address line1:",data[11],'\n')
print("Address line2:",data[12],'\n')
print("Address line3:",data[13],'\n')
print("District:",data[14],'\n')
print("State:",data[15],'\n')
print("Pin code:",data[16],'\n')
print("Phone no:",data[17],'\n')
print("Mobile no:",data[18],'\n')
print("E mail:",data[19],'\n')
print("Education_qualification:",data[20],'
\n')
print("Aadhar no:",data[0],'\n')
print("Preference:",data[21],'\n')
print("Cds\pabt passed:",data[22],'\n')
print("Belong to sainik\miltary
school :",data[23],'\n')
print("Daughter of miltary man and studying
in sainik miltary school:",data[24],'\n')

Page | 24
elif ch==3:
print("QUITTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")

else :
print("INVALID CHOICE PLEASE TRY AGAIN")

Output
#adding details
Enter user name: Edla
Enter the password: sha@205
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ UPSC
REGISTARATION$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
1: ADD DETAILS
2: VIEW DETAILS
3: QUIT
Page | 25
Enter the choice: 1
Enter the examination applied: UPSC
Enter the year: 2022
Enter your name: Edla Jhon
Enter your gender: female
Enter your date of birth: 29-12-1995
Enter your father name: Andrew Jhon
Enter your mother name: Susan Jhon
Enter your nationality: Indian
Enter your marital status: unmarried
Enter your community: obc
Do you belong to minority: no
Enter address line1: xxxxxxxxxx
Enter address line2: xxxxxxxxxx
Enter address line3: xxxxxxxxxx
Enter your district: Surat
Enter your state: Gujarat
Enter your pin code: 395003
Enter your phone number: 9629984613
Enter your mobile number: 9600106915
Enter your mail ID: edjhsha@yahoo.com
Enter your education qualification: BA degree @ SSA
Enter your aadhar number: 3333 2222 1111
Enter your preference: Military
Did you ever fail in CPSS (Computerized Pilot Selection
System) or PABT (Pilot Aptitude Battery Test) Examination of
Air Force: no
Whether Student of Sainik/Military School: yes
Whether Daughter of JCO/NCO/Other Rank officers and
studying in Sainik Military School: yes

Page | 26
Insert into registration information values (3333 2222 1111,
‘Andrew Jhon’, ‘ Susan Jhon’, ‘UPSC’, 2022, ‘female’, ‘29-12-
1995’, ‘Indian’, ‘unmarried’, ‘obc’ , ‘no’, ‘xxxxxxxxxx’,
‘xxxxxxxxxx’, ‘xxxxxxxx’ , ‘Surat’, ‘Gujarat’, 395003,
9629984613, 9600106915, ‘edjhsha@yahoo.com’, ‘BA degree
@ SSA’, ‘Military’, ‘no’ , ‘yes’ , ‘yes’ , ‘Edla Jhon’ ,3)
registered successfully your registration number is: 3

# Viewing details
Enter user name: Edla

Page | 27
Enter the password: sha@205
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ UPSC
REGISTARATION$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
1. ADD DETAILS
2. VIEW DETAILS
3. QUIT
Enter the choice: 2
Enter the registration number: 3

Registration number: 3
Examination applied: UPSC
Year: 2022
Name: Edla Jhon
Gender: female
Date of birth: 29-12-1995
Father name: Andrew Jhon
Mother name: Susan Jhon
Nationality: Indian
Marital status: unmarried
Community: obc
Minority: no
Address line1: xxxxxxxxxx
Address line2: xxxxxxxxxx
Address line3: xxxxxxxxxx
District: Surat
state: Gujarat
Pin code: 395003
Phone number: 9629984613
Mobile number: 9600106915
E mail: edjhsha@yahoo.com
Page | 28
Education qualification: BA degree @ SSA
Aadhar number: 3333 2222 1111
Preference: Military
Cds/pabt passed: no
Belong to Sainik/military school: yes
Daughter of military man and studying in Sainik military school:
yes

Page | 29
Hardware and Software requirement
I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE

II. PROCESSOR : PENTIUM(ANY) OR AMD

ATHALON(3800+- 4200+ DUALCORE)

III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI

K9MM-V VIAK8M800+8237R PLUS

CHIPSET FOR AMD ATHALON

IV. RAM : 512MB+

V. Hard disk : SATA 40 GB OR ABOVE

VI. CD/DVD r/w multi drive combo: (If back up required)

VII. FLOPPY DRIVE 1.44 MB : (If Backup required)

VIII. MONITOR 14.1 or 15 -17 inch

IX. Key board and mouse

X. Printer : (if print is required – [Hard copy])

SOFTWARE REQUIREMENTS:

I. Windows OS
II. Python

Page | 30
III. MySQL

Future scope
With the technology evolving fast and many
soft wares which can handle large amount of
data and process them efficiently MySQL is
bound to go out of scope eventually but since
it is a legacy system and many companies
have been using them for a long time to store
data it's going to take more than a year for
MySQL to go out of scope in a year. Coming
to the question there is still scope for it
The opportunities for Python programmers in
networking and AI are vast. You can explore
career options in this industry and work as a
network engineer or an AI analyst by studying
the more complex principles from Python
programming classes.

Page | 31
Bibliography
1. https://www.analyticsinsight.net/top-10-
trending-open-source-python-projects-on-
github/
2. DOC-20221026-WA0004.
3. https://www.w3resource.com
4. Computer science With Python - Class
XII By: Sumita Arora

Page | 32

You might also like