You are on page 1of 21

V

GBSSS TIKRI KALAN


S
DELHI - 110041

RECORD KEEPING SYSTEM

NAME : VISHAL
ADIA TOKAS
CLASS : XII - a
ROLL NUMBER : 26720701

Aissce
2023-24
2022 - 23
BONAFIDE CERTIFICATE

This is to certify that this COMPUTER SCIENCE Project on the topic “RECORD

KEEPING SYSTEM” has been successfully completed by VISHAL TOKAS of class

XII A,

Roll.no 26720701 at GBSSS TIKRI KALAN,DELHI for the partial fulfilment of this project

as a part of All India Senior Secondary Certificate Examination - CBSE, New Delhi for the

Academic Year 2023- 2024.

Signature of Principal Teacher In-charge

Signature of the Signature of the


Internal Examiner External Examiner
ACKNOWLEDGEMENT

Apart from the efforts of me, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my gratitude to
the people who have been instrumental in the successful completion of this project.

I express deep sense of gratitude to almighty God for giving me strength for the successful
completion of the project.

I express my heartfelt gratitude to my parents for constant encouragement while carrying


out this project.

I gratefully acknowledge the contribution of the individuals who contributed in bringing this
project up to this level, who continues to look after me despite my flaws,

I express my deep sense of gratitude to the luminary The Director, Principal, GBSSS
TIKRI KALAN, DELHI who has been continuously motivating and extending their helping
hand to us.

I express my sincere thanks to the Dr. JYOTI SHOKEEN, GBSSS TIKRI KALAN,
DELHI,
for providing opportunity in doing this project

My sincere thanks to Dr. JYOTI SHOKEEN, Master In-charge, A guide, Mentor all the
above a friend, who critically reviewed my project and helped in solving each and every problem,
occurred during implementation of the project

The guidance and support received from all the members who contributed and who are
contributing to this project, was vital for the success of the project. I am grateful for their constant
support and help.
TABLE OF CONTENT:

1. ABSTRACT

2. SYSTEM CONFIGURATION

3. INTRODUCTION
4. OBJECTIVES OF THE PROJECT

5. PROPOSED SYSTEM

6. LIBRARIES AND FUNCTIONS USED

7. MYSQL QUERIES USED IN THIS PROJECT

8. SOURCE CODE

9. OUTPUT (SCREENSHOT)

10. CONCLUSION

11. BIBILOGRAPHY
ABSTRACT:

The main objective of this project is to build a student database system (LOC)

that will store records of students. It is purposed to reduce time spent on

administrative tasks. The system is intended to accept process and generate

student reports accurately. All the phases of software development cycle are

employed and provisions have been made to facilitate future development in the

system.
SYSTEM CONFIGURATION:

HARDWARE CONFIGURATION

Microsoft windows 7 professional/windows 8/windows 8.2:


● Processor : Intel Core i3 or equivalent
● Memory : 2 GB (32-bit), 4 GB (64-bit)
● Disk space: 1.5 GB of free disk space

SOFTWARE REQUIREMENTS
● 1 GB RAM (2 GB+ recommended)
● 9-58 GB free hard disk space depending on edition and configuration, including space
required for temporary files
● DVD-ROM drive (if installing from a Media Kit DVD)
● Basic GPU – Any vendor DirectX 9.0 class or better (Pixel Shader Level 2)
● Intel® Pentium® or compatible, 1.6 GHz minimum (2GHz+ recommended)
● 1024x768 or higher-resolution monitor

● MOUSE OR OTHER POINTING DEVICE


INTRODUCTION
The success of any organization depends on its ability to acquire accurate and timely data

about its operations, to manage this data effectively, and to use it to analyse and guide its

activities. The Student Record Management system offer users with a unified view of the data.

Over the years, education had experienced growth and advancement through to Information

Technology. Record means any document or other source of information compiled or stored in

written form or by electronic process, or in any other manner or by any other means. Record

