SlideShare a Scribd company logo
EMPLOYEE
MANAGEMENT
Submitted by
1. Piyush Kumar
2. Aditya Kumar
3. Dipesh Kr. Yadav
Under the Guidance of
Mr. Deepak Kr. Meena
PGT (Computer
Science)
COMPUTER SCIENCE PROJECT
SHAHEED HEMU KALANI GSBV
LAJPAT NAGAR
SHAHEED HEMU KALANI
GOVT. SARVODAYA BAAL VIDAYALAYA
CERTIFICATE
__________________
Teacher Incharge
__________________ __________________
Examiner Principal
This is to certify that Piyush Kumar of class 12th A Board Roll No.
14756418, has completed the investigatory project on the topic
Employee Management under the guidance of Mr. Deepak Kumar
Meena (PGT, Computer Science) during the academic year 2022-23
in the partial fulfilment of Practical Examination conducted by
CBSE.
[1]
TABLE OF CONTENTS
S.No DESCRIPTION PAGE
01 Acknowledgement 2
02 Introduction 3
03 Objectives of the Project 3
04 Proposed systems 4
05 Files Imported in project 5
06 Functions Used In Project 5
07 Flowchart 6
08 Source Code 7
09 Output Screenshots 11
10 Testing 13
11 Limitation And Enhancement 15
12 Hardware & Software Requirements 15
13 Bibliography 16
[2]
ACKNOWLEDGEMENT
I would like to express a deep sense of thanks and gratitude to my
project guide Mr. Deepak kr. Meena Sir for guiding us immensely
through the course of the project. He always evinced keen
interest in our work. His constructive advice and constant
motivation have been responsible for the successful completion
of this project.
My sincere thanks goes to NK sharma sir, our principal, for his
coordination in extending every possible support for completion
of this project.
I also thanks to my parents for their motivation and support. I
must thanks to my classmate for their timely help and support for
completion of this project.
Last but not the least, I would like to those who had helped
directly or Indirectly towards the completion of this project.
Piyush Kumar
Aditya Kumar
Dipesh Kr. Yadav
[3]
INTRODUCTION
The project is designed to keep records of Employee in specific
department and post who are working in these companies. A table named
empdata in MYSQL5.0 to store information about employee Name,
Contact, Address, Post, Salary with Employee ID.
Administrator of the project can enter new record, Display all or specific
passenger record; he can modify and delete records in any table.
OBJECTIVES OF THE PROJECT
The main objective of this project is to learn the application of the
programming knowledge into a real- world situation/problem and
exposed the ourselve how programming skills helps in developing a
good software.
1. Write programs utilizing modern software tools.
2. Apply object oriented programming principles effectively when
developing small to medium sized projects.
3. Write effective procedural code to solve small to medium sized
problems.
4. To make file handling easy by using programs
[4]
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human beings of be really
wants to stand against today’s merciless competition where not to wise
saying “to err is human” no longer valid, it’s out-dated to rationalize
your mistake. So, to keep pace with time, to bring about the best result
without malfunctioning and greater efficiency so to replace the
unending heaps of flies with a much sophisticated hard disk of the
computer.
One has to use the data management software. Software has been an
ascent in atomizationvarious organisations. Many software products
working are now in markets, which have helped in making the
organizations work easier and efficiently. Data management initially
hadto maintain a lot of ledgers and a lot of paperwork has to be done
but now software producton this organization has made their work
faster and easier. Now only this software has to beloaded on the
computer and work can be done.
This prevents a lot of time and money. Thework becomes fully
automated and any information regarding the organization can
beobtained by clicking the button. Moreover, nowit’s an age of
computers of and automatingsuch an organization gives the better look.
[5]
Files Imported in Project
1. Import MYSQL for Database connectivity
Functions used in project
1. Connect()- For Database and tables creation
2. Cursor()- To execute MySQL queries
3. Fetchall()- To fetch data from all attributes
4. Commit()- To execute (commit) current code or section
5. Fetchone()- To fetch data from attributes according to query conditions
[6]
FLOWCHART
[7]
Source Code
from os import system
import mysql.connector
con = mysql.connector.connect(host="localhost", user="root",
password="Piyush@2005", database="employee")
# Function to Add_Employ
def Add_Employ():
print("{:>60}".format("-->>Add Employee Record<<--"))
Id = input("Enter Employee Id: ")
# checking If Employee Id is Exit Or Not
if (check_employee(Id) == True):
print("Employee ID Already ExistsnTry Again..")
press = input("Press Any Key To Continue..")
Add_Employ()
Name = input("Enter Employee Name: ")
# checking If Employee Name is Exit Or Not
if (check_employee_name(Name) == True):
print("Employee Name Already ExistsnTry Again..")
press = input("Press Any Key To Continue..")
Add_Employ
Phone_no = input("Enter Employee Phone No.: ")
Address = input("Enter Employee Address: ")
Post = input("Enter Employee Post: ")
Salary = input("Enter Employee Salary: ")
data = (Id, Name, Phone_no, Address, Post, Salary)
# Instering Employee Details in the Employee (empdata) Table
sql = 'insert into empdata values(%s,%s,%s,%s,%s,%s)'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Successfully Added Employee Record")
press = input("Press Any Key To Continue..")
menu()
# Function To Check if Employee With given Name Exist or not
def check_employee_name(employee_name):
sql = 'select * from empdata where Name=%s'
c = con.cursor(buffered=True)
data = (employee_name,)
c.execute(sql, data)
r = c.rowcount
if r == 1:
return True
else:
return False
[8]
# Function To Check if Employee With
def check_employee(employee_id):
sql = 'select * from empdata where Id=%s'
c = con.cursor(buffered=True)
data = (employee_id,)
c.execute(sql, data)
r = c.rowcount
if r == 1:
return True
else:
return False
# Function to Display_Employ
def Display_Employ():
print("{:>60}".format("-->> Display Employee Record <<--"))
# query to select all rows from Employee (empdata) Table
sql = 'select * from empdata'
c = con.cursor()
c.execute(sql)
# Fetching all details of all the Employees
r = c.fetchall()
for i in r:
print("Employee Id: ", i[0])
print("Employee Name: ", i[1])
print("Employee Phone No.: ", i[2])
print("Employee Address: ", i[3])
print("Employee Post: ", i[4])
print("Employee Salary: ", i[5])
print("n")
press = input("Press Any key To Continue..")
menu()
# Function to Update_Employ
def Update_Employ():
print("{:>60}".format("-->> Update Employee Record <<--n"))
Id = input("Enter Employee Id: ")
# checking If Employee Id is Exit Or Not
if(check_employee(Id) == False):
print("Employee Record Not existsnTry Again")
press = input("Press Any Key To Continue..")
menu()
else:
Phone_no = input("Enter Employee Phone No.: ")
Address = input("Enter Employee Address: ")
# Updating Employee details in empdata Table
sql = 'UPDATE empdata set Email_Id = %s, Phone_no = %s, Address = %s
where Id = %s'
[9]
data = (Phone_no, Address, Id)
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Updated Employee Record")
press = input("Press Any Key To Continue..")
menu()
# Function to Remove_Employ
def Remove_Employ():
print("{:>60}".format("-->> Remove Employee Record <<--n"))
Id = input("Enter Employee Id: ")
# checking If Employee Id is Exit Or Not
if(check_employee(Id) == False):
print("Employee Record Not existsnTry Again")
press = input("Press Any Key To Continue..")
menu()
else:
#query to delete Employee from empdata table
sql = 'delete from empdata where Id = %s'
data = (Id,)
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Employee Removed")
press = input("Press Any key To Continue..")
menu()
# Function to Search_Employ
def Search_Employ():
print("{:>60}".format("-->> Search Employee Record <<--n"))
Id = input("Enter Employee Id: ")
# checking If Employee Id is Exit Or Not
if(check_employee(Id) == False):
print("Employee Record Not existsnTry Again")
press = input("Press Any Key To Continue..")
menu()
else:
#query to search Employee from empdata table
sql = 'select * from empdata where Id = %s'
data = (Id,)
c = con.cursor()
c.execute(sql, data)
#fetching all details of all the employee
r = c.fetchall()
for i in r:
print("Employee Id: ", i[0])
print("Employee Name: ", i[1])
[10]
print("Employee Phone No.: ", i[2])
print("Employee Address: ", i[3])
print("Employee Post: ", i[4])
print("Employee Salary: ", i[5])
print("n")
press = input("Press Any key To Continue..")
menu()
# Menu function to display menu
def menu():
system("cls")
print("{:>60}".format("************************************"))
print("{:>60}".format("-->> Employee Management System <<--"))
print("{:>60}".format("************************************"))
print("1. Add Employee")
print("2. Display Employee Record")
print("3. Update Employee Record")
print("4. Remove Employee Record")
print("5. Search Employee Record")
print("0. Exitn")
print("{:>60}".format("-->> Choice Options: [1/2/3/4/5/0] <<--"))
ch = int(input("Enter your Choice: "))
if ch == 1:
system("cls")
Add_Employ()
elif ch == 2:
system("cls")
Display_Employ()
elif ch == 3:
system("cls")
Update_Employ()
elif ch == 4:
system("cls")
Remove_Employ()
elif ch == 5:
system("cls")
Search_Employ()
elif ch == 0:
system("cls")
print("{:>60}".format("Have A NIce Day :)"))
exit(0)
else:
print("Invalid Choice!")
press = input("Press Any key To Continue..")
menu()
menu()
[11]
Output Screenshots
[12]
[13]
TESTING
Software Testing is an empirical investigation conducted to provide
stakeholders with information about the quality of the product or
service under test[1] , with respect to the context in which it is intended
to operate. Software Testing also provides an objective, independent
view of the software to allow the business to appreciate and understand
the risks at implementation of the software. Test techniques include, but
are not limited to, the process of executing a program or application
with the intent of finding software bugs.
It can also be stated as the process of validating and verifying that a
software program/application/product meets the business and
technical requirements that guided its design and development, so that
it works as expected and can be implemented with the same
characteristics. Software Testing, depending on the testing method
employed, can be implemented at any time in the development process,
however the most test effort is employed after the requirements have
been defined and coding process has been completed.
TESTING METHODS
Software testing methods are traditionally divided into black box
testing and white box testing. These two approaches are used to describe
the point of view that a test engineer takes when designing test cases.
BLACK BOX TESTING
Black box testing treats the software as a "black box," without any
knowledge of internal implementation. Black box testing methods
include: equivalence partitioning, boundary value analysis, all-pairs
testing, fuzz testing, model-based testing, traceability matrix,
exploratory testing and specification-based testing.
SPECIFICATION-BASED TESTING
Specification-based testing aims to test the functionality of software
according to the applicable requirements.[16] Thus, the tester inputs
data into, and only sees the output from, the test object. This level of
[14]
testing usually requires thorough test cases to be provided to the tester,
who then can simply verify that for a given input, the output value (or
behaviour), either "is" or "is not" the same as the expected value
specified in the test case. Specification-based testing is necessary, but it is
insufficient to guard against certain risks.
ADVANTAGES AND DISADVANTAGES
The black box tester has no "bonds" with the code, and a tester's
perception is very simple: a code must have bugs. Using the principle,
"Ask and you shall receive," black box testers find bugs where
programmers don't. But, on the other hand, black box testing has been
said to be "like a walk in a dark labyrinth without a flashlight," because
the tester doesn't know how the software being tested was actually
constructed.
That's why there are situations when (1) a black box tester writes many
test cases to check something that can be tested by only one test case,
and/or (2) some parts of the back end are not tested at all. Therefore,
black box testing has the advantage of "an unaffiliated opinion," on the
one hand, and the disadvantage of "blind exploring," on the other.
WHITE BOX TESTING
White box testing, by contrast to black box testing, is when the tester has
access to the internal data structures and algorithms (and the code that
implement these)
Types of white box testing:-
api testing - Testing of the application using Public and Private
APIs.
Code coverage - creating tests to satisfy some criteria of code
coverage.
[15]
Limitation and Enhancement
Limitations:
1. Printing facility is not available.
Enhancement:
1. Printing facility code can be generated.
HARDWARE AND SOFTWARE REQUIREMENTS
I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE
II. PROCESSOR : PENTIUM(ANY) OR AMD
ATHALON(3800+- 4200+ DUALCORE)
III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI
K9MM-V VIAK8M800+8237R PLUS
CHIPSET FOR AMD ATHALON
IV. RAM : 512MB+
V. Hard disk : SATA 40 GB OR ABOVE
[16]
BIBLIOGRAPHY
1. www.google.com
2. www.slideshare.com
3. Textbook of Computer Science for XII written by Sumit AroraD

