SlideShare uma empresa Scribd logo
1 de 24
[1]
Kendriya Vidyalaya Bantalab
Jammu
AProject Report on
STUDENT DETAILS MANAGEMENT
SYSTEM
(SDMS)
For
AISSCE 2020 Examination
[As a part of the Informatics Practices Course (065)]
SUBMITTED BY
Under the Guidance of:
[2]
CERTIFICATE
This is to certify that the Project / Dissertation entitled
STUDENT DETAILS MANAGEMENT SYSTEM is a
bonafide work done by of class XII ‘A’ Session 2019-20
in partial fulfillment of CBSE’s AISSCE Examination
2020 and has been carried out under my direct
supervision and guidance. This report or a similar
report on the topic has not been submitted for any
other examination and does not form a part of any
other course undergone by the candidate.
Signature ofStudent Signature ofTeacher
[3]
ACKNOWLEDGEMENT
Undertook this Project work, as the part of my XII-Informatics
Practices course. I had tried to apply my best of knowledge and
experience, gained during the study and class work experience.
However, developing software system is generallya quite complex and
time-consuming process. It requires a systematic study, insight vision
and professional approach during the design and development.
Moreover, the developer always feels the need, the help and good
wishes of the people near you, who have considerable experience and
idea.
I would like to extend my sincere thanks and gratitude to my teacher
Mrs. Kriti Choudhary. I am very much thankful to our Principal Mr.
Suraj Prasad for giving valuable time and moral support to develop
this software.
I would like to take the opportunity to extend my sincere thanks and
gratitude to my parents for being a source of inspiration and providing
time and freedom to develop this software project.
I also feel indebted to my friends for the valuable suggestions during
the project work.
Manish Raj
Class XII ‘A’
I
[4]
CONTENTS
1. Introduction------------------------------------------------------------------- 5
2. Objective & Scope of the Project------------------------------------- 6
3. Theoretical Background ------------------------------------------------- 7
4. Problem Definition & Analysis--------------------------------------- 11
5. System Implementation------------------------------------------------ 12
5.1 The Hardware used:--------------------------------------------------- 12
5.2 The Softwares used: -------------------------------------------------- 12
6. System Design & Development------------------------------------- 13
6.1 Database Design:------------------------------------------------------ 13
6.2 Python Code------------------------------------------------------------- 14
7. References ----------------------------------------------------------------- 24
[5]
INTRODUCTION
This software project is developed to automate the functionalities of a User Friendly
SDMS.The purpose of the software project is to develop a program which provides a
friendly interface for the user to explore the information about students of various
classes and update the required information of students. This program mainly brings
forth the usage of GUI programming in the daily usage over the network. The program
when made to work over the network can prove to be an ultimate way of interaction
between the user and the management system.
A MIS mainly consists of a computerized database, a collection of inter-related tables
for a particular subject or purpose, capable to produce different reports relevant to the
user. An application program is tied with the database for easy access and interface to
the database. Using Application program or front-end, we can store, retrieve and
manage all information in proper way.
This software, being simple in design and working, does not require much of training
to users, and can be used as a powerful tool for the automating the Management sys.
During coding and design of the software Project, Java NetBeans IDE, a powerful front-
end tool is used for getting Graphical User Interface (GUI) based integrated platform
and coding simplicity. As a back-end a powerful, open source RDBMS, My SQL is used
as per requirement of the CBSE curriculum of Informatics Practices Course.
[6]
Objective & Scope of the Project
The objective of the software project is to develop a computerized MIS to automate the
functions of a Student Details Management System. This software project is also aimed to
enhance the current record keeping system, which will help managers to retrieve the up-to-
date information at right time in right shape.
The proposed software system is expected to do the following functionality-
 To provide a user friendly, Graphical User Interface (GUI) based integrated and
centralized environment for MIS activities.
 The proposed system should maintain all the records and transactions, and should
generate the required reports and information when required.
 To provide graphical and user-friendly interface to interact with a centralized database
based on client-server architecture.
 To identify the critical operation procedure and possibilities of simplification using
modern IT tools and practices.
In its current scope, the software enables user to retrieve and update the information from
centralized database designed with MySQL. This software does not require much training time
of the users due to limited functionality and simplicity.
During the development of Student Details Management System (SDMS) project, Python IDE, a
powerful, open source event-driven form-based development environment is used for modular
design and future expandability of the system.
Despite of the best effort of the developer, the following limitations and functional boundaries
are visible, which limits the scope of this application software.
1. This software can store records and produce reports in pre-designed format in soft copy.
There is no facility yet to produce customized reports. Only specified reports are
covered.
2. There is no provision to calculate fine or penalty etc. for defaulter members; however it
can be developed easily with the help of adding modules.
3. Some application areas like to do multiple updation in field is not possible. We need to
do one updation at a time.
4. We need to run the program after every time to go though it (one run one go).
So far as future scope of the project is concerned, firstly it is open to any modular expansion i.e.
other modules or functions can be designed and embedded to handle the user need in future. Any
part of the software and reports can be modified independently without much effort.
[7]
Theoretical Background
What is Database?
Introduction and Concepts:
A database is a collection of information related to a particular subject or purpose, such as
tracking customer orders or maintaining a product collection. Using any RDBMS application
software like MS SQL Server, MySQL, Oracle, Sybase etc, you can manage all your
information from a single database file. Within the file, divide your data into separate storage
containers called tables. You may and retrieve the data using queries.
A table is a collection of data about a specific topic, such as products or suppliers. Using a
separate table for each topic means you can store that data only once, which makes your
database more efficient and reduces data-entry errors. Table organises data into columns (called
fields) and rows (called records).
A Primary key is one or more fields whose value or values uniquely identify each record in a
table. In a relationship, a primary key is used to refer to specific record in one table from another
table. A primary key is called foreign key when it is referred to from another table.
Role of RDBMS Application Program:
A computer database works as a electronic filing system, which has a large number of ways of
cross-referencing, and this allows the user many different ways in which to re-organize and
retrieve data. A database can handle business inventory, accounting and filing and use the
information in its files to prepare summaries, estimates and other reports. The management of
data in a database system is done by means of a general-purpose software package called a
Database Management System (DBMS). Some commercially available DBMS are MS SQL
Server, MS ACCESS, INGRES, ORACLE, and Sybase. A database management system,
therefore, is a combination of hardware and software that can be used to set up and monitor a
database, and can manage the updating and retrieval of database that has been stored in it. Most
of the database management systems have the following capabilities:
 Creating of a table, addition, deletion, modification of records.
 Retrieving data collectively or selectively.
 The data stored can be sorted or indexed at the user's discretion and direction.
 Various reports can be produced from the system. These may be either standardized
report or that may be specifically generated according to specific user definition.
 Mathematical functions can be performed and the data stored in the database can be
manipulated with these functions to perform the desired calculations.
 To maintain data integrity and database use.
The DBMS interprets and processes users' requests to retrieve information from a database. In
most cases, a query request will have to penetrate several layers of software in the DBMS and
operating system before the physical database can be accessed. The DBMS responds to a query
by invoking the appropriate subprograms, each of which performs its special function to
[8]
interpret the query, or to locate the desired data in the database and present it in the desired
order.
What is My SQL?
The management of data in a database system is done by means of a general-purpose software
package called a Database Management System (DBMS). Some commercially available
RDBMS are MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase.
MySQL, the most popular Open Source SQL database management system, is developed,
distributed, and supported by Oracle Corporation. MySQL is named after co-founder Monty
Widenius's daughter, My. The name of the MySQL Dolphin (our logo) is “Sakila,”.
 MySQL is a database management system.
