Page 1 of 34
TABLE OF CONTENTS
[Link]. Page No.
Acknowledgement ...
trOURCHION 2 perenne nese Arrive riteinrineeaienh dee
2.2, Administration Modul
2.3, Employee Module,
2.4. Identity Card (IC) Number Generation Module.
2.5, Record Searching Module..
Description and Ju
Design of the Implemented Code.
implementation Code in terms of OOP Concepts
Validation Code pplied in the Implementation Code.
4. UML Diagrams
Class Diagram
4.2. Use Case Diagram,
5. Output Screens.
6, Conclusion
34
7. References.
Level ‘Asia Pacific Insite of Information Technology 201dACKNOWLEDGEMENT
To acknowledge and thank every individual who directly or indirectly contributed to
this venture personally, it
‘would require an inordinate. amount of time. Tam deeply indebted
to many individual, whose cooperation made this job easier, am thankful and express my
sincere gratitude to APIIT SD INDIA, Panipat for providing me an opportunity for fulfilling
my most cherished desire,
avail this opportunity to express my gratitude to my friends and my parents for their support
and encouragement throughout project. 1 feel it is as a great pleasure to express my deep
sense of profound thank to Module Lecturer Mrs. Pradeep Kumar, who guided me at every
step and also encouraged to carry out the project.
Lasily, I would like to thank all those whose names may not have appeared here but whose
contribution has not gone unnoticed.
Jayant Kumar Gope
Intake No.: PT1282240
Level
fc Institute of Talormaiion Technology 201d(CE00314.2-Further Programming Concepts ia C++ Individual Assignment Page 3of 34
XTRODUCTION
‘The objective of this assigninent is to develop a Win32 console application for an
Employee Management System, where it is expected (0 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 purpose of this Application és to store and edit the complete
personal record of cach Employce 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,
fiom the user in oreler 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 code is expeeted to highlight the use of object oriented
programming principles (OOPS) such as:
© Clas
© Abstraction
© Inheritance
‘© Polymorphism
Level ‘Asia Pacific insite of Information Technology 20d(CE00314.2-Further Programming Concepts ia CH Individual Assiganient Page 4 of 4
2. PROJECT DESCRIPTION
‘The project is evalunted 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
It is one of the most important modules of the Employee Management System, Each
Employee of the system has to be assigned its own username and password. And the
‘assigning job is to be performed by the administrator,
‘The login module chiefly contains:
+ Administrator Login
‘+ Employee Login
2.2. Administrator Module
“The administrator of the application has to be provided the highest aceess priority which
enables him/her to perform all the
mnalities that exist in the application. In addition
to that, the administrator is able to register Employee.
“The administrator is allowed to:
* Register Employee as users of the system.
'* Add, search and edit personal information of Employee.
* Delete record of any Employee.
+ Calculate salary package of Employees,
2.3. Employee Modute
‘The
to only view the personal information and the annual salary.
Employee in this application has the lowest access priority that only enables him/her
24, Identification Card (IC) Number Generation Module
Each employee in the application has to be assigned ‘with its unique Identification Card
(AC) Number by which the employee can be identified uniquely for the operations and
this is automatically generated by the system.
Level ‘Asia Pacific insite of Information Technology 20d25. Record Searching Module
‘The searching of any record in the system must be done by using the following
‘categories:
© (C Number
© Designation
© Department
Ted Pai naas of Taforalion Teshaology 30d(CE00314.2-Further Programming Concepts ia C++ Individual Assiganicr Page 6of 34
3. DESCRIPTION AND JUSTIFICATION
3.1. Design of The Implementation Codes
Description
In this Employee Management System, it has been already stated that, administrator
has the
ighest access priority that means he can perform each and every
Functionality specified in the system. The functionalities he can perform includes add
employce. register employee so that employee can access the system, search, update,
delete the information of employees and can calculate salary of the employees.
And the lowest access priority is given to the employee who can only view his own
profile and annual salary,
Justification
As the agcess priorities of different users is being discussed
a) Administrator given the highest priority in System
Justification - As we know that administrator of any organization has got all the
privileges and rights, so we also followed the same criteria in the system and
provided the adiinistrator the highest priority amongst all users,
b) Employees given the Least Priority
Justification — Generally, the employee of any organization has not to do a lot
‘with the management system, as itis mide for maintaining the organization data
‘So, employee in the system is wiven the less priority than admin,
©) Useof Functions
Justification — Large programs are difficult to manage asa single list of
instructions, Thus, large programs are divided int smaller parts known as
functions, A function is a group of statements that together perform a task. The
functions can be invoked (Called) from other parts of the program. The most
important reason that we have used fimnctions in a program because they make
the program handling easier.
void employeeaccess::viewémplayee() // Function Definition
system("cls");
Level
‘Asia Pacific institate of Information Technology 201dcoutce"\n"cesetw(5a)
e8a<4s | |b>122880<127} | (b>578Ab<65) | (b> 99880¢97))
{
coutcesetw(68) 5 char)!"
gets(ePassword);
AF(stelen(ePassword) <6)
coutecsetw(6a)“;
coutccsetw(30)seGender:
$fleGender 1s
(
IH eGender Ia ‘nt |] eGender te ‘FY || eGender =F),
Level
facie institute oF information Technology 20dcoutedsetw(68)<érighte<
coutec” \nin"<
coutccsetw(30)