keeping is the process of collecting, inputting, storing, classifying, summarizing and interpreting

record. In accordance, this Record keeping system is built using python and MySQL Relational

Database Management Software (RDBMS). The main objective of this project is to build a

student database system (LOC) that will store records of students.


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.
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.
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 outdated to rationalize your mistake. So, to keep pace with time, to 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 organisations. Many software products working are now in markets, which

have helped 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 product on 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. 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.
LIBRARIES AND FUNCTIONS USED:

1. MySQL connector - MySQL Connector/Python enables Python programs to access


MySQL databases, using an API that is compliant with the Python Database API
Specification v2.0 (PEP 249). It is written in pure Python and does not have any
dependencies except for the Python Standard Library.

2. .sys module - The sys module provides a number of functions and variables that can be
used to manipulate different parts of the Python runtime environment.
Source Code :

import mysql.connector as mcon


import sys
con = mcon.connect(host="localhost" ,username="root" ,passwd="admin")
mycursor = con.cursor()
if con.is_connected():
print("MySql DataBase is connected Successfully.")
mycursor.execute("create database if not exists LOC")
mycursor.execute("use LOC")
mycursor.execute("create table if not exists user(uname varchar(20),upwd varchar(20),utype
char(5),ustatus char(5))")
print("Input 'I' for Insertion a New Record.")
print("Input 'U' for Update an Existing Record.")
print("Input 'R' for Removal an Existing Record.")
print("Input 'S' for Searching a Record.")
print("Input 'D' for Display All Records.")
print("Input 'E' for Exit the Program.")
ch = input("Enter Your Option: ")
#--------------------------*TABLE CREATION*----------------------------
if ch == 'I' or ch == 'i':
ins = "create table if not exists students(reg_num int(20) primary key, loc_sr_num integer NOT
NULL, yr_pass_xi int(5) NOT NULL, exam_cat char(5) NOT NULL, cand_name char(50) NOT
NULL, mother_name char(50) NOT NULL, father_name char(50) NOT NULL, gender varchar(5),
category1 varchar(5), minority varchar(5), PwD_status varchar(20), mob_num bigint NOT NULL,
email_id varchar(50), aadhar_num bigint, sub_1 char(15), sub_2 char(15) NOT NULL, sub_3
char(15) NOT NULL, sub_4 char(15) NOT NULL, sub_5 char(15) NOT NULL, add_sub_6 char(15)
NOT NULL)"
mycursor.execute(ins)
print("Insertion Operation.")
reg = int(input("Enter student's registration_num: "))
locsr = int(input("Enter student's loc_sr_num: "))
yrpassc11 = int(input("Enter student's year_passing_class11: "))
ecat = input("Enter student's exam_cat: ")
cname = input("Enter student's Name: ")
mname = input("Enter student's mother's name: ")
fname = input("Enter student's father's name: ")
gender = input("Enter student's gender: ")
cat = input("Enter student's category: ")
minor = input("Enter if student belongs to minority section(y/n): ")
pwdis = input("Enter if student have disability (type of disability): ")
mnum = int(input("Enter student's mobile_num: "))
email = input("Enter student's email_id: ")
ad_num = int(input("Enter student's addhar number: "))
s1 = input("Enter subject1(compulsory language): ")
s2 = input("Enter subject2: ")
s3 = input("Enter subject3: ")
s4 = input("Enter subject4: ")
s5 = input("Enter subject5: ")
s6 = input("Enter subject6(additional): ")
q = "insert into students (reg_num, loc_sr_num,yr_pass_xi,exam_cat, cand_name, mother_name,
father_name, gender, category1, minority, PwD_status, mob_num, email_id, aadhar_num, sub_1,
sub_2, sub_3, sub_4, sub_5, add_sub_6) values ({}, {}, {}, '{}', '{}', '{}', '{}', '{}', '{}', '{}', '{}', {}, '{}', {}, '{}',
'{}', '{}', '{}', '{}','{}') ".format (reg, locsr, yrpassc11, ecat, cname, mname, fname, gender, cat, minor,
pwdis, mnum, email, ad_num ,s1, s2, s3, s4, s5, s6)
mycursor. execute(q)
con.commit()
print ("Record is inserted Successfully.")
#--------------------------*UPDATION*-----------------------------
elif ch == 'U' or ch == 'u':
print ("Updation of Record.")
reg = input ("Enter Student's registration Number: ")
sn = input ("Enter New student's Name: ")
mn = input ("Enter New student Mother's Name: ")
fn = input ("Enter New student Father's Name: ")
qry = "update students set cand_name = '{}', mother_name = '{}’, father_name = '{}' where
reg_num = {}”. format(sn,mn,fn,reg)
mycursor. execute(qry)
con.commit()
print ("Record is updated Successfully.")
#--------------------------*DELETION*-----------------------------
elif ch == 'R' or ch == 'r':
print ("Removal of Record.")
reg = input ("Enter Student's registration Number: ")
qry = "delete from students where reg_num = {}”. format(reg)
mycursor. execute(qry)
con.commit()
print ("Record is deleted Successfully.")
#--------------------------*SEARCHING*-----------------------------
elif ch == 'S' or ch == 's':
print ("Searching Operation.")
reg = input ("Enter Student's registration Number: ")
qry = "select * from students where reg_num = {} “. format(reg)
#Print(qry)
mycursor. execute(qry)
print ("Record is found Successfully.")
data = mycursor.fetchone()
count = mycursor.rowcount
print ("Total No. of Record:",count)
for row in data:
print(row)
#--------------------------*DISPLAY*-----------------------------
elif ch == 'D' or ch == 'd':
print("Display ALl Records.")
qry = "select * from students"
mycursor. execute(qry)
data = mycursor.fetchall()
count = mycursor.rowcount
print("Total No. of Record: ",count)
print("{0:<9s} {1:<9s} {2:<9s} {3:<9s} {4:<9s} {5:<9s} {6:<9s} {7:<9s} {8:<9s} {9:<9s}" .format
('Sl.No', 'Name', 'MName', 'FName', 'Subject1', 'Subject2', 'Subject3','Subject4','Subject5','Subject6'))