A database is a structured collection of data. It may be anything from a simple shopping
list to a picture gallery or the vast amounts of information in a corporate network. To
add, access, and process data stored in a computer database, you need a database
management system such as MySQL Server. Since computers are very good at handling
large amounts of data, database management systems play a central role in computing, as
standalone utilities, or as parts of other applications.
 MySQL is based on SQL.
A relational database stores data in separate tables rather than putting all the data in one
big storeroom. This adds speed and flexibility. The SQL part of “MySQL” stands for
“Structured Query Language.” SQL is the most common standardized language used to
access databases and is defined by the ANSI/ISO SQL Standard. The SQL standard has
been evolving since 1986 and several versions exist. In this manual, “SQL-92” refers to
the standard released in 1992, “SQL: 1999” refers to the standard released in 1999, and
“SQL: 2003” refers to the current version of the standard.
 MySQL software is Open Source.
Open Source means that it is possible for anyone to use and modify the software.
Anybody can download the MySQL software from the Internet and use it without paying
anything. If you wish, you may study the source code and change it to suit your needs.
The MySQL software uses the GPL (GNU General Public License),
 The MySQL Database Server is very fast, reliable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server also has a
practical set of features developed in close cooperation with our users. You can find a
performance comparison of MySQL Server with other database managers on our
benchmark page. MySQL Server was originally developed to handle large databases
much faster than existing solutions and has been successfully used in highly demanding
production environments for several years. Although under constant development,
MySQL Server today offers a rich and useful set of functions. Its connectivity, speed,
and security make MySQL Server highly suited for accessing databases on the Internet.
 MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a multi-threaded
SQL server that supports different backends, several different client programs and
libraries, administrative tools, and a wide range of application programming interfaces
(APIs).
[9]
The Main Features of MySQL
 Written in C and C++.
 Works on many different platforms.
 Uses multi-layered server design with independent modules.
 Provides transactional and nontransactional storage engines.
 Designed to make it relatively easy to add other storage engines. This is useful if you
want to provide an SQL interface for an in-house database.
 Uses a very fast thread-based memory allocation system.
 Executes very fast joins using an optimized nested-loop join.
 Implements SQL functions using a highly optimized class library that should be as fast
as possible. Usually there is no memory allocation at all after query initialization.
 Provides the server as a separate program for use in a client/server networked
environment, and as a library that can be embedded (linked) into standalone applications.
Such applications can be used in isolation or in environments where no network is
available.
 Password security by encryption of all password traffic when you connect to a server.
 Support for large databases. We use MySQL Server with databases that contain 50
million records. We also know of users who use MySQL Server with 200,000 tables and
about 5,000,000,000 rows.
 MySQL client programs can be written in many languages. A client library written in C
is available for clients written in C or C++, or for any language that provides C bindings.
 APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and Tcl are available, enabling
MySQL clients to be written in many languages.
 The Connector/ODBC (MyODBC) interface provides MySQL support for client
programs that use ODBC (Open Database Connectivity) connections.
 The Connector/J interface provides MySQL support for Java client programs that use
JDBC connections. Clients can be run on Windows or Unix. Connector/J source is
available.
What is Python?
Python is an interpreted, object-oriented, high-level programming language with dynamic
semantics. Created by Guido van Rossum and first released in 1991, Python's design philosophy
emphasizes code readability with its notable use of significant whitespace. Its language
constructs and object-oriented approach aim to help programmers write clear, logical code for
small and large-scale projects. Its high-level built in data structures, combined with dynamic
typing and dynamic binding, make it very attractive for Rapid Application Development, as well
as for use as a scripting or glue language to connect existing components together. Python's
simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program
maintenance. Python supports modules and packages, which encourages program modularity
and code reuse. The Python interpreter and the extensive standard library are available in source
or binary form without charge for all major platforms, and can be freely distributed.
Often, programmers fall in love with Python because of the increased productivity it provides.
Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python
programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the
[10]
interpreter discovers an error, it raises an exception. When the program doesn't catch the
exception, the interpreter prints a stack trace. A source level debugger allows inspection of local
and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through
the code a line at a time, and so on. The debugger is written in Python itself, testifying to
Python's introspective power. On the other hand, often the quickest way to debug a program is to
add a few print statements to the source: the fast edit-test-debug cycle makes this simple
approach very effective.
Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0,
released in 2000, introduced features like list comprehensions and a garbage collection system
capable of collecting reference cycles. Python 3.0, released in 2008, was a major revision of the
language that is not completely backward-compatible, and much Python 2 code does not run
unmodified on Python 3.
The Python 2 language, i.e. Python 2.7.x, is "sunsetting" on January 1, 2020 (after extension;
first planned for 2015), and the Python team of volunteers will not fix security issues, or
improve it in other ways after that date. With the end-of-life, only Python 3.5.x and later will be
supported.
Python interpreters are available for many operating systems. A global community of
programmers develops and maintains CPython, an open source reference implementation. A
non-profit organization, the Python Software Foundation, manages and directs resources for
Python and CPython development.
[11]
Problem Definition & Analysis
The hardest part of building a software system is deciding precisely what to build. No other part
of the conceptual work is so difficult as establishing the detailed technical requirement. Defining
and applying good, complete requirements are hard to work, and success in this endeavor has
eluded many of us. Yet, we continue to make progress.
Problem definition describes the what of a system, not How. The quality of a software product is
only as good as the process that creates it. Problem definition is one of the most crucial steps in
this creation process. Without defining a problem, developers do not know what to build,
customers do not know what to expect, and there is no way to validate that the built system
satisfies the requirement.
Problem definition and Analysis is the activity that encompasses learning about the problem to
be solved, understanding the needs of customer and users, trying to find out who the user really
is, and understanding all the constraints on the solution. It includes all activities related to the
following:
 Identification and documentation of customer’s or user’s needs.
 Creation of a document that describes the external behavior and the association
constraints that will satisfies those needs.
 Analysis and validation of the requirements documents to ensure consistency,
completeness, and feasibility
 Evolution of needs.
After the analysis of the functioning of a Clothing Store system, the proposed System is
expected to do the following: -
 To provide a user friendly, Graphical User Interface (GUI) based integrated and
centralized environment for computerized Purchasing of Products.
 The proposed system should maintain all the records and transactions, and should
generate the required reports and information when required.
 To provide efficient and secured Information storage, flow and retrieval system, ensuring
the integrity and validity of records.
 To provide graphical and user-friendly interface to interact with a centralized database
based on client-server architecture.
 To identify the critical operation procedure and possibilities of simplification using
modern IT tools and practices.
[12]
System Implementation
The Hardwareused:
While developing the system, the used hardware are:
PC with Intel i3 core processor having 4.00 GB RAM, SVGA and other required
devices.
The Softwaresused:
 Microsoft Windows® 8.1 as Operating System.
 Python as Front-end Development environment.
 MySQL as Back-end Sever with Database for Testing.
 MS-Word 2013 for documentation.