More Related Content

What's hot

computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12th
Nitesh Kushwaha
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12
OmRanjan2
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12
RithuJ
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billing
anshi acharya
 
Amount of casein in milk
Amount of casein in milkAmount of casein in milk
Amount of casein in milk
dinesh pol
 
Chemistry project on casein in mik
Chemistry project on casein in mikChemistry project on casein in mik
Chemistry project on casein in mik
Virat Prasad
 
Chemistry project part 1 caseins in milk......
Chemistry project part 1 caseins in milk......Chemistry project part 1 caseins in milk......
Chemistry project part 1 caseins in milk......
AnuragSharma530
 
Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQL
Darshit Vaghasiya
 
Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)
KushShah65
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
HIMANSHU .
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
SHAJUS5
 
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILECOMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
Anushka Rai
 
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
RemaDeosiSundi
 
cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project
NIKHIL DWIVEDI
 
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
ArkaSarkar23
 
IP PROJECT FILE
IP PROJECT FILEIP PROJECT FILE
IP PROJECT FILE
Shubham5Oct
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
Ashwin Francis
 
Ip project
Ip projectIp project
Ip project
Jasmeet Singh
 
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILKTO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
AnkitSharma1903
 
Chemistry investigatory project
Chemistry investigatory projectChemistry investigatory project
Chemistry investigatory project
Abhinav Kumar
 

