Employee Management System
1.
INTRODUCTION
Project Report
Employee Management System
1. INTRODUCTION
DataBase is a collection of information that is used for several purposes and DataBase Management system is an application Software, that has some specific programs to access the datas in the database. Data bases help the users to create a large amount of informations and stored it in a file system or in a memory chip, In normal cases clerks have a lot of works to record, search, edit the details of a employee at the firm, it wastes a lot of times and their may be errors in the data , Here we introduce the "EMPLOYEE MANAGEMENT SYSTEM". By using this software we can overcome all most all such problems like data redundancy, inconsistancy. And it also helps to impliment standards
Project Report
Employee Management System
1.1 ABSTRACT
The Computerization of EMPLOYEE MANAGEMENT SYSTEM is the main objective of the project . By using this software package the time consumption and work burden will be reduced immensely . The software entitled as employee management system is used for storeing details of the employee in the firm database . It is interactive and user friendly software developed using CPP language . The project is prepared to implement in DOS/ Windows / 2000 / NT platforms . The project helps to store and maintain all details of the employee in the database of the firm and reduce data redundancy , inconsistancy, and it also helps to impliment standards . The project is divided into four modules.
1 . Add the employee details 2 . Display employee details 3 . Modify the employee details 4 . Delete the details of particular employee 5 . Exit
Project Report
Employee Management System
. SYSTEM STUDY
Project Report
Employee Management System
SYSTEM STUDY
The system study is indented with the study of the existing system; that is about the current Data base system, the working of the system , the concerned modules, and requirements etc . It also deals with the benefits and disadvantages of the system . We must thoroughly understand the old system and determine how computers can best be used to make its operations more effective. Before development of any project can be pursued, a system study is conducted to learn the details of the current business situation . Information gathered through the study , forms the basis for creating alternative design strategies . Management selects the strategy to pursue.
2.1
Existing System
The existing system is studied to know the extent of computerization required. Therefore , a detailed analysis of the existing system should be conducted . For this purpose , system should be broken down into various subsystems and these subsystems were analyzed closely to identify the problem areas. As we studied the existing system, it was found that there is a File Management system which gives the facility for accessing the employee details . In a File Management all works
5
Project Report
Employee Management System
are done manually. The main problem of the manual operation is, it is time consuming and error prone than the computerized system. There exists wastage of data retrieved time as in the case of search and further processing. There was no efficient system to manipulate the existing records.
The problem I observe in this area is that the user has to do all the operations manually , by searching and analyzing large amount of data, a miss-spelled digit or character may create many hours of extra work and complicated correction procedure. Necessary data validation checks are included to avoid mistakes
2.2
PROPOSED SYSTEM
The existing system leads to many errors like data redundancy, data inconsistency, and also much more paper works that waste very valuable time and money. We collect a lot of information from different current tools and its advantages. Keeping this in mind we decided to develop a software and named as EMPLOYEE MANAGEMENT SYSTEM which is very userfriendly and helps to make research a real chore. This computerization improves efficiency of office work, and also helps to keep data too many years without damage and can be recollected as and when needed without much time The Proposed system solves problems related to data accessing problems, because it help the user to add details of the employee to the firm database easily ,improving data recovery speed, easy searching and also provide editing of datas in the database
Project Report
Employee Management System
3. SYSTEM
SPECIFICATION
Project Report
Employee Management System
3.1 SOFTWARE SPECIFICATION
Language Cpp OS DOS/ WINDOWS
3.2 HARDWARE REQUIREMENT
Processor Processor speed Monitor Size RAM HDD Floppy drive Keyboard Cache Printer Modem ----Laser 56.6 Kbps ------Pentium lll 600 MHz 15 SVGA 256 MB 40 GB 1.44 MB 104 or higher 512 KB Level 2 Cache
Project Report
Employee Management System
UPS
--
0.5 KV
4. SYSTEM ANALYSIS
Project Report
Employee Management System
4 .1
Feasibility Analysis
The main objective of feasibility study is to test the technical, social and economic feasibility of developing a system. This is done before developing a system . This is done by investigating the existing system in the area under investigation and generating ideas about the new system.
4.1.1 Economic and Technical Feasibility
The system must be evaluated from the technical view point first. The assessment of this feasibility must be based on an outline design of the system requirement in terms of input, output, programs, procedure and staff. Having identified the outline of the system, the investigation must go on to suggest the type of equipment, required method of developing the system, and the method of running the system This developing system must be justified by cost and benefit criteria to ensure that effort is concentrated on project which will give best return at the earliest . One of the factors which affect the development of a new system is the cost it would require. Since the system is developed as a part of our study , there is no manual cost to be spent for the proposed system.
4.1.2 Social and Behavioral Feasibility
10
Project Report
Employee Management System
Proposed project would be beneficial only if they can be turned into information system thatll meet the organization operating requirements. One of the main problem faced during the development of a new system is getting acceptance from user . Being a general purpose software there are no resistance from the users because this will be more beneficial to the users.
5 . SYSTEM DESIGN
11
Project Report
Employee Management System
5.1 Input Design
In input design, the user-defined inputs are converted in to computer-based format. Input design involves determining the record media, method of input, speed of capture and entry to the system. The most important approach to the input design is formatted and prompt design. User side Input The inputs provided by user are
Employee code, name, age, salary
5.2 Output Design
Computer output is the most important and direct source of information to the user. Designing the computer output should proceed in an organized, well through out manner. The right output must be developed while ensuring that each output element is designed so that people will find the system easy to use efficiently. When analysts design computer output they identify the specific output that is needed to meet the information requirements. Different methods for the information will be selected. Analyst
12
Project Report
Employee Management System
creates document , report, or other format that contain information produced by the system
5.3 Interface Design
Interface design mainly focuses on the design of interfaces between software modules , external entities and the user. The design of internal program interfaces, sometimes called intermodular interface design, is driven by the data that must flow between modules and the characteristics of the programming
language in which the software is to be implemented. External interface design begins with an evaluation of each external entity represented in the DFDs of the analysis model. Both internal and external interface design must be coupled with data validation and error handling algorithms within a module. Because side effects propagate across program interfaces, it is essential to check all data flowing from module to module to ensure that the data conform to bounds established during requirements analysis. User interface design has as much to do with the study of people as it does with technology issues. Who is the user? How does the user learn to interact with a new computer-based system ? So the system should be developed in a user-friendly manner.
5.4 Procedural Design
A procedural design reduces complexity , facilitates change ( a critical aspect of software maintainability ), and results in easier implementation by encouraging parallel development of different parts of a system. Software with effective modularity is easier to develop because function may be compartmentalized and interfaces are simplified. Software architecture embodies modularity , that is, software is divided into separately named and addressable components called modules, which are integrated to satisfy problem requirements. Modularity is the single attribute of software that allows a program to be intellectually manageable. Monolithic software ( i.e., a large program comprised of a single module) cannot be easily grasped by reader. The seven important criteria that
13
Project Report
Employee Management System
enable us to evaluate a design method with respect to its ability to define an effective procedural design are, as described below
5.5 Modular Description
1. Add the employee details
The employee details such as code, name, age, salary are entered by pressing 1 from the main menu and these details are saved. The system prompts whether the user wants to add more records .
2. Display Record
The user can see all the employee details, by pressing 2 from the main menu.
3. Modify The Employee Details
If the user wants to modify the details of a perticular record, then the user has to enter the code by pressing 3 from the main menu which represents the record to be modify . The details are repeated to the user and after changing the details. After changing the record the employee details are saved.
14
Project Report
Employee Management System
4. Delete Record
If the user wants to delete the details of an particular employee, then the user has to enter the code of the employee he/she wish to delete by pressing 4 from the main menu . The details are displayed to the user and after delete it.
5. Exit
By pressing 5 from the main menu the user can exit from the software.
5.6 Data flow diagrams
The Data flow diagrams was first Constantine as a way of expressing system graphical form and this led to modular design. developed by Larry requirements in a
A data flow diagram , also known as Bubble Chart has the purpose of clarifying system requirements and identifying major transactions that will become programs in system design . A DFD consists of series of squares joined by lines. The squares represent the data transformations and the lines represent data flows in the system.
DFD
Symbols
1. A rectangle defines a source (originator) or designation of
system data. 2. An arrow identifies data flow i.e, data in motion . It is a pipeline through Which information flows. 3. A circle represents a process that transforms incoming data flows into Outgoing data flows. 4. An open re0ctangle is a data store , data at rest , or a temporary repository of data .
15
Project Report
Employee Management System
CONTEXT LEVEL DFD
Select details
User
s menu
Employee managem ent system
Employee
User
Text file
16
Project Report
Employee Management System
Add The Employee Details
Text file
Code, Name,
Saving
Age ,
Salary,
User Enter Employe e details
Employ ee
User
17
Project Report
Employee Management System
Display the student details Record
d m
Select display menu
Text file
Retrieve User Employe e
User
Display Employ ee
18
Project Report
Employee Management System
Modify Employee Details
Text file
Select Edit menu Text file and enter employee Code
Verify Employ ee
Retriev e Employ ee
User
User
Store employ ee Details
Edit Employe e Details Name Age Salary Text file
19
Project Report
Employee Management System
Delete Particular Employee Details
Text file Select delete menu . Text file enter and Code Retriev e Employ ee
User
Verify emplo yee
User
Delete employ ee Details
20
Project Report
Employee Management System
21
Project Report
Employee Management System
6. IMPLEMENTATION AND TESTING
6.1
IMPLEMENTATION
The final and important phase in the system life cycle is the implementation of the new system. The term implementation has different meaning , ranging, from the conventions of the basic application to a complete replacement of the computer system. The procedure however is virtually the same. Implimentations include all those activities that take place to convert from old system to new. The new system may be totally new replacing an existing manual or automated system or it may be major modification to an existing system. The method of implementation and time scale to be adopted is found out initially. Next the systems are tested properly and at the same time the users are trained with the new procedure. Proper implementation is essential to provide a reliable system to meet organizational requirement. Successful implimention may not guarantee improvement in the organization using the system, but it will prevent improper installation. The implementation involves the following things
Careful planning Investigations of system constrain Design the method to achieve the change over Training the staff in the change phase Evaluation of change over method
22
Project Report
Employee Management System
The method of implementation and time scale to be adopted was found out initially. Next the system is tested properly and at the same time users were trained in the new procedure to manipulate the system
23
Project Report
Employee Management System
24
Project Report
Employee Management System
25
Project Report
Employee Management System
26
Project Report
Employee Management System
27
Project Report
Employee Management System
28
Project Report
Employee Management System
7. CONCLUSION
29
Project Report
Employee Management System
CONCLUSION
This project
EMPLOYEE
MANAGEMENT
deals with the Member addition process, Edit, delete, search process for employee details. This project is successful in meeting the goals of this concern, where the manual system was not at their full satisfaction. By computerizing the concern, the accuracy of the data recording has been increased and the speed is also increased.
SYSTEM
This system provides precise enlistment of employees information. It records the customer details and give adequate information about the employee. Data can be retrieved as and when required. It creates different data and are stored. These files are also used for further processes
30
Project Report
Employee Management System
APPENDIX
31
Project Report
Employee Management System
#include<iostream.h> #include<fstream.h> #include<dos.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<iomanip.h>
struct person { char flag; char empcode[5]; char name[40]; int age; float sal; }p;
class group { public: fstream f; group(); void addrec();
32
Project Report
Employee Management System
void listrec(); void modirec(); void delrec(); void exits(); };
void main( ) { int choice; char v; textcolor(YELLOW); group g; do { clrscr(); struct dosdate_t d; _dos_getdate(&d); gotoxy(45,25); cout<<"TODAY's DATE;"; gotoxy(45,26); // cout<<d.day<<":"<<d.month<<":"<<d.year; printf("%d:%d:%d",d.day,d.month,d.year);
gotoxy(15,1); cout<<"================================================";
33
Project Report
Employee Management System
gotoxy(15,2); cout<<"<<SOFT TECH.CORPORATION PVT.LTD>> <<MAIN MENU>>"; gotoxy(15,3); cout<<"================================================"; gotoxy(15,7); cout<<"PRESS THE SPECIFIED KEYS BELOW TO SELECT"; gotoxy(15,8); cout<<"----------------------------------------"; gotoxy(12,12); cout<<"1:ADD RECORD"; gotoxy(12,14); cout<<"2:LIST RECORD"; gotoxy(12,16); cout<<"3:MODIFY RECORD"; gotoxy(12,18); cout<<"4:DELETE RECORD"; gotoxy(12,20); cout<<"5:EXIT"; gotoxy(12,25); cout<<"YOUR CHOICE"<<" "; cin>>choice; clrscr(); switch(choice) { case 1: g.addrec();
34
Project Report
Employee Management System
break; case 2: g.listrec(); break; case 3: g.modirec(); break; case 4: g.delrec(); break; case 5: g.exits(); exit(0); default: cout<<"\nPRESS THE SPECIFIED KEYS ONLY"; delay(1500); break; } } while(choice!=0); }
void group::group(void) { f.open("praveee.dat",ios::binary|ios::in|ios::out); p.flag=' ';
35
Project Report
Employee Management System
if(!f) { cout<<endl<<"UNABLE TO OPEN FILE:"; exits(); } }
void group::addrec( ) { char ch; f.seekp(0L,ios::end); do { cout<<"\n<<TO RETURN TO THE MAIN MENU PRESS 'm' KEY ELSE PRESS 'a' >>:"; cin>>ch; if(ch=='m'||ch=='M') main(); cout<<"\nENTER EMPLOYEE CODE:"; cin>>p.empcode; cout<<"\nENTER EMPLOYEE NAME:"; cin>>p.name; cout<<"\nENTER AGE :"; cin>>p.age; cout<<"\nENTER SALARY:"; cin>>p.sal; p.flag=' ';
36
Project Report
Employee Management System
f.write((char*)&p,sizeof(p)); cout<<"\nADD ANOTHER RECORD?(Y/N):"; cin>>ch; cout<<"\n"; } while(ch=='y'||ch=='Y'); }
void group::listrec() { int j=1,a,c=0; f.seekg(0L,ios::beg); cout<<"\n\t\t\tLIST OF PROGRAMS PRESENTS ARE"; cout<<"\n\n\n\n "<<"SALARY"; cout<<"\n\t "<<"CODE"<<" "<<" NAME"<<" "<<"AGE"<<"
---------------------------------------";
while(f.read((char*)&p,sizeof(p))) { cout<<"\n"; if(p.flag!='*') { cout<<endl<<"RECORD NO:"<<j++<<setw(8)<<p.empcode<<setw(14)<<p.name<<setw(9)<<p.age<<setw(12)<<p.s al; c++; } }
37
Project Report
Employee Management System
f.clear(); if(c==0) { gotoxy(10,10); cout<<"NO RECORD EXIT"; gotoxy(10,12); cout<<"\n\nPRESS ANY KEY..."; getch(); } else { cout<<endl<<endl<<"\n\n\n\n\tPRESS ANY KEY..."; getch(); } }
void group::modirec( ) { char code[5]; int count=0; long int pos; cout<<"ENTER EMPLOYEE CODE WHOSE RECORD IS TO BE MODIFIED :"; cin>>code; f.seekg(0L,ios::beg); while(f.read((char*)&p,sizeof(p))) {
38
Project Report
Employee Management System
if(strcmp(p.empcode,code)==0) { cout<<endl<<"ENTER NEW RECORD"; cout<<endl<<"ENTER EMPLOYEE NAME:"; cin>>p.name; cout<<endl<<endl<<"ENTER AGE cin>>p.age; cout<<endl<<endl<<"ENTER SALARY cin>>p.sal; p.flag=' '; pos=count*sizeof(p); f.seekp(pos,ios::beg); f.write((char*)&p,sizeof(p)); return; } count++; } cout<<endl<<"NO EMPLOYEE IN FILE WITH CODE="<<code; cout<<"\n\nPRESS ANY KEY..."; getch(); f.clear(); } :"; :";
void group::delrec( ) { char code[5];
39
Project Report
Employee Management System
long int pos; int count=0; cout<<"\nENTER EMPLOYEE CODE TO BE DELETED:"; cin>>code; f.seekg(0L,ios::beg); while(f.read((char*)&p,sizeof(p))) { if(strcmp(p.empcode,code)==0) { p.flag='*'; pos=count*sizeof(p); f.seekp(pos,ios::beg); f.write((char*)&p,sizeof(p)); return; } count++; } cout<<endl<<"NO EMPLOYEE IN FILE WITH CODE="<<code; cout<<endl<<endl<<"PRESS ANY KEY..."; getch(); f.clear(); }
void group::exits( ) { f.close();
40
Project Report
Employee Management System
B. SAMPLE SCREEN SHOTS
41
Project Report
Employee Management System
Main Menu
42
Project Report
Employee Management System
Add record
43
Project Report
Employee Management System
List Record
Modify Record
44
Project Report
Employee Management System
Delete Record
45
Project Report
Employee Management System
46
Project Report
Employee Management System
BIBLIOGRAPHY
BIBLIOGRAPHY
47
Project Report
Employee Management System 1. 2. 3. 4.
Programming in CPP Let Us CPP System Analysis and Design The Analysis Design and Implementation of Information Systems
- Robert Lafore - Yaswanth Kanitkar Alias M
- Henry C Lucas - Richard E Fairley - Yaswanth Kanitkar
5. 6.
Software Engineering Concepts Let Us CPP
48
Project Report