[13]
System Design & Development
DatabaseDesign:
An important aspect of system design is the design of data storage structure. To begin with a
logical model of data structure is developed first. A database is a container object which contains
tables, queries, reports and data validation policies enforcement rules or contraints etc. A logical
data often represented as a records are kept in different tables after reducing anomalies and
redundancies. The goodness of data base design lies in the table structure and its relationship.
This software project maintains a database named School which contains the following tables.
Table Design:
The database of School contains 3 tables. The tables are normalized to minimize the
redundancies of data and enforcing the validation rules of the organization. Most of the tables
are designed to store master records. The tables and their structure are given below.
[14]
Python Code:
import mysql.connector as con
mycon=con.connect (host='localhost', user='root', passwd='root', database='school')
print()
print('****************************************************************')
print("WELCOME TO STUDENT DETAIL'S MANAGEMENT SYSTEM(SDMS)")
print('****************************************************************')
print('----------------')
print('CONTENTS')
print('----------------')
print('+++++++++++++++++++++++++++++++++')
print("1. To View Student's Details")
print("2. To Add a New Student")
print("3. To Update Student's Details")
print("4. To Delete Student's Details")
print('+++++++++++++++++++++++++++++++++')
input1=int(input('Enter your choice(1-4):'))
if input1==1:
print('-------------')
print('CLASSES')
print('-------------')
print('++++++++++++++++')
print('1-Pre-Nursary')
print('2-LKG')
print('3-UKG')
print('++++++++++++++++')
input2=int(input('Enter the Class(1-3):'))
if input2==1:
cursor=mycon.cursor()
a="SELECT * FROM Pre_Nursary"
[15]
cursor.execute(a)
data=cursor.fetchall()
count=cursor.rowcount
print('Total number of rows retrieved in resultset:',count)
for row in data:
print(row)
elif input2==2:
cursor=mycon.cursor()
a="SELECT * FROM LKG"
cursor.execute(a)
data=cursor.fetchall()
count=cursor.rowcount
print('Total number of rows retrieved in resultset:',count)
for row in data:
print(row)
elif input2==3:
cursor=mycon.cursor()
a="SELECT * FROM UKG"
cursor.execute(a)
data=cursor.fetchall()
count=cursor.rowcount
print('Total number of rows retrieved in resultset:',count)
for row in data:
print(row)
else:
print('Enter correct choice...!!!')
elif input1==2:
print('-------------')
print('CLASSES')
print('-------------')
print('++++++++++++++++')
print('1-Pre-Nursary')
print('2-LKG')
print('3-UKG')
print('++++++++++++++++')
input2=int(input('Enter the Class(1-3):'))
if input2==1:
adno=int(input('Enter Admission No.:'))
fn=input('Enter First name:')
ln=input('Enter Last name:')
fan=input('Enter Father name:')
[16]
mn=input('Enter Mother name:')
dob=input('Enter Date of birth:')
ge=input('Enter gender:')
ca=input('Enter Category:')
ph=int(input('Enter Phone No.:'))
em=input('Enter Email:')
add=input('Enter Address:')
cursor=mycon.cursor()
query="INSERT INTO
Pre_Nursary(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No
,Email,Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan,
mn,dob,ge,ca,ph,em,add)
cursor.execute(query)
mycon.commit()
mycon.close()
elif input2==2:
adno=int(input('Enter Admission No.:'))
fn=input('Enter First name:')
ln=input('Enter Last name:')
fan=input('Enter Father name:')
mn=input('Enter Mother name:')
dob=input('Enter Date of birth:')
ge=input('Enter gender:')
ca=input('Enter Category:')
ph=int(input('Enter Phone No.:'))
em=input('Enter Email:')
add=input('Enter Address:')
cursor=mycon.cursor()
query="INSERT INTO
LKG(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No,Email,
Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan,mn,dob,
ge,ca,ph,em,add)
cursor.execute(query)
mycon.commit()
mycon.close()
elif input2==3:
adno=int(input('Enter Admission No.:'))
fn=input('Enter First name:')
ln=input('Enter Last name:')
fan=input('Enter Father name:')
mn=input('Enter Mother name:')
dob=input('Enter Date of birth:')
ge=input('Enter gender:')
[17]
ca=input('Enter Category:')
ph=int(input('Enter Phone No.:'))
em=input('Enter Email:')
add=input('Enter Address:')
cursor=mycon.cursor()
query="INSERT INTO
UKG(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No,Email,
Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan,mn,dob,
ge,ca,ph,em,add)
cursor.execute(query)
mycon.commit()
mycon.close()
else:
print('Enter correct choice...!!!')
elif input1==3:
print('-------------')
print('CLASSES')
print('-------------')
print('++++++++++++++++')
print('1-Pre-Nursary')
print('2-LKG')
print('3-UKG')
print('++++++++++++++++')
input2=int(input('Enter the Class(1-3):'))
if input2==1:
cursor=mycon.cursor()
a="SELECT * FROM Pre_Nursary"
cursor.execute(a)
data=cursor.fetchall()
for row in data:
print(row)
input3=int(input('Enter Admission No. to be update:'))
print()
print('--------------------------------')
print('FIELDS TO BE UPDATE')
print('--------------------------------')
print('++++++++++++++++')
print('1-First Name')
print('2-Last Name')
print('3-Father Name')
print('4-Mother Name')
[18]
print('5-Category')
print('6-Phone No.')
print('7-Email')
print('8-Address')
print('++++++++++++++++')
input4=int(input('Enter the Fields(1-8)'))
if input4==1:
input5=input('Enter First Name:')
cursor=mycon.cursor()
query="UPDATE Pre_Nursary SET Fname=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==2:
input5=input('Enter Last Name:')
cursor=mycon.cursor()
query="UPDATE Pre_Nursary SET Lname=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==3:
input5=input('Enter Father Name:')
cursor=mycon.cursor()
query="UPDATE Pre_Nursary SET Father_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==4:
input5=input('Enter Mother Name:')
cursor=mycon.cursor()
query="UPDATE CLASS Pre_Nursary Mother_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==5:
input5=input('Enter Category:')
cursor=mycon.cursor()
query ="UPDATE Pre_Nursary SET Category=%s WHERE Adm_No='%d'" %
(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==6:
input5=input('Enter Phone No.:')
[19]
cursor=mycon.cursor()
query ="UPDATE Pre_Nursary SET Ph_No=%d WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==7:
input5=input('Enter Email:')
cursor=mycon.cursor()
query ="UPDATE Pre_Nursary SET Email=%s WHERE Adm_No='%d'" %
(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==8:
input5=input('Enter Address:')
cursor=mycon.cursor()
query ="UPDATE Pre_Nursary SET Address=%s WHERE Adm_No='%d'" %
(input5,input3)
cursor.execute(query)
mycon.commit()
elif input2==2:
cursor=mycon.cursor()
a="SELECT * FROM LKG"
cursor.execute(a)
data=cursor.fetchall()
for row in data:
print(row)
input3=int(input('Enter Admission No. to be update:'))
print()
print('---------------------------------')
print('FIELDS TO BE UPDATE')
print('---------------------------------')
print('++++++++++++++++')
print('1-First Name')
print('2-Last Name')
print('3-Father Name')
print('4-Mother Name')
print('5-Category')
print('6-Phone No.')
print('7-Email')
print('8-Address')
[20]
print('++++++++++++++++')
input4=int(input('Enter the Fields(1-8)'))
if input4==1:
input5=input('Enter First Name:')
cursor=mycon.cursor()
query="UPDATE LKG SET Fname=%s WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==2:
input5=input('Enter Last Name:')
cursor=mycon.cursor()
query="UPDATE LKG SET Lname=%s WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==3:
input5=input('Enter Father Name:')
cursor=mycon.cursor()
query="UPDATE LKG SET Father_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==4:
input5=input('Enter Mother Name:')
cursor=mycon.cursor()
query="UPDATE LKG SET Mother_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==5:
input5=input('Enter Category:')
cursor=mycon.cursor()
query ="UPDATE LKG SET Category=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==6:
input5=input('Enter Phone No.:')
cursor=mycon.cursor()
query ="UPDATE LKG SET Ph_No=%d WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==7:
input5=input('Enter Email:')
[21]
cursor=mycon.cursor()
query ="UPDATE LKG SET Email=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==8:
input5=input('Enter Address:')
cursor=mycon.cursor()
query ="UPDATE LKG SET Address=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
mycon.commit()
elif input2==3:
cursor=mycon.cursor()
a="SELECT * FROM UKG"
cursor.execute(a)
data=cursor.fetchall()
for row in data:
print(row)
input3=int(input('Enter Admission No. to be update:'))
print()
print('---------------------------------')
print('FIELDS TO BE UPDATE')
print('---------------------------------')
print('++++++++++++++++')
print('1-First Name')
print('2-Last Name')
print('3-Father Name')
print('4-Mother Name')
print('5-Category')
print('6-Phone No.')
print('7-Email')
print('8-Address')
print('++++++++++++++++')
input4=int(input('Enter the Fields(1-8)'))
if input4==1:
input5=input('Enter First Name:')
cursor=mycon.cursor()
query="UPDATE UKG SET Fname=%s WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==2:
[22]
input5=input('Enter Last Name:')
cursor=mycon.cursor()
query="UPDATE UKG SET Lname=%s WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==3:
input5=input('Enter Father Name:')
cursor=mycon.cursor()
query="UPDATE UKG SET Father_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==4:
input5=input('Enter Mother Name:')
cursor=mycon.cursor()
query="UPDATE UKG SET Mother_Name=%s WHERE
Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==5:
input5=input('Enter Category:')
cursor=mycon.cursor()
query ="UPDATE UKG SET Category=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==6:
input5=input('Enter Phone No.:')
cursor=mycon.cursor()
query ="UPDATE UKG SET Ph_No=%d WHERE Adm_No='%d'"%(input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==7:
input5=input('Enter Email:')
cursor=mycon.cursor()
query ="UPDATE UKG SET Email=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
mycon.commit()
elif input4==8:
input5=input('Enter Address:')
cursor=mycon.cursor()
query ="UPDATE UKG SET Address=%s WHERE Adm_No='%d'" % (input5,input3)
cursor.execute(query)
[23]
mycon.commit()
else:
print('Enter correct choice...!!!')
elif input1==4:
print('----------')
print('CLASSES')
print('----------')
print('++++++++++++++++')
print('1-Pre-Nursary')
print('2-LKG')
print('3-UKG')
print('++++++++++++++++')
input2=int(input('Enter the Class(1-3):'))
if input2==1:
input3=int(input('Enter Admission No. to be Delete:'))
Ques=input("Are you sure you want to delete the record(y/n) : ")
if Ques=='y' or Ques=='Y':
cursor=mycon.cursor()
query="DELETE FROM Pre_Nursary WHERE Adm_No='%d'"%(input3)
cursor.execute(query)
mycon.commit()
else:
print('Thank you for using.')
mycon.close()
elif input2==2:
input3=int(input('Enter Admission No. to be Delete:'))
Ques=input("Are you sure you want to delete the record(y/n) : ")
if Ques=='y' or Ques=='Y':
cursor=mycon.cursor()
query="DELETE FROM LKG WHERE Adm_No='%d'"%(input3)
cursor.execute(query)
mycon.commit()
else:
print('Thank you for using.')
mycon.close()
elif input2==3:
input3=int(input('Enter Admission No. to be Delete:'))
Ques=input("Are you sure you want to delete the record(y/n) : ")
if Ques=='y' or Ques=='Y':
cursor=mycon.cursor()
[24]
query="DELETE FROM UKG WHERE Adm_No='%d'"%(input3)
cursor.execute(query)
mycon.commit()
else:
print('Thank you for using.')
mycon.close()
else:
print('Enter correct choice...!!!')
else:
print('Enter correct choice...!!!')
References
In order to work on this project titled –Student Details Management System, the following
books and literature are refered by me during the various phases of development of the project.
(1) http://www.mysql.org/
(2) http://www.python.org/
(3) Informatics Practices for class XI
-by Sumita Arora
(4) Informatics Practices for class XII
-by Sumita Arora
(5) Together with Informatics Practices
(6we) Various Websites of Discussion Forum and software development activities.
Other than the above-mentioned books, the suggestions and supervision of my teacher and my
class experience also helped me to develop this software project.

Mais conteúdo relacionado

Mais procurados

Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQLDarshit Vaghasiya
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdfHarshitSachdeva17
 
Computer project final for class 12 Students
Computer project final for class 12 StudentsComputer project final for class 12 Students
Computer project final for class 12 StudentsShahban Ali
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSESylvester Correya
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL Rishabh-Rawat
 
class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)gaurav kumar
 
computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12thNitesh Kushwaha
 
Chemistry class 12th investigatory Project
Chemistry class 12th investigatory ProjectChemistry class 12th investigatory Project
Chemistry class 12th investigatory ProjectSom Verma
 
Informatics Practices Project on Tour and travels
 Informatics Practices Project on Tour and travels  Informatics Practices Project on Tour and travels
Informatics Practices Project on Tour and travels Harsh Mathur
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THSHAJUS5
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Pythonvikram mahendra
 
Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22manyaarora19
 
Ip library management project
Ip library management projectIp library management project
Ip library management projectAmazShopzone
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18HIMANSHU .
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectAbhinav Kumar
 
Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Aman Deep
 
cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project NIKHIL DWIVEDI
 
INT213 Project Report: Income Tax Calculator
INT213 Project Report: Income Tax CalculatorINT213 Project Report: Income Tax Calculator
INT213 Project Report: Income Tax CalculatorQazi Maaz Arshad
 
Computer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementComputer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementRemaDeosiSundi
 

Mais procurados (20)

Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQL
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdf
 
Computer project final for class 12 Students
Computer project final for class 12 StudentsComputer project final for class 12 Students
Computer project final for class 12 Students
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSE
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL
 
class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)class 12 board project on database connectivity (java to SQL)
class 12 board project on database connectivity (java to SQL)
 
computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12th
 
Chemistry class 12th investigatory Project
Chemistry class 12th investigatory ProjectChemistry class 12th investigatory Project
Chemistry class 12th investigatory Project
 
Informatics Practices Project on Tour and travels
 Informatics Practices Project on Tour and travels  Informatics Practices Project on Tour and travels
Informatics Practices Project on Tour and travels
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Python
 
Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22
 
Ip library management project
Ip library management projectIp library management project
Ip library management project
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output)
 
cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project
 
Ip project
Ip projectIp project
Ip project
 
INT213 Project Report: Income Tax Calculator
INT213 Project Report: Income Tax CalculatorINT213 Project Report: Income Tax Calculator
INT213 Project Report: Income Tax Calculator
 
Computer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementComputer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school management
 

Semelhante a Project report

Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...
 Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination... Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...
Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...Sarthak Khabiya
 
College information management system.doc
College information management system.docCollege information management system.doc
College information management system.docKamal Acharya
 
IRJET- Training and Placement Database Management System
IRJET- Training and Placement Database Management SystemIRJET- Training and Placement Database Management System
IRJET- Training and Placement Database Management SystemIRJET Journal
 
Database Engine Control though Web Portal Monitoring Configuration
Database Engine Control though Web Portal Monitoring ConfigurationDatabase Engine Control though Web Portal Monitoring Configuration
Database Engine Control though Web Portal Monitoring ConfigurationIRJET Journal
 
Ignou MCA 6th Semester Synopsis
Ignou MCA 6th Semester SynopsisIgnou MCA 6th Semester Synopsis
Ignou MCA 6th Semester SynopsisHitesh Jangid
 
Vade Meccum_Book reading and publishing software NetBeans.docx
Vade Meccum_Book reading and publishing software NetBeans.docxVade Meccum_Book reading and publishing software NetBeans.docx
Vade Meccum_Book reading and publishing software NetBeans.docxGeetaShreeprabha
 
Issue Management System
Issue Management SystemIssue Management System
Issue Management SystemPratik Vipul
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science ProjectAshwin Francis
 
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptx
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptxSAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptx
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptxJakeariesMacarayo
 