What's hot (20)

computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12th
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billing
 
Amount of casein in milk
Amount of casein in milkAmount of casein in milk
Amount of casein in milk
 
Chemistry project on casein in mik
Chemistry project on casein in mikChemistry project on casein in mik
Chemistry project on casein in mik
 
Chemistry project part 1 caseins in milk......
Chemistry project part 1 caseins in milk......Chemistry project part 1 caseins in milk......
Chemistry project part 1 caseins in milk......
 
Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQL
 
Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
 
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILECOMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
 
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
 
cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project cbse 12th chemistry investigatory project
cbse 12th chemistry investigatory project
 
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
 
IP PROJECT FILE
IP PROJECT FILEIP PROJECT FILE
IP PROJECT FILE
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
Ip project
Ip projectIp project
Ip project
 
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILKTO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
 
Chemistry investigatory project
Chemistry investigatory projectChemistry investigatory project
Chemistry investigatory project
 

Similar to Employee Management (CS Project for 12th CBSE)

Employee management system report
Employee management system reportEmployee management system report
Employee management system report
Prince Singh
 
Database By Salman Mushtaq
Database By Salman MushtaqDatabase By Salman Mushtaq
Database By Salman Mushtaq
Salman Mushtaq
 
Protractor framework – how to make stable e2e tests for Angular applications
Protractor framework – how to make stable e2e tests for Angular applicationsProtractor framework – how to make stable e2e tests for Angular applications
Protractor framework – how to make stable e2e tests for Angular applications
Ludmila Nesvitiy
 