print("__________________________________________________________________________")
for row in data:
print ("{0:<9s} {1:<9s} {2:<9s} {3:<9s} {4:<9s} {5:<9s} {6:<9s} {7:<9s} {8:<9s} {9:<9s}" .format
(str(row[1]), row[4], row[5], row[6], row[14], row[15], row[16], row[17],row[18],row[19]))
elif ch == 'E' or ch == 'e':
print ("Exiting Program.")
sys.exit(0)
else:
print ("Wrong Input. Try Again!!!!!")
OUTPUT [SCREEN SHOTS]

1) Students table structure:


2) Insertion Of Record:
3) Updating Record:

4) Deleting Record:
5) Searching Record:
6) Displaying Records:

7) Exit:
CONCLUSION:

Record Keeping system is an environment where all the process of the students/clients

in the institution is managed. It is done through the automated computerized method.

Conventionally this system is done using papers, file and binders.

This system saves the time of the administrator. It includes process like Inserting

Student data, Updating, Collecting and deleting data.

This makes the system easy to handle and feasible for finding the omission with updating at

the same time.

If filed a query to search or update in a manual system, it will take a lot of time to

process the query and make a report which is a tedious job.

This computerized system stores all the data in the database which makes it easy to fetch

and update whenever needed.


BIBILOGRAPHY:

Computer Science with Python by Sumita Arora for Class 11& 12

HTTPS://WWW.W3SCHOOLS.COM/PYTHON/PYTHON_MYSQL_GETSTARTED

.ASP

HTTPS://WWW.TUTORIALSPOINT.COM/PYTHON/PYTHON_DATABASE_AC

CESS. HTM HTTPS://PYTHONSPOT.COM/MYSQL-WITH-PYTHON/

You might also like