System analysis and design
System analysis and designSystem analysis and design
System analysis and designRobinsonObura
 
OS Password-Manager-Report.docx
OS Password-Manager-Report.docxOS Password-Manager-Report.docx
OS Password-Manager-Report.docxrinim85726
 

Semelhante a Project report (20)

Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...
 Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination... Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...
Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination...
 
IP PROJECT FILE
IP PROJECT FILEIP PROJECT FILE
IP PROJECT FILE
 
Ems
EmsEms
Ems
 
Fulltext01
Fulltext01Fulltext01
Fulltext01
 
College information management system.doc
College information management system.docCollege information management system.doc
College information management system.doc
 
ASSIGNMENT
ASSIGNMENT ASSIGNMENT
ASSIGNMENT
 
IRJET- Training and Placement Database Management System
IRJET- Training and Placement Database Management SystemIRJET- Training and Placement Database Management System
IRJET- Training and Placement Database Management System
 
Database Engine Control though Web Portal Monitoring Configuration
Database Engine Control though Web Portal Monitoring ConfigurationDatabase Engine Control though Web Portal Monitoring Configuration
Database Engine Control though Web Portal Monitoring Configuration
 
Project report
Project report Project report
Project report
 
Brilient login system
Brilient login systemBrilient login system
Brilient login system
 
Ignou MCA 6th Semester Synopsis
Ignou MCA 6th Semester SynopsisIgnou MCA 6th Semester Synopsis
Ignou MCA 6th Semester Synopsis
 
Vade Meccum_Book reading and publishing software NetBeans.docx
Vade Meccum_Book reading and publishing software NetBeans.docxVade Meccum_Book reading and publishing software NetBeans.docx
Vade Meccum_Book reading and publishing software NetBeans.docx
 
A CRUD Matrix
A CRUD MatrixA CRUD Matrix
A CRUD Matrix
 
Issue Management System
Issue Management SystemIssue Management System
Issue Management System
 
Learning%20%20 port
Learning%20%20 portLearning%20%20 port
Learning%20%20 port
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptx
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptxSAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptx
SAD REPORTING GROUP 2BCFGGGGHHHJJJJ.pptx
 
System analysis and design
System analysis and designSystem analysis and design
System analysis and design
 
OS Password-Manager-Report.docx
OS Password-Manager-Report.docxOS Password-Manager-Report.docx
OS Password-Manager-Report.docx
 
Advanced Database System
Advanced Database SystemAdvanced Database System
Advanced Database System
 

Mais de VISHAL VERMA

srml hr hr sec school
srml hr hr sec schoolsrml hr hr sec school
srml hr hr sec schoolVISHAL VERMA
 
The text for the handwritten declaration sbi
The text for the handwritten declaration sbiThe text for the handwritten declaration sbi
The text for the handwritten declaration sbiVISHAL VERMA
 
Oriental academy hr school
Oriental academy hr schoolOriental academy hr school
Oriental academy hr schoolVISHAL VERMA
 
Luthra academy school
Luthra academy schoolLuthra academy school
Luthra academy schoolVISHAL VERMA
 
Cytotoxic reaction
Cytotoxic reactionCytotoxic reaction
Cytotoxic reactionVISHAL VERMA
 
Sugar industry in india
Sugar industry in indiaSugar industry in india
Sugar industry in indiaVISHAL VERMA
 
Met gala 2017 dresses
Met gala 2017 dressesMet gala 2017 dresses
Met gala 2017 dressesVISHAL VERMA
 
Met gala 2017 dresses 3
Met gala 2017 dresses  3Met gala 2017 dresses  3
Met gala 2017 dresses 3VISHAL VERMA
 
Met gala 2017 dresses 2
Met gala 2017 dresses  2Met gala 2017 dresses  2
Met gala 2017 dresses 2VISHAL VERMA
 
Chemistry project food adulteration
Chemistry project food adulterationChemistry project food adulteration
Chemistry project food adulterationVISHAL VERMA
 
Organiztional behaviour
Organiztional behaviourOrganiztional behaviour
Organiztional behaviourVISHAL VERMA
 
Simple chat room using python
Simple chat room using pythonSimple chat room using python
Simple chat room using pythonVISHAL VERMA
 
Electrochemical cell
Electrochemical cellElectrochemical cell
Electrochemical cellVISHAL VERMA
 

Mais de VISHAL VERMA (20)

srml hr hr sec school
srml hr hr sec schoolsrml hr hr sec school
srml hr hr sec school
 
The text for the handwritten declaration sbi
The text for the handwritten declaration sbiThe text for the handwritten declaration sbi
The text for the handwritten declaration sbi
 
Oriental academy hr school
Oriental academy hr schoolOriental academy hr school
Oriental academy hr school
 
Luthra academy school
Luthra academy schoolLuthra academy school
Luthra academy school
 
Cytotoxic reaction
Cytotoxic reactionCytotoxic reaction
Cytotoxic reaction
 
Sugar industry in india
Sugar industry in indiaSugar industry in india
Sugar industry in india
 
Met gala 2017 dresses
Met gala 2017 dressesMet gala 2017 dresses
Met gala 2017 dresses
 
Met gala 2017 dresses 3
Met gala 2017 dresses  3Met gala 2017 dresses  3
Met gala 2017 dresses 3
 
Met gala 2017 dresses 2
Met gala 2017 dresses  2Met gala 2017 dresses  2
Met gala 2017 dresses 2
 
Chemistry project food adulteration
Chemistry project food adulterationChemistry project food adulteration
Chemistry project food adulteration
 
Caffiene
CaffieneCaffiene
Caffiene
 
Mansar lake
Mansar lakeMansar lake
Mansar lake
 
Learning
LearningLearning
Learning
 
Attitude
AttitudeAttitude
Attitude
 
Organiztional behaviour
Organiztional behaviourOrganiztional behaviour
Organiztional behaviour
 
Busniess ethics
Busniess ethicsBusniess ethics
Busniess ethics
 
Simple chat room using python
Simple chat room using pythonSimple chat room using python
Simple chat room using python
 
Shahnaz hussain
Shahnaz  hussainShahnaz  hussain
Shahnaz hussain
 
Electrochemical cell
Electrochemical cellElectrochemical cell
Electrochemical cell
 
Antibiotics
AntibioticsAntibiotics
Antibiotics
 

Último

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Último (20)

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