Databases with SQLite3.pdf
Databases with SQLite3.pdfDatabases with SQLite3.pdf
PyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management toolPyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management tool
Crea Very
 
>>>>>>>
>>>>>>>>>>>>>>
Form demoinplaywithmysql
Form demoinplaywithmysqlForm demoinplaywithmysql
Form demoinplaywithmysql
Knoldus Inc.
 
Vedika C project.docx
Vedika C project.docxVedika C project.docx
Vedika C project.docx
HarshKewat1
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, How
Karen Morton
 
PROJECT REPORT
PROJECT REPORTPROJECT REPORT
PROJECT REPORT
Suraj Jaiswal
 
Classes(or Libraries)#include #include #include #include.docx
Classes(or Libraries)#include #include #include #include.docxClasses(or Libraries)#include #include #include #include.docx
Classes(or Libraries)#include #include #include #include.docx
brownliecarmella
 
Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...
Miguel González-Fierro
 
Having issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdfHaving issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdf
rajkumarm401
 
Table of contents
Table of contentsTable of contents
Table of contents
kamal kumar
 
Evolutionary db development
Evolutionary db development Evolutionary db development
Evolutionary db development
Open Party
 
vertopal.com_DataEncodingForDataClustering-5 (1).pdf
vertopal.com_DataEncodingForDataClustering-5 (1).pdfvertopal.com_DataEncodingForDataClustering-5 (1).pdf
vertopal.com_DataEncodingForDataClustering-5 (1).pdf
zraibianour
 
