0% found this document useful (0 votes)
8 views16 pages

CS Project 8

The document is a project report on an Employee Management Program created by M.S. Lithikesh for the academic year 2024-25 at Sri Chaitanya Technoschool. It outlines the project’s objectives, required hardware and software, and details the implementation using MySQL and Python, including the creation of a database and various functions for managing employee data. The report also includes acknowledgments, a certificate of completion, and references used in the project.

Uploaded by

mslithikesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views16 pages

CS Project 8

The document is a project report on an Employee Management Program created by M.S. Lithikesh for the academic year 2024-25 at Sri Chaitanya Technoschool. It outlines the project’s objectives, required hardware and software, and details the implementation using MySQL and Python, including the creation of a database and various functions for managing employee data. The report also includes acknowledgments, a certificate of completion, and references used in the project.

Uploaded by

mslithikesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

SRI CHAITANYA TECHNOSCHOOL,

IYYAPPANTHANGAL

ACADEMIC YEAR: 2024-25

PROJECT REPORT ON
EMPLOYEE MANAGEMENT PROGRAM

ROLL NO:
NAME:M.S.LITHIKESH
CLASS: XII
SUBJECT: COMPUTER SCIENCE
SUB CODE: 083

PROJECT GUIDE: MRS. M.Sashi Kala


PGT(Computer Science )
SRI CHAITANYA TECHNO SCHOOL IYYAPPANTHANGAL

CERTIFICATE

This is to certify that Cadet M.S.LITHIKESH Roll No:

has successfully completed the project Work on EMPLOYEE MANAGEMENT

in the subject COMPUTER SCIENCE (083) laid down in the regulations

of CBSE for the purpose of Practical Examination in Class XII to be held in Sri

Chaitanya Techno School IYYAPPANTHANGAL on .

DATE:

PRINCIPAL

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT

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

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

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


carrying out this project.

I gratefully acknowledge the contribution of the individuals who contributed in


bringing this project up to this level, who continues to look after me despite my flaws,

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

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

The guidance and support received from all the members who contributed and
who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and he
S.NO TOPIC PAGE NO

1 CERTIFICATE 2

2 ACKNOWLEDGEMENT 3

3 HARDWARE AND SOFTWARE REQ 4

4 INTRODUCTION 5

5 MySQL Database 6

6 PYTHON SOURCE CODE 8

7 Outputs 15

8 REFERENCES 16
HARDWARE AND SOFTWARE REQUIRED:

HARDWARE:

PC OR LAPTOP
INTERNET CONNECTION

SOFTWARE:

1) Python IDLE

2) MYSQL COMMANDLINE CLIENT


INTRODUCTION

WHAT IS THE USE OF THIS PROJECT?

The following project which we are going to undertake can help us


manage our employees. The information which we are going to
collect include NAME, EMPLOYEE ID, POST and SALARY. By the
following data we can know weither a person is really and
employee and if so, which post are they working in. We can also
add new employees or delete the previous one’s using simple
python programming.

WHAT SOFTWARES ARE REQUIRED?

We would require only 2 software’s to complete this project.

1) PYTHON

2) MYSQL
MYSQL DATABASE

CREATING A DATABASE:

Here we have created a database called EmployeeManager and we


are going to create our table in this database. Hence to access this
database we have use the USE command.

CREATING A TABLE:

Now we have created a table called Employee in the database


which we had created before. The table includes Employee ID,
FULLNAME, DEPARTMENT and SALARY.

For verification of our table, that is, to check if it is created in a


proper manner or not, we much use the “desc”command in the
mysql command line client.
VERIFICATION OF TABLE:

As we can see, the table which we created has been created in a


proper manner. It can now be use for our project.

We will now use python to add the


EMPLOYEE ID, NAME, DEPARMENT AND
SALARY.
PYTHON SOURCE CODE

INSTALLING MYSQL CONNECTOR FOR PYTHON:

As the first step, we have to install the MYSQL connector for


python. To do this, Open command prompt and type
“pip install mysql-connector-python” and press enter.

IMPORTING MYSQL CONNECTOR TO PYTHON:

Here we have imported the mysql connector to python and we


have verified weither the connection is established or not.
DEFINING FUNCTIONS:

Here we have created four functions called insert, update, select,


and delete. These functions will help the user to perform the
specific tasks such as inserting new data, updating existing data,
selecting the whole data, and also deleting data. We are going to
run these functions in a while loop so that the user can perform
multiple tasks without closing the program.

Now let us define when the specific function must be called.


Here we have defined when a particular function must be called.
Now, we must write the program for what the function must do
when it is called.
SELECT FUNCTION:

We have now defined what the select function must execute when
it is called. Here, we have programmed the select function to fetch
all of the data that has been recorded in the table.

To continue with the project, we must install another library in


python called “Tabulate”

We can install it by the command “pip install tabulate”. Then use


import tabulate statement in python.

Tabulate is used to display the output of our select command in a


proper tabular form. This helps us to understand the table easily

Now that tabulate is successfully installed, let us continue with the


project.
INSTERT FUNCTION:

We have now defined what the insert function must execute when
called.

UPDATE FUNCTION:
DELETE FUNCTION:

NOW THAT ALL THE FUNCTIONS ARE DEFINED. LET US


SEE THE OUTPUT OF OUR PROGRAM!
OUTPUT:

Our program is running successfully without any errors!

The insert command is also working properly!


REFERENCES:

WWW.PYTHON.ORG

WWW.YOUTUBE.COM

WWW.GITHUB.COM

You might also like