This document outlines the contents and implementation of an employee management system project. It includes sections on project description, object oriented programming concepts, and implementation details. The project description outlines modules for login, administration, employee access, and ID generation. OOP concepts like class, abstraction, inheritance, and polymorphism are discussed. Implementation details provided include building the employee table, inserting/deleting/editing entries, searching, and sorting the table. Functions for these operations are defined.
Biology for Computer Engineers Course Handout.pptx
Employee Management System Table of Contents
1. TABLE OF CONTENTS
ACKNOWLEDEGMENT
INTRODUCTION
PROJECT DISCRIPTION
->Login Module
->Administration Module
->Employee Module.
->Identity Card (IC) Number Generation Module
OOPS CONCEPTS
IMPLEMENTATION OF PROJECT
->Build the table
->Insert an entry
->Delete an entry
->Edit an entry
->Search an entry
->Sort the table
->Use Case Diagram
OUTPUT SCREEN
CONCLUSION
2. ACKNOWLEDGEMENT
To acknowledge and thank every individual who directly or indirectly contributed
to this venture personally, it would require an inordinate amount of time. I am
deeply indebted to many individual, whose cooperation made this job easier.
I avail this opportunity to express my gratitude to my friends and my parents for
their support and encouragement throughout project. I feel it is as a great pleasure
to express my deep sense of profound thank to Module Lecturer Mrs. Narinder
rana, who guided me at every step and also encouraged to carry out the project.
Lastly, I would like to thank all those whose names may not have appeared here
but whose contribution has not gone unnoticed.
3. INTRODUCTION
The objective of this assignment is to develop a Win32 console application for an
Employee ManagementSystem, where it is expected to enter, search, edit and
view personnel information of the Employee in an Organization based on different
access priority and calculate their salary package.
We are required design the application by assuming that, this system will be
installed only in one terminal and used by all types of users, specially the
Employee and the administrator of this application. The main purposeof this
application is to store and edit the complete personal record of each Employee
along with evaluation of salary (annually) in an organization. And all information
that is to be added and edited must be handled via text (.txt) or data (.dat) file, so
that the information can be uploaded back into the system once activated or saved
when the system is exited.
We are also required to incorporate the Validation throughout the application for
each entry, from the user in order to avoid logical errors.
We are supposed to describe, justify and implement an object oriented system by
the application,
Introduce current technical issues in the field of object oriented programming
(OOP). Thus, predominantly our implementation codeis expected to highlight the
use of object oriented programming principles (OOPS)suchas:
->Class
->Abstraction
->Inheritance
->Polymorphism
4. Advantages of Performance Management
1. Performance Based Conversations
Managers get busy with day-to-day responsibilities and often neglect the necessary interactions
with staff that provide the opportunity to coach and offer work related feedback.
A performance management process forces managers to discuss performance issues with
employees. It is this consistent coaching that affects changed behaviors and employee
development
2. Targeted Staff Development
All employees are on a development journey and it is the organization’s responsibility to be
preparing them for increased responsibility.
If done well, an effective performance management system can help to identify employee
developmental opportunities and can be an important part of a succession planning process.
3. Encouragement to Staff
Performance appraisals should be a celebration of all the wonderful things an employee does
over the course of a year and should be an encouragement to staff. There should be no surprises
if issues are addressed as they arise and not held until the annual review.
4. Rewards Staff for a Job Well Done
When pay increases and/or bonuses are tied to the performance appraisal process, staff can see a
direct correlation between performance and financial rewards. This motivates and encourages
employees to perform at higher levels.
5. Under-performers Identified and Eliminated
As hard as we try, it is inevitable that some employees just won’t cut the mustard as they say.
An effective performance appraisal process can help identify and
document underperformers, allowing for a smooth transition if the relationship needs to be
terminated.
5. Disadvantages of Employee Management
1. Time Consuming
It is recommended that a manager spend about an hour per employee writing
performance appraisals and depending on the number of people being evaluated, it
can take hours to write the department’s PA but also hours meeting with staff to
review the PA.
I’ve know managers who had 100 plus people to write PAs on and spending weeks
doing it.
2. Discouragement
If the process is not a pleasant experience, it has the potential to discourage staff.
The process needs to be one of encouragement, positive reinforcement and a
celebration of a year’s worth of accomplishments.
3. Inconsistent Message
If a manager does not keep notes and accurate records of employee behavior, they
may not be successfulin sending a consistent message to the employee.
We all struggle with memory with as busy as we all are so it is critical to document
issues (both positive and negative) when it is fresh in our minds so we have it to
review with the employee at performance appraisal time.
4. Biases
It is difficult to keep biases out of the PA process and it takes a very structured,
objective process and a mature manager to remain unbiased through the process.
6. 2. PROJECT DESCRIPTION
The project is evaluated deeply and it is discovered that, this project contains
certain modules that needs to be incorporated in the system design. So, for getting
the better understanding of the project, these modules are described below –
2.1. Login Module
Itis one of the mostimportant modules of the Employee Management System.
Each Employee of the systemhas to be assigned its own usernameand password.
And the assigning job is to be performed by the administrator.
2.2. Administrator Module
The administrator of the application has to be provided the highest access priority
which enables him/her to perform all the functionalities that exist in the
application. In addition to that, the administrator is able to register Employee.
The administrator is allowed to:
2.3. Employee Module
The Employee in this application has the lowest access priority that only enables
him/her to only view the personal information and the annual salary.
2.4. Identification Card (IC) Number GenerationModule
Each employee in the application has to be assigned with its unique Identification
Card (IC) Number by which the employee can be identified uniquely for the
operations and this is automatically generated by the system.
7. CONCEPT OF OOPS
The prime purposeof C++ programming was to add object orientation to the C
programming language, which is in it one of the most powerful programming
languages.
The core of the pure object-oriented programming is to create an object, in code,
that has certain properties and methods. While designing C++ modules, we try to
see whole world in the form of objects. For example a car is an object which has
certain properties such as color, number of doors, and the like. It also has certain
methods such as accelerate, brake, and so on.
There are a few principle concepts that form the foundation of object-oriented
programming:
Object
This is the basic unit of object oriented programming. That is both data and
function that operate on data are bundled as a unit called as object.
Class
When you define a class, you define a blueprint for an object. This doesn'tactually
define any data, but it does define what the class name means, that is, what an
object of the class will consistof and what operations can be performed on such an
object.
Abstraction
Data abstraction refers to, providing only essential information to the outside world
and hiding their background details, i.e., to represent the needed information in
program without presenting the details.
For example, a database system hides certain details of how data is stored and
created and maintained. Similar way, C++ classes provides different methods to
the outside world without giving internal detail about those methods and data.
8. Encapsulation
Encapsulation is placing the data and the functions that work on that data in the
same place. While working with procedurallanguages, it is not always clear which
functions work on which variables but object-oriented programming provides you
framework to place the data and the relevant functions together in the same object.
Inheritance
One of the most useful aspects of object-oriented programming is codereusability.
As the name suggests Inheritance is the process offorming a new class from an
existing class that is from the existing class called as base class, new class is
formed called as derived class.
This is a very important conceptof object-oriented programming since this feature
helps to reduce the codesize.
Polymorphism
The ability to use an operator or function in different ways in other words giving
different meaning or functions to the operators or functions is called
polymorphism. Poly refers to many. That is a single function or an operator
functioning in many ways different upon the usage is called polymorphism.
Overloading
. The conceptof overloading is also a branch of polymorphism. When the exiting
operator or function is made to operate on new data type, it is said to be overloaded
9. IMPLEMENTATION OF PROJECT
Build the table
We are build the table with help of array technique .when our table is create the we
are enter the information by according the column
Implementation
Cout<<"ntt Press b---->Built The Employee Table ";
Cout<<" ";
cout<<"ntt Press l---->List The Employee Table ";
Cout<<" ";
Cout<<"ntt Press i---->Insert New Entry ";
Cout<<" ";
Cout<<"ntt Press d---->Delete An Entry ";
cout<<" ";
cout<<"ntt Press e---->Edit An Entry ";
cout<<" ";
cout<<"ntt Press s---->Search A record ";
cout<<" ";
cout<<"ntt Press n---->Sort The Table ";
cout<<" ";
cout<<"ntt Press q---------->Quit Program ";
cout<<" ";
cout<<"nn tt Select Your Option Please ====> ";}
10. void build()
{
system("cls");
// highvideo();
printf("Build The Table");
cout<<endl;
//normvideo();
cout<<"maximum number of entries ----- > 20"<<endl;
cout<<"how many do you want ----->";
cin>>num;
cout<<"Enter The Following Items"<<endl;
for(int i=0;i<=num-1;i++)
{
cout<<" Name ";
cin>>emp[i].name;
cout<<"Code ";
cin>>emp[i].code;
cout<<"Designation ";
cin>>emp[i].designation;
cout<<"Years of Experience ";
cin>>emp[i].exp;
cout<<"Age ";
cin>>emp[i].age;
12. List of table
List of table are define the all employee where we store the information of worker
Implementation:-
void list()
{
System ("cls");
// highvideo ();
printf(" ********List The Table********");
cout<<endl;
//normvideo ();
cout<<" Name Code Designation Years(EXP) Age "<<endl;
cout<<" ------------------------------------------------------"<<endl;
for(int i=0;i<=num-1;i++)
{
cout<<setw(13)<<emp[i].name;
cout<<setw(6)<<emp[i].code;
cout<<setw(15)<<emp[i].designation;
cout<<setw(10)<<emp[i].exp;
cout<<setw(15)<<emp[i].age;
cout<<endl;}
Cout<<"going to main menu";
getch ();}
13. Insert new entry
In this instruction we insert the new data into table.
Implementation:-
Void insert ()
{
// high video ();
printf("Insert New Record");
cout<<end;
//normvideo();
cout<<"Enter The Following Items"<<endl;
cout<<"Name ";
cin>>emp[i].name;
cout<<"Code ";
cin>>emp[i].code;
cout<<"Designation ";
cin>>emp[i].designation;
cout<<"Years of Experience ";
cin>>emp[i].exp;
cout<<"Age ";
cin>>emp[i].age;
cout<<endl<<endl;
cout<<"going to main menu";
Sleep(500); }
14. DELETE AN ENTRY
We are delete an entry from table when any employee are left to your company.
Implementation :-
void deletes()
{
system("cls");
// highvideo();
int code;
int check;
printf("Delete An Entry");
//normvideo();
cout<<endl;
cout<<"Enter An Job Code To Delete That Entry ";
cin>>code;
int i;
for(i=0;i<=num-1;i++)
{
if(emp[i].code==code)
{
check=i;
}
}
16. EDIT AN ENTRY
We are editing any data by job code like we are edit the name, id, and
designation
Implementation:-
void edit()
{
system("cls");
int jobcode;
// highvideo();
printf(" Edit An Entry ");
cout<<endl;
cout<<endl;
int i;
void editmenu();
void editname(int);
void editcode(int);
void editdes(int);
void editexp(int);
void editage(int);
char option;
//normvideo();
cout<<"Enter An jobcode To Edit An Entry---- ";
cin>>jobcode;
19. }
void editcode(int i)
{
cout<<"Enter New Job Code-----> ";
cin>>emp[i].code;
}
void editdes(int i)
{
cout<<"enter new designation-----> ";
cin>>emp[i].designation;
}
void editexp(int i)
{
cout<<"Enter new Years of Experience";
cin>>emp[i].exp;
}
void editage(int i)
{
cout<<"Enter new Age ";
cin>>emp[i].age;
}
20. SEARCH AN ENTRY
We are search the data of an entry where we are store the data in location.
Implementation:-
void search()
{
system("cls");
// highvideo();
printf("Welcome To Search Of Employee Database ");
//normvideo();
cout<<endl;
cout<<endl;
int jobcode;
cout<<"You Can Search Only By Jobcode Of An Employee";
cout<<"Enter Code Of An Employee ";
cin>>jobcode;
for(int i=0;i<=num-1;i++)
{
if(emp[i].code==jobcode)
{
cout<<" Name Code Designation Years(EXP) Age ";
cout<<" ------------------------------------------------------ ";
cout<<setw(13)<<emp[i].name;
cout<<setw(6)<<emp[i].code;
22. SORT THE TABLE
We are sort the table with help of given instruction and choices.
Implementation:-
void sort()
{
system("cls");
// highvideo();
printf("Sort The Database By Jobcode");
//normvideo();
void sortmenu();
void sortname();
void sortcode();
void sortdes();
void sortexp();
char option;
void sortage();
cout<<endl;
cout<<endl;
sortmenu();
while((option=cin.get())!='q')
{
switch(option)
{
38. CONCLUSION
It was a great experience to design and implement the Employee Management
System by using an Object Oriented Programming Language C++ and to work on
its documentation. While working on this project, I have learned many things
especially how to apply the concepts ofOOP paradigm in modeling of real world
systems.
This assignment helped me to get the better understanding to develop and derive
new class structures and organize them such that they will model real world
systems within computers. It also helped me in getting in the better understanding
of basic programming concepts ofC++ language such as loops, control structure,
arrays, file handling etc.
In this assignment, I have used almost every concepts ofC++ language, I had
learned. I have also provided validations throughout the system for avoiding
logical errors, used excellent logic related comments with proper indentation and
the OOPs conceptin an excellent manner.
After doing this assignment, I am in position to explain object oriented
programming concepts and apply them to the modeling of real world systems by
utilizing its offered facilities
39. RAYAT INSTITUTES OF ENGINEER &
INFORMATION TECHNOLOGY
RAILMAJARA, SBS NAGAR, DISTT. ROPAR,
PUNJAB
PROJECT REPORT
EMPLOYEE MANAGEMENT SYSTEM
SUBMITTED TO - SUBMITTED BY:-
Er:- Narinder rana Kamal Kumar
Reg.No.:- 1419392