AzureMLDeployment.ppt
AzureMLDeployment.pptAzureMLDeployment.ppt
AzureMLDeployment.ppt
Siddharth Vij
 
12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf
ansh552818
 
12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf
rajputaman7777777
 
ANGULARJS.pdf
ANGULARJS.pdfANGULARJS.pdf
ANGULARJS.pdf
ArthyR3
 

Similar to Employee Management (CS Project for 12th CBSE) (20)

Employee management system report
Employee management system reportEmployee management system report
Employee management system report
 
Database By Salman Mushtaq
Database By Salman MushtaqDatabase By Salman Mushtaq
Database By Salman Mushtaq
 
Protractor framework – how to make stable e2e tests for Angular applications
Protractor framework – how to make stable e2e tests for Angular applicationsProtractor framework – how to make stable e2e tests for Angular applications
Protractor framework – how to make stable e2e tests for Angular applications
 
Databases with SQLite3.pdf
Databases with SQLite3.pdfDatabases with SQLite3.pdf
Databases with SQLite3.pdf
 
PyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management toolPyCon SG x Jublia - Building a simple-to-use Database Management tool
PyCon SG x Jublia - Building a simple-to-use Database Management tool
 
>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>
 
Form demoinplaywithmysql
Form demoinplaywithmysqlForm demoinplaywithmysql
Form demoinplaywithmysql
 
Vedika C project.docx
Vedika C project.docxVedika C project.docx
Vedika C project.docx
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, How
 
PROJECT REPORT
PROJECT REPORTPROJECT REPORT
PROJECT REPORT
 
Classes(or Libraries)#include #include #include #include.docx
Classes(or Libraries)#include #include #include #include.docxClasses(or Libraries)#include #include #include #include.docx
Classes(or Libraries)#include #include #include #include.docx
 
Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...
 
Having issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdfHaving issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdf
 
Table of contents
Table of contentsTable of contents
Table of contents
 
Evolutionary db development
Evolutionary db development Evolutionary db development
Evolutionary db development
 
vertopal.com_DataEncodingForDataClustering-5 (1).pdf
vertopal.com_DataEncodingForDataClustering-5 (1).pdfvertopal.com_DataEncodingForDataClustering-5 (1).pdf
vertopal.com_DataEncodingForDataClustering-5 (1).pdf
 
AzureMLDeployment.ppt
AzureMLDeployment.pptAzureMLDeployment.ppt
AzureMLDeployment.ppt
 
12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf
 
12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf12th-computer-science-practical-study-material-english-medium.pdf
12th-computer-science-practical-study-material-english-medium.pdf
 
ANGULARJS.pdf
ANGULARJS.pdfANGULARJS.pdf
ANGULARJS.pdf
 

Recently uploaded

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 

Recently uploaded (20)

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 