Project report

  • 1. [1] Kendriya Vidyalaya Bantalab Jammu AProject Report on STUDENT DETAILS MANAGEMENT SYSTEM (SDMS) For AISSCE 2020 Examination [As a part of the Informatics Practices Course (065)] SUBMITTED BY Under the Guidance of:
  • 2. [2] CERTIFICATE This is to certify that the Project / Dissertation entitled STUDENT DETAILS MANAGEMENT SYSTEM is a bonafide work done by of class XII ‘A’ Session 2019-20 in partial fulfillment of CBSE’s AISSCE Examination 2020 and has been carried out under my direct supervision and guidance. This report or a similar report on the topic has not been submitted for any other examination and does not form a part of any other course undergone by the candidate. Signature ofStudent Signature ofTeacher
  • 3. [3] ACKNOWLEDGEMENT Undertook this Project work, as the part of my XII-Informatics Practices course. I had tried to apply my best of knowledge and experience, gained during the study and class work experience. However, developing software system is generallya quite complex and time-consuming process. It requires a systematic study, insight vision and professional approach during the design and development. Moreover, the developer always feels the need, the help and good wishes of the people near you, who have considerable experience and idea. I would like to extend my sincere thanks and gratitude to my teacher Mrs. Kriti Choudhary. I am very much thankful to our Principal Mr. Suraj Prasad for giving valuable time and moral support to develop this software. I would like to take the opportunity to extend my sincere thanks and gratitude to my parents for being a source of inspiration and providing time and freedom to develop this software project. I also feel indebted to my friends for the valuable suggestions during the project work. Manish Raj Class XII ‘A’ I
  • 4. [4] CONTENTS 1. Introduction------------------------------------------------------------------- 5 2. Objective & Scope of the Project------------------------------------- 6 3. Theoretical Background ------------------------------------------------- 7 4. Problem Definition & Analysis--------------------------------------- 11 5. System Implementation------------------------------------------------ 12 5.1 The Hardware used:--------------------------------------------------- 12 5.2 The Softwares used: -------------------------------------------------- 12 6. System Design & Development------------------------------------- 13 6.1 Database Design:------------------------------------------------------ 13 6.2 Python Code------------------------------------------------------------- 14 7. References ----------------------------------------------------------------- 24
  • 5. [5] INTRODUCTION This software project is developed to automate the functionalities of a User Friendly SDMS.The purpose of the software project is to develop a program which provides a friendly interface for the user to explore the information about students of various classes and update the required information of students. This program mainly brings forth the usage of GUI programming in the daily usage over the network. The program when made to work over the network can prove to be an ultimate way of interaction between the user and the management system. A MIS mainly consists of a computerized database, a collection of inter-related tables for a particular subject or purpose, capable to produce different reports relevant to the user. An application program is tied with the database for easy access and interface to the database. Using Application program or front-end, we can store, retrieve and manage all information in proper way. This software, being simple in design and working, does not require much of training to users, and can be used as a powerful tool for the automating the Management sys. During coding and design of the software Project, Java NetBeans IDE, a powerful front- end tool is used for getting Graphical User Interface (GUI) based integrated platform and coding simplicity. As a back-end a powerful, open source RDBMS, My SQL is used as per requirement of the CBSE curriculum of Informatics Practices Course.
  • 6. [6] Objective & Scope of the Project The objective of the software project is to develop a computerized MIS to automate the functions of a Student Details Management System. This software project is also aimed to enhance the current record keeping system, which will help managers to retrieve the up-to- date information at right time in right shape. The proposed software system is expected to do the following functionality-  To provide a user friendly, Graphical User Interface (GUI) based integrated and centralized environment for MIS activities.  The proposed system should maintain all the records and transactions, and should generate the required reports and information when required.  To provide graphical and user-friendly interface to interact with a centralized database based on client-server architecture.  To identify the critical operation procedure and possibilities of simplification using modern IT tools and practices. In its current scope, the software enables user to retrieve and update the information from centralized database designed with MySQL. This software does not require much training time of the users due to limited functionality and simplicity. During the development of Student Details Management System (SDMS) project, Python IDE, a powerful, open source event-driven form-based development environment is used for modular design and future expandability of the system. Despite of the best effort of the developer, the following limitations and functional boundaries are visible, which limits the scope of this application software. 1. This software can store records and produce reports in pre-designed format in soft copy. There is no facility yet to produce customized reports. Only specified reports are covered. 2. There is no provision to calculate fine or penalty etc. for defaulter members; however it can be developed easily with the help of adding modules. 3. Some application areas like to do multiple updation in field is not possible. We need to do one updation at a time. 4. We need to run the program after every time to go though it (one run one go). So far as future scope of the project is concerned, firstly it is open to any modular expansion i.e. other modules or functions can be designed and embedded to handle the user need in future. Any part of the software and reports can be modified independently without much effort.
  • 7. [7] Theoretical Background What is Database? Introduction and Concepts: A database is a collection of information related to a particular subject or purpose, such as tracking customer orders or maintaining a product collection. Using any RDBMS application software like MS SQL Server, MySQL, Oracle, Sybase etc, you can manage all your information from a single database file. Within the file, divide your data into separate storage containers called tables. You may and retrieve the data using queries. A table is a collection of data about a specific topic, such as products or suppliers. Using a separate table for each topic means you can store that data only once, which makes your database more efficient and reduces data-entry errors. Table organises data into columns (called fields) and rows (called records). A Primary key is one or more fields whose value or values uniquely identify each record in a table. In a relationship, a primary key is used to refer to specific record in one table from another table. A primary key is called foreign key when it is referred to from another table. Role of RDBMS Application Program: A computer database works as a electronic filing system, which has a large number of ways of cross-referencing, and this allows the user many different ways in which to re-organize and retrieve data. A database can handle business inventory, accounting and filing and use the information in its files to prepare summaries, estimates and other reports. The management of data in a database system is done by means of a general-purpose software package called a Database Management System (DBMS). Some commercially available DBMS are MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase. A database management system, therefore, is a combination of hardware and software that can be used to set up and monitor a database, and can manage the updating and retrieval of database that has been stored in it. Most of the database management systems have the following capabilities:  Creating of a table, addition, deletion, modification of records.  Retrieving data collectively or selectively.  The data stored can be sorted or indexed at the user's discretion and direction.  Various reports can be produced from the system. These may be either standardized report or that may be specifically generated according to specific user definition.  Mathematical functions can be performed and the data stored in the database can be manipulated with these functions to perform the desired calculations.  To maintain data integrity and database use. The DBMS interprets and processes users' requests to retrieve information from a database. In most cases, a query request will have to penetrate several layers of software in the DBMS and operating system before the physical database can be accessed. The DBMS responds to a query by invoking the appropriate subprograms, each of which performs its special function to
  • 8. [8] interpret the query, or to locate the desired data in the database and present it in the desired order. What is My SQL? The management of data in a database system is done by means of a general-purpose software package called a Database Management System (DBMS). Some commercially available RDBMS are MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase. MySQL, the most popular Open Source SQL database management system, is developed, distributed, and supported by Oracle Corporation. MySQL is named after co-founder Monty Widenius's daughter, My. The name of the MySQL Dolphin (our logo) is “Sakila,”.  MySQL is a database management system. A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. To add, access, and process data stored in a computer database, you need a database management system such as MySQL Server. Since computers are very good at handling large amounts of data, database management systems play a central role in computing, as standalone utilities, or as parts of other applications.  MySQL is based on SQL. A relational database stores data in separate tables rather than putting all the data in one big storeroom. This adds speed and flexibility. The SQL part of “MySQL” stands for “Structured Query Language.” SQL is the most common standardized language used to access databases and is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving since 1986 and several versions exist. In this manual, “SQL-92” refers to the standard released in 1992, “SQL: 1999” refers to the standard released in 1999, and “SQL: 2003” refers to the current version of the standard.  MySQL software is Open Source. Open Source means that it is possible for anyone to use and modify the software. Anybody can download the MySQL software from the Internet and use it without paying anything. If you wish, you may study the source code and change it to suit your needs. The MySQL software uses the GPL (GNU General Public License),  The MySQL Database Server is very fast, reliable, and easy to use. If that is what you are looking for, you should give it a try. MySQL Server also has a practical set of features developed in close cooperation with our users. You can find a performance comparison of MySQL Server with other database managers on our benchmark page. MySQL Server was originally developed to handle large databases much faster than existing solutions and has been successfully used in highly demanding production environments for several years. Although under constant development, MySQL Server today offers a rich and useful set of functions. Its connectivity, speed, and security make MySQL Server highly suited for accessing databases on the Internet.  MySQL Server works in client/server or embedded systems. The MySQL Database Software is a client/server system that consists of a multi-threaded SQL server that supports different backends, several different client programs and libraries, administrative tools, and a wide range of application programming interfaces (APIs).
  • 9. [9] The Main Features of MySQL  Written in C and C++.  Works on many different platforms.  Uses multi-layered server design with independent modules.  Provides transactional and nontransactional storage engines.  Designed to make it relatively easy to add other storage engines. This is useful if you want to provide an SQL interface for an in-house database.  Uses a very fast thread-based memory allocation system.  Executes very fast joins using an optimized nested-loop join.  Implements SQL functions using a highly optimized class library that should be as fast as possible. Usually there is no memory allocation at all after query initialization.  Provides the server as a separate program for use in a client/server networked environment, and as a library that can be embedded (linked) into standalone applications. Such applications can be used in isolation or in environments where no network is available.  Password security by encryption of all password traffic when you connect to a server.  Support for large databases. We use MySQL Server with databases that contain 50 million records. We also know of users who use MySQL Server with 200,000 tables and about 5,000,000,000 rows.  MySQL client programs can be written in many languages. A client library written in C is available for clients written in C or C++, or for any language that provides C bindings.  APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and Tcl are available, enabling MySQL clients to be written in many languages.  The Connector/ODBC (MyODBC) interface provides MySQL support for client programs that use ODBC (Open Database Connectivity) connections.  The Connector/J interface provides MySQL support for Java client programs that use JDBC connections. Clients can be run on Windows or Unix. Connector/J source is available. What is Python? Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Created by Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed. Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the
  • 10. [10] interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective. Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0, released in 2000, introduced features like list comprehensions and a garbage collection system capable of collecting reference cycles. Python 3.0, released in 2008, was a major revision of the language that is not completely backward-compatible, and much Python 2 code does not run unmodified on Python 3. The Python 2 language, i.e. Python 2.7.x, is "sunsetting" on January 1, 2020 (after extension; first planned for 2015), and the Python team of volunteers will not fix security issues, or improve it in other ways after that date. With the end-of-life, only Python 3.5.x and later will be supported. Python interpreters are available for many operating systems. A global community of programmers develops and maintains CPython, an open source reference implementation. A non-profit organization, the Python Software Foundation, manages and directs resources for Python and CPython development.
  • 11. [11] Problem Definition & Analysis The hardest part of building a software system is deciding precisely what to build. No other part of the conceptual work is so difficult as establishing the detailed technical requirement. Defining and applying good, complete requirements are hard to work, and success in this endeavor has eluded many of us. Yet, we continue to make progress. Problem definition describes the what of a system, not How. The quality of a software product is only as good as the process that creates it. Problem definition is one of the most crucial steps in this creation process. Without defining a problem, developers do not know what to build, customers do not know what to expect, and there is no way to validate that the built system satisfies the requirement. Problem definition and Analysis is the activity that encompasses learning about the problem to be solved, understanding the needs of customer and users, trying to find out who the user really is, and understanding all the constraints on the solution. It includes all activities related to the following:  Identification and documentation of customer’s or user’s needs.  Creation of a document that describes the external behavior and the association constraints that will satisfies those needs.  Analysis and validation of the requirements documents to ensure consistency, completeness, and feasibility  Evolution of needs. After the analysis of the functioning of a Clothing Store system, the proposed System is expected to do the following: -  To provide a user friendly, Graphical User Interface (GUI) based integrated and centralized environment for computerized Purchasing of Products.  The proposed system should maintain all the records and transactions, and should generate the required reports and information when required.  To provide efficient and secured Information storage, flow and retrieval system, ensuring the integrity and validity of records.  To provide graphical and user-friendly interface to interact with a centralized database based on client-server architecture.  To identify the critical operation procedure and possibilities of simplification using modern IT tools and practices.
  • 12. [12] System Implementation The Hardwareused: While developing the system, the used hardware are: PC with Intel i3 core processor having 4.00 GB RAM, SVGA and other required devices. The Softwaresused:  Microsoft Windows® 8.1 as Operating System.  Python as Front-end Development environment.  MySQL as Back-end Sever with Database for Testing.  MS-Word 2013 for documentation.
  • 13. [13] System Design & Development DatabaseDesign: An important aspect of system design is the design of data storage structure. To begin with a logical model of data structure is developed first. A database is a container object which contains tables, queries, reports and data validation policies enforcement rules or contraints etc. A logical data often represented as a records are kept in different tables after reducing anomalies and redundancies. The goodness of data base design lies in the table structure and its relationship. This software project maintains a database named School which contains the following tables. Table Design: The database of School contains 3 tables. The tables are normalized to minimize the redundancies of data and enforcing the validation rules of the organization. Most of the tables are designed to store master records. The tables and their structure are given below.
  • 14. [14] Python Code: import mysql.connector as con mycon=con.connect (host='localhost', user='root', passwd='root', database='school') print() print('****************************************************************') print("WELCOME TO STUDENT DETAIL'S MANAGEMENT SYSTEM(SDMS)") print('****************************************************************') print('----------------') print('CONTENTS') print('----------------') print('+++++++++++++++++++++++++++++++++') print("1. To View Student's Details") print("2. To Add a New Student") print("3. To Update Student's Details") print("4. To Delete Student's Details") print('+++++++++++++++++++++++++++++++++') input1=int(input('Enter your choice(1-4):')) if input1==1: print('-------------') print('CLASSES') print('-------------') print('++++++++++++++++') print('1-Pre-Nursary') print('2-LKG') print('3-UKG') print('++++++++++++++++') input2=int(input('Enter the Class(1-3):')) if input2==1: cursor=mycon.cursor() a="SELECT * FROM Pre_Nursary"
  • 15. [15] cursor.execute(a) data=cursor.fetchall() count=cursor.rowcount print('Total number of rows retrieved in resultset:',count) for row in data: print(row) elif input2==2: cursor=mycon.cursor() a="SELECT * FROM LKG" cursor.execute(a) data=cursor.fetchall() count=cursor.rowcount print('Total number of rows retrieved in resultset:',count) for row in data: print(row) elif input2==3: cursor=mycon.cursor() a="SELECT * FROM UKG" cursor.execute(a) data=cursor.fetchall() count=cursor.rowcount print('Total number of rows retrieved in resultset:',count) for row in data: print(row) else: print('Enter correct choice...!!!') elif input1==2: print('-------------') print('CLASSES') print('-------------') print('++++++++++++++++') print('1-Pre-Nursary') print('2-LKG') print('3-UKG') print('++++++++++++++++') input2=int(input('Enter the Class(1-3):')) if input2==1: adno=int(input('Enter Admission No.:')) fn=input('Enter First name:') ln=input('Enter Last name:') fan=input('Enter Father name:')
  • 16. [16] mn=input('Enter Mother name:') dob=input('Enter Date of birth:') ge=input('Enter gender:') ca=input('Enter Category:') ph=int(input('Enter Phone No.:')) em=input('Enter Email:') add=input('Enter Address:') cursor=mycon.cursor() query="INSERT INTO Pre_Nursary(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No ,Email,Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan, mn,dob,ge,ca,ph,em,add) cursor.execute(query) mycon.commit() mycon.close() elif input2==2: adno=int(input('Enter Admission No.:')) fn=input('Enter First name:') ln=input('Enter Last name:') fan=input('Enter Father name:') mn=input('Enter Mother name:') dob=input('Enter Date of birth:') ge=input('Enter gender:') ca=input('Enter Category:') ph=int(input('Enter Phone No.:')) em=input('Enter Email:') add=input('Enter Address:') cursor=mycon.cursor() query="INSERT INTO LKG(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No,Email, Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan,mn,dob, ge,ca,ph,em,add) cursor.execute(query) mycon.commit() mycon.close() elif input2==3: adno=int(input('Enter Admission No.:')) fn=input('Enter First name:') ln=input('Enter Last name:') fan=input('Enter Father name:') mn=input('Enter Mother name:') dob=input('Enter Date of birth:') ge=input('Enter gender:')
  • 17. [17] ca=input('Enter Category:') ph=int(input('Enter Phone No.:')) em=input('Enter Email:') add=input('Enter Address:') cursor=mycon.cursor() query="INSERT INTO UKG(Adm_No,Fname,Lname,Father_name,Mother_name,DoB,Gender,Category,Ph_No,Email, Address)VALUES('%i','%s','%s','%s','%s','%d','%s','%s',%i','%s','%s')"%(adno,fn,ln,fan,mn,dob, ge,ca,ph,em,add) cursor.execute(query) mycon.commit() mycon.close() else: print('Enter correct choice...!!!') elif input1==3: print('-------------') print('CLASSES') print('-------------') print('++++++++++++++++') print('1-Pre-Nursary') print('2-LKG') print('3-UKG') print('++++++++++++++++') input2=int(input('Enter the Class(1-3):')) if input2==1: cursor=mycon.cursor() a="SELECT * FROM Pre_Nursary" cursor.execute(a) data=cursor.fetchall() for row in data: print(row) input3=int(input('Enter Admission No. to be update:')) print() print('--------------------------------') print('FIELDS TO BE UPDATE') print('--------------------------------') print('++++++++++++++++') print('1-First Name') print('2-Last Name') print('3-Father Name') print('4-Mother Name')
  • 18. [18] print('5-Category') print('6-Phone No.') print('7-Email') print('8-Address') print('++++++++++++++++') input4=int(input('Enter the Fields(1-8)')) if input4==1: input5=input('Enter First Name:') cursor=mycon.cursor() query="UPDATE Pre_Nursary SET Fname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==2: input5=input('Enter Last Name:') cursor=mycon.cursor() query="UPDATE Pre_Nursary SET Lname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==3: input5=input('Enter Father Name:') cursor=mycon.cursor() query="UPDATE Pre_Nursary SET Father_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==4: input5=input('Enter Mother Name:') cursor=mycon.cursor() query="UPDATE CLASS Pre_Nursary Mother_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==5: input5=input('Enter Category:') cursor=mycon.cursor() query ="UPDATE Pre_Nursary SET Category=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==6: input5=input('Enter Phone No.:')
  • 19. [19] cursor=mycon.cursor() query ="UPDATE Pre_Nursary SET Ph_No=%d WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==7: input5=input('Enter Email:') cursor=mycon.cursor() query ="UPDATE Pre_Nursary SET Email=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==8: input5=input('Enter Address:') cursor=mycon.cursor() query ="UPDATE Pre_Nursary SET Address=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input2==2: cursor=mycon.cursor() a="SELECT * FROM LKG" cursor.execute(a) data=cursor.fetchall() for row in data: print(row) input3=int(input('Enter Admission No. to be update:')) print() print('---------------------------------') print('FIELDS TO BE UPDATE') print('---------------------------------') print('++++++++++++++++') print('1-First Name') print('2-Last Name') print('3-Father Name') print('4-Mother Name') print('5-Category') print('6-Phone No.') print('7-Email') print('8-Address')
  • 20. [20] print('++++++++++++++++') input4=int(input('Enter the Fields(1-8)')) if input4==1: input5=input('Enter First Name:') cursor=mycon.cursor() query="UPDATE LKG SET Fname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==2: input5=input('Enter Last Name:') cursor=mycon.cursor() query="UPDATE LKG SET Lname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==3: input5=input('Enter Father Name:') cursor=mycon.cursor() query="UPDATE LKG SET Father_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==4: input5=input('Enter Mother Name:') cursor=mycon.cursor() query="UPDATE LKG SET Mother_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==5: input5=input('Enter Category:') cursor=mycon.cursor() query ="UPDATE LKG SET Category=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==6: input5=input('Enter Phone No.:') cursor=mycon.cursor() query ="UPDATE LKG SET Ph_No=%d WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==7: input5=input('Enter Email:')
  • 21. [21] cursor=mycon.cursor() query ="UPDATE LKG SET Email=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==8: input5=input('Enter Address:') cursor=mycon.cursor() query ="UPDATE LKG SET Address=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input2==3: cursor=mycon.cursor() a="SELECT * FROM UKG" cursor.execute(a) data=cursor.fetchall() for row in data: print(row) input3=int(input('Enter Admission No. to be update:')) print() print('---------------------------------') print('FIELDS TO BE UPDATE') print('---------------------------------') print('++++++++++++++++') print('1-First Name') print('2-Last Name') print('3-Father Name') print('4-Mother Name') print('5-Category') print('6-Phone No.') print('7-Email') print('8-Address') print('++++++++++++++++') input4=int(input('Enter the Fields(1-8)')) if input4==1: input5=input('Enter First Name:') cursor=mycon.cursor() query="UPDATE UKG SET Fname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==2:
  • 22. [22] input5=input('Enter Last Name:') cursor=mycon.cursor() query="UPDATE UKG SET Lname=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==3: input5=input('Enter Father Name:') cursor=mycon.cursor() query="UPDATE UKG SET Father_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==4: input5=input('Enter Mother Name:') cursor=mycon.cursor() query="UPDATE UKG SET Mother_Name=%s WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==5: input5=input('Enter Category:') cursor=mycon.cursor() query ="UPDATE UKG SET Category=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==6: input5=input('Enter Phone No.:') cursor=mycon.cursor() query ="UPDATE UKG SET Ph_No=%d WHERE Adm_No='%d'"%(input5,input3) cursor.execute(query) mycon.commit() elif input4==7: input5=input('Enter Email:') cursor=mycon.cursor() query ="UPDATE UKG SET Email=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query) mycon.commit() elif input4==8: input5=input('Enter Address:') cursor=mycon.cursor() query ="UPDATE UKG SET Address=%s WHERE Adm_No='%d'" % (input5,input3) cursor.execute(query)
  • 23. [23] mycon.commit() else: print('Enter correct choice...!!!') elif input1==4: print('----------') print('CLASSES') print('----------') print('++++++++++++++++') print('1-Pre-Nursary') print('2-LKG') print('3-UKG') print('++++++++++++++++') input2=int(input('Enter the Class(1-3):')) if input2==1: input3=int(input('Enter Admission No. to be Delete:')) Ques=input("Are you sure you want to delete the record(y/n) : ") if Ques=='y' or Ques=='Y': cursor=mycon.cursor() query="DELETE FROM Pre_Nursary WHERE Adm_No='%d'"%(input3) cursor.execute(query) mycon.commit() else: print('Thank you for using.') mycon.close() elif input2==2: input3=int(input('Enter Admission No. to be Delete:')) Ques=input("Are you sure you want to delete the record(y/n) : ") if Ques=='y' or Ques=='Y': cursor=mycon.cursor() query="DELETE FROM LKG WHERE Adm_No='%d'"%(input3) cursor.execute(query) mycon.commit() else: print('Thank you for using.') mycon.close() elif input2==3: input3=int(input('Enter Admission No. to be Delete:')) Ques=input("Are you sure you want to delete the record(y/n) : ") if Ques=='y' or Ques=='Y': cursor=mycon.cursor()
  • 24. [24] query="DELETE FROM UKG WHERE Adm_No='%d'"%(input3) cursor.execute(query) mycon.commit() else: print('Thank you for using.') mycon.close() else: print('Enter correct choice...!!!') else: print('Enter correct choice...!!!') References In order to work on this project titled –Student Details Management System, the following books and literature are refered by me during the various phases of development of the project. (1) http://www.mysql.org/ (2) http://www.python.org/ (3) Informatics Practices for class XI -by Sumita Arora (4) Informatics Practices for class XII -by Sumita Arora (5) Together with Informatics Practices (6we) Various Websites of Discussion Forum and software development activities. Other than the above-mentioned books, the suggestions and supervision of my teacher and my class experience also helped me to develop this software project.