Kendriya Vidyalaya, Pitampura
Delhi - 110034
A Project Report
on
CONTACT BOOK MANAGEMENT
For
AISSCE (XII) 2024-25 Examination
[As a part of the Computer Science Subject (083)]
SUBMITTED BY
_________________________
CLASS – XII A ROLL NO.
Under the Guidance of:
VIJAY CHAWLA
PGT (Computer Science)
PREFACE
Project making is an essential part of CBSE
AISSCE (Class XII) Examination. The student
gets a chance to have practice knowledge of
the software exposure as to gain control over
programming languages. The objective of practice
training at school levels is to develop among
the students a feeling of software making in
order to develop a practice bias in them as
supplement on the theoretical study of the
computer application in general.
Such project making plays a dominant role in
developing practical view points, experience
and also make them aware about the role
situation of the software application.
This project is prepared under our knowledge,
guidance given by our teacher and specially thanks
to concerned person, who helped us to get
knowledge about project.
Class
XIIA Session
2024-25
CERTIFICATE
This is to certify that the Project entitled
CONTACT BOOK MANAGEMENT is a bonafide
work done by
of class XII Session 2024-25in partial
fulfillment of CBSE’s AISSCE Examination 2025
and has been carried out under my direct
supervision and guidance.
This 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 of
Teacher/Guide Name:
Vijay Chawla
Designation: PGT
(Comp.Sc.)
ACKNOWLEDGEMENT
I
undertook this Project work, as the part of my AISSCE(XII)-
Computer Science (CS) Subject. I had tried to apply my
best of knowledge and experience, gained during the
study and class work experience.
However, developing software system is generally a 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 Mr. Vijay Chawla, PGT (Computer Science). I am very
much thankful to our worthy Principal Sir Mr. Pawan Kumar for
giving valuable time and moral support to develop this software.
I also would like to take the opportunity to extend my sincere
thanks and gratitude to my parents for being a source of
inspiration and providing resources and freedom to develop this
software project.
Class
XIIA Session
2024-25
INDEX
Sr. Topics Page No.
No.
01 Introduction 6
02 Objective 7
03 System implementation 8
04 Theoretical background 9
05 Source Code 14
06 Output 30
07 Limitations 38
08 References 39
INRODUCTION
The project is based on CONTACT BOOK MANAGEMENT. This project
is developed on python by interfacing it with MySQL. This system can
insert records, update records, delete records and display record.
Name of the Database :
Project Name of the Table :
contact
OBJECTIVE
This project will serve the following objectives:
Add and maintain records of customers.
To search a record using customer number.
To update records of customer.
To delete record of a customer.
To view all customer details.
SYSTEM IMPLEMENTATION
SOFTWARE SPECIFICATION: -
Operating System : Windows 10
Platform : Python IDLE 3.12.6
Database : MySQL SERVER 8.0
Languages : Python
HARDWARE SPECIFICATION: -
Processor : Dual Core and above
Hard Disk : 40 GB
Ram : 1024 MB
Theoretical Background
1. What is Python?
Python is a high-level, interpreted, and general-purpose dynamic
programming language that focuses on code readability. It has fewer
steps when compared to Java and C. It was founded in 1991 by
developer Guido Van Rossum. It is used in many organizations as it
supports multiple programming paradigms. It also performs automatic
memory management. The features of Python are as follow:
a. Presence of third-party modules.
b. Extensive support libraries (NumPy for numerical
calculations, Pandas for data analytics, etc.).
c. Open source and community development.
d. Easy to learn.
e. User-friendly data structures.
f. High-level language.
g. Dynamically typed language (No need to mention data type
based on the value assigned, it takes data type).
h. Object-oriented language.
i. Portable and Interactive.
j. Portable across Operating systems.
Applications:
a. GUI based desktop applications (Games, Scientific Applications).
b. Web frameworks and applications.
c. Enterprise and Business applications.
d. Operating Systems.
e. Language Development.
f. Prototyping.
2. 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 music
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. The table organizes 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 a specific record in one table from another table. A primary
key is called a foreign key when it is referred to from another table.
To find and retrieve just the data that meets conditions you specify,
including data from multiple tables, create a query. A query can also
update or delete multiple records at the same time, and perform built-in
or custom calculations on your data.
Role of RDBMS Application Program:
A computer database works as an 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
using a general-purpose software package called a Database
Management System (DBMS). Some commercially available DBMS
are MS SQL Server, MSACCESS, 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 the database that has been stored in it. Most of the
database management systems have the following capabilities:
a. Creating of a table, addition, deletion, modification of records.
b. Retrieving data collectively or selectively.
c. The data stored can be sorted or indexed at the user’s discretion
and direction.
d. Various reports can be produced from the system. These may be
either standardized reports or that may be specifically generated
according to specific user definition.
e. Mathematical functions can be performed and the data stored in
the database can be manipulated with these functions to perform
the desired calculations.
f. 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 interpret the query or to locate
the desired data in the database and present it in the desired order.
3. What is MySQL?
The management of data in a database system is done through 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, the name of the MySQL Dolphin (our logo) is “Sakila”.
a. MySQL is a Relational 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.
b. 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.
c. MySQL software is Open Source.
Open Source means that anyone can 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),
d.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.
4. What is Python IDLE?
IDLE stands for Integrated Development and Learning Environment.
The story behind the name IDLE is similar to Python. Guido Van
Rossum named Python after the British comedy group Monty Python
while the name IDLE was chosen to pay tribute to Eric Idle, who was
one of Monty Python’s founding members. IDLE comes bundled with
the default implementation of the Python language since the 01.5.2b1
release. It is packaged as an optional part of the Python packaging with
many Linux, Windows, and Mac distributions.
IDLE is a very simple and sophisticated IDE developed primarily for
beginners, and because of its simplicity, it is highly considered and
recommended for educational purposes. It offers a variety of features
that you will look at in detail along with examples later in this tutorial.
Some of the key features it offers are:
a. Python shell with syntax highlighting.
b. A multi-window text editor.
c. Code auto-completion.
d. Intelligent indenting.
e. Program animation and stepping which allows one line of code
to run at a time helpful for debugging.
f. Persistent breakpoints.
g. Finally, Call stack visibility.
SOURCE CODE
OUTPUT
ADD A NEW RECORD
TO SEARCH A NEW RECORD
TO DISPLAY A RECORD
TO UPDATE A RECORD
TO DELETE A RECORD
00000000000000000
s LIMITATIONS s
S 1. Due to failure of electricity, no work can be proceedB S
0 0
2. DoesCan,!a'. anyProperGUI.
0 0
0 0
3.. This proj - t does not contain any d tails of employee"s.
o
0 0
0
4. Can"tWork online
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
00000000000000000
REFERENCES
a. Computer Science for Class-XI by Sumita Arora.
b. Computer Science for Class-XII by Sumita Arora.
c. http://www.mysql.org/
d. http://www.python.org/
e. https://www.geeksforgeeks.org/