Employee Management (CS Project for 12th CBSE)

  • 1. EMPLOYEE MANAGEMENT Submitted by 1. Piyush Kumar 2. Aditya Kumar 3. Dipesh Kr. Yadav Under the Guidance of Mr. Deepak Kr. Meena PGT (Computer Science) COMPUTER SCIENCE PROJECT SHAHEED HEMU KALANI GSBV LAJPAT NAGAR
  • 2. SHAHEED HEMU KALANI GOVT. SARVODAYA BAAL VIDAYALAYA CERTIFICATE __________________ Teacher Incharge __________________ __________________ Examiner Principal This is to certify that Piyush Kumar of class 12th A Board Roll No. 14756418, has completed the investigatory project on the topic Employee Management under the guidance of Mr. Deepak Kumar Meena (PGT, Computer Science) during the academic year 2022-23 in the partial fulfilment of Practical Examination conducted by CBSE.
  • 3. [1] TABLE OF CONTENTS S.No DESCRIPTION PAGE 01 Acknowledgement 2 02 Introduction 3 03 Objectives of the Project 3 04 Proposed systems 4 05 Files Imported in project 5 06 Functions Used In Project 5 07 Flowchart 6 08 Source Code 7 09 Output Screenshots 11 10 Testing 13 11 Limitation And Enhancement 15 12 Hardware & Software Requirements 15 13 Bibliography 16
  • 4. [2] ACKNOWLEDGEMENT I would like to express a deep sense of thanks and gratitude to my project guide Mr. Deepak kr. Meena Sir for guiding us immensely through the course of the project. He always evinced keen interest in our work. His constructive advice and constant motivation have been responsible for the successful completion of this project. My sincere thanks goes to NK sharma sir, our principal, for his coordination in extending every possible support for completion of this project. I also thanks to my parents for their motivation and support. I must thanks to my classmate for their timely help and support for completion of this project. Last but not the least, I would like to those who had helped directly or Indirectly towards the completion of this project. Piyush Kumar Aditya Kumar Dipesh Kr. Yadav
  • 5. [3] INTRODUCTION The project is designed to keep records of Employee in specific department and post who are working in these companies. A table named empdata in MYSQL5.0 to store information about employee Name, Contact, Address, Post, Salary with Employee ID. Administrator of the project can enter new record, Display all or specific passenger record; he can modify and delete records in any table. OBJECTIVES OF THE PROJECT The main objective of this project is to learn the application of the programming knowledge into a real- world situation/problem and exposed the ourselve how programming skills helps in developing a good software. 1. Write programs utilizing modern software tools. 2. Apply object oriented programming principles effectively when developing small to medium sized projects. 3. Write effective procedural code to solve small to medium sized problems. 4. To make file handling easy by using programs
  • 6. [4] PROPOSED SYSTEM Today one cannot afford to rely on the fallible human beings of be really wants to stand against today’s merciless competition where not to wise saying “to err is human” no longer valid, it’s out-dated to rationalize your mistake. So, to keep pace with time, to bring about the best result without malfunctioning and greater efficiency so to replace the unending heaps of flies with a much sophisticated hard disk of the computer. One has to use the data management software. Software has been an ascent in atomizationvarious organisations. Many software products working are now in markets, which have helped in making the organizations work easier and efficiently. Data management initially hadto maintain a lot of ledgers and a lot of paperwork has to be done but now software producton this organization has made their work faster and easier. Now only this software has to beloaded on the computer and work can be done. This prevents a lot of time and money. Thework becomes fully automated and any information regarding the organization can beobtained by clicking the button. Moreover, nowit’s an age of computers of and automatingsuch an organization gives the better look.
  • 7. [5] Files Imported in Project 1. Import MYSQL for Database connectivity Functions used in project 1. Connect()- For Database and tables creation 2. Cursor()- To execute MySQL queries 3. Fetchall()- To fetch data from all attributes 4. Commit()- To execute (commit) current code or section 5. Fetchone()- To fetch data from attributes according to query conditions
  • 9. [7] Source Code from os import system import mysql.connector con = mysql.connector.connect(host="localhost", user="root", password="Piyush@2005", database="employee") # Function to Add_Employ def Add_Employ(): print("{:>60}".format("-->>Add Employee Record<<--")) Id = input("Enter Employee Id: ") # checking If Employee Id is Exit Or Not if (check_employee(Id) == True): print("Employee ID Already ExistsnTry Again..") press = input("Press Any Key To Continue..") Add_Employ() Name = input("Enter Employee Name: ") # checking If Employee Name is Exit Or Not if (check_employee_name(Name) == True): print("Employee Name Already ExistsnTry Again..") press = input("Press Any Key To Continue..") Add_Employ Phone_no = input("Enter Employee Phone No.: ") Address = input("Enter Employee Address: ") Post = input("Enter Employee Post: ") Salary = input("Enter Employee Salary: ") data = (Id, Name, Phone_no, Address, Post, Salary) # Instering Employee Details in the Employee (empdata) Table sql = 'insert into empdata values(%s,%s,%s,%s,%s,%s)' c = con.cursor() c.execute(sql, data) con.commit() print("Successfully Added Employee Record") press = input("Press Any Key To Continue..") menu() # Function To Check if Employee With given Name Exist or not def check_employee_name(employee_name): sql = 'select * from empdata where Name=%s' c = con.cursor(buffered=True) data = (employee_name,) c.execute(sql, data) r = c.rowcount if r == 1: return True else: return False
  • 10. [8] # Function To Check if Employee With def check_employee(employee_id): sql = 'select * from empdata where Id=%s' c = con.cursor(buffered=True) data = (employee_id,) c.execute(sql, data) r = c.rowcount if r == 1: return True else: return False # Function to Display_Employ def Display_Employ(): print("{:>60}".format("-->> Display Employee Record <<--")) # query to select all rows from Employee (empdata) Table sql = 'select * from empdata' c = con.cursor() c.execute(sql) # Fetching all details of all the Employees r = c.fetchall() for i in r: print("Employee Id: ", i[0]) print("Employee Name: ", i[1]) print("Employee Phone No.: ", i[2]) print("Employee Address: ", i[3]) print("Employee Post: ", i[4]) print("Employee Salary: ", i[5]) print("n") press = input("Press Any key To Continue..") menu() # Function to Update_Employ def Update_Employ(): print("{:>60}".format("-->> Update Employee Record <<--n")) Id = input("Enter Employee Id: ") # checking If Employee Id is Exit Or Not if(check_employee(Id) == False): print("Employee Record Not existsnTry Again") press = input("Press Any Key To Continue..") menu() else: Phone_no = input("Enter Employee Phone No.: ") Address = input("Enter Employee Address: ") # Updating Employee details in empdata Table sql = 'UPDATE empdata set Email_Id = %s, Phone_no = %s, Address = %s where Id = %s'
  • 11. [9] data = (Phone_no, Address, Id) c = con.cursor() c.execute(sql, data) con.commit() print("Updated Employee Record") press = input("Press Any Key To Continue..") menu() # Function to Remove_Employ def Remove_Employ(): print("{:>60}".format("-->> Remove Employee Record <<--n")) Id = input("Enter Employee Id: ") # checking If Employee Id is Exit Or Not if(check_employee(Id) == False): print("Employee Record Not existsnTry Again") press = input("Press Any Key To Continue..") menu() else: #query to delete Employee from empdata table sql = 'delete from empdata where Id = %s' data = (Id,) c = con.cursor() c.execute(sql, data) con.commit() print("Employee Removed") press = input("Press Any key To Continue..") menu() # Function to Search_Employ def Search_Employ(): print("{:>60}".format("-->> Search Employee Record <<--n")) Id = input("Enter Employee Id: ") # checking If Employee Id is Exit Or Not if(check_employee(Id) == False): print("Employee Record Not existsnTry Again") press = input("Press Any Key To Continue..") menu() else: #query to search Employee from empdata table sql = 'select * from empdata where Id = %s' data = (Id,) c = con.cursor() c.execute(sql, data) #fetching all details of all the employee r = c.fetchall() for i in r: print("Employee Id: ", i[0]) print("Employee Name: ", i[1])
  • 12. [10] print("Employee Phone No.: ", i[2]) print("Employee Address: ", i[3]) print("Employee Post: ", i[4]) print("Employee Salary: ", i[5]) print("n") press = input("Press Any key To Continue..") menu() # Menu function to display menu def menu(): system("cls") print("{:>60}".format("************************************")) print("{:>60}".format("-->> Employee Management System <<--")) print("{:>60}".format("************************************")) print("1. Add Employee") print("2. Display Employee Record") print("3. Update Employee Record") print("4. Remove Employee Record") print("5. Search Employee Record") print("0. Exitn") print("{:>60}".format("-->> Choice Options: [1/2/3/4/5/0] <<--")) ch = int(input("Enter your Choice: ")) if ch == 1: system("cls") Add_Employ() elif ch == 2: system("cls") Display_Employ() elif ch == 3: system("cls") Update_Employ() elif ch == 4: system("cls") Remove_Employ() elif ch == 5: system("cls") Search_Employ() elif ch == 0: system("cls") print("{:>60}".format("Have A NIce Day :)")) exit(0) else: print("Invalid Choice!") press = input("Press Any key To Continue..") menu() menu()
  • 14. [12]
  • 15. [13] TESTING Software Testing is an empirical investigation conducted to provide stakeholders with information about the quality of the product or service under test[1] , with respect to the context in which it is intended to operate. Software Testing also provides an objective, independent view of the software to allow the business to appreciate and understand the risks at implementation of the software. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs. It can also be stated as the process of validating and verifying that a software program/application/product meets the business and technical requirements that guided its design and development, so that it works as expected and can be implemented with the same characteristics. Software Testing, depending on the testing method employed, can be implemented at any time in the development process, however the most test effort is employed after the requirements have been defined and coding process has been completed. TESTING METHODS Software testing methods are traditionally divided into black box testing and white box testing. These two approaches are used to describe the point of view that a test engineer takes when designing test cases. BLACK BOX TESTING Black box testing treats the software as a "black box," without any knowledge of internal implementation. Black box testing methods include: equivalence partitioning, boundary value analysis, all-pairs testing, fuzz testing, model-based testing, traceability matrix, exploratory testing and specification-based testing. SPECIFICATION-BASED TESTING Specification-based testing aims to test the functionality of software according to the applicable requirements.[16] Thus, the tester inputs data into, and only sees the output from, the test object. This level of
  • 16. [14] testing usually requires thorough test cases to be provided to the tester, who then can simply verify that for a given input, the output value (or behaviour), either "is" or "is not" the same as the expected value specified in the test case. Specification-based testing is necessary, but it is insufficient to guard against certain risks. ADVANTAGES AND DISADVANTAGES The black box tester has no "bonds" with the code, and a tester's perception is very simple: a code must have bugs. Using the principle, "Ask and you shall receive," black box testers find bugs where programmers don't. But, on the other hand, black box testing has been said to be "like a walk in a dark labyrinth without a flashlight," because the tester doesn't know how the software being tested was actually constructed. That's why there are situations when (1) a black box tester writes many test cases to check something that can be tested by only one test case, and/or (2) some parts of the back end are not tested at all. Therefore, black box testing has the advantage of "an unaffiliated opinion," on the one hand, and the disadvantage of "blind exploring," on the other. WHITE BOX TESTING White box testing, by contrast to black box testing, is when the tester has access to the internal data structures and algorithms (and the code that implement these) Types of white box testing:- api testing - Testing of the application using Public and Private APIs. Code coverage - creating tests to satisfy some criteria of code coverage.
  • 17. [15] Limitation and Enhancement Limitations: 1. Printing facility is not available. Enhancement: 1. Printing facility code can be generated. HARDWARE AND SOFTWARE REQUIREMENTS I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE II. PROCESSOR : PENTIUM(ANY) OR AMD ATHALON(3800+- 4200+ DUALCORE) III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI K9MM-V VIAK8M800+8237R PLUS CHIPSET FOR AMD ATHALON IV. RAM : 512MB+ V. Hard disk : SATA 40 GB OR ABOVE
  • 18. [16] BIBLIOGRAPHY 1. www.google.com 2. www.slideshare.com 3. Textbook of Computer Science for XII written by Sumit AroraD