0% found this document useful (0 votes)
6 views

Project Report

project report

Uploaded by

Niteesh thakur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Project Report

project report

Uploaded by

Niteesh thakur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

A Project/Dissertation Review-1 Report

on
EMPLOYEE MANAGEMENT SYSTEM

Submitted in partial fulfillment of the


requirement for the award of the degree of

Master of Computer Applications

Under The Supervision of: Dr. Vishwadeepak Singh Baghela


professor

Submitted By
Yash Pratap Singh – 21SCSE2030168
Yogyata nagayach – 21SCSE2030290
Hamna khan – 21SCSE2030187

SCHOOL OF COMPUTING SCIENCE AND ENGINEERING


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
GALGOTIAS UNIVERSITY, GREATER NOIDA
INDIA
OCTOBER, 2022
CERTIFICATE

The final thesis/Project/Dissertation viva-voce examination Hamna Khan


(21scse2030187) Yogyata Nagayach (21scse2030290) Yash Pratap Singh
(21scse2030168) has been held on ___________________ and his/her work is
recommended for the award of MCA

Signature of Examiner(s) Signature of Supervisor(s)

Signature of Program Chair Signature of Dean

Date:

Place:
Abstract
Employee management system is a system developed with an aim to solve the
problem faced by organizations while calculating salary of each employee. This
system aims to maintain proper automatic attendance so that no cheating in
attendance can be done by anyone. This system makes sure that all the important
calculations should be done to calculate salary properly. EMS promotes automatic
use and ensures employees that their salary would be calculated properly without
any cheating.
Employer has to add employee and required details. employer can set public
holiday of an organization a day before. employer can’t edit the holidays that have
passed. employer have to click get salary to get salary of every employee, he will
get a salary of previous month. employer can edit and delete the employee. The
employee has to install the app and follow the described procedure to set up the
app, and then he has to scan the QR code for in at a time of entering the premises.
And, has to scan another QR for Out at a time of leaving the premises.
For the purposes of my project, I chose to work with Visual Studio designed by
Microsoft. We use html/CSS as a language for designing front-end. My choice is
based on the reliable programming environment offered by JavaScript and the
highly cleared syntax of this scripting language as well. We are using MySQL
database for storing employee data.
an information system’s development has been presented. It was emphasized on
the basic steps, consequently taken during the project’s development course as a
particular attention was turned to the basic operative functions performed upon the
data into the database. The report’s content comprises the whole task solution,
starting from the programming environments have been selected, going through the
database, the applications analyze and construction, and finishing with the code-
implementation and test-samples, shown separately in Appendix chapters. As a
future work, some additional stuff could be implemented and integrated into the
application code making it much more reliable and flexible; especially what
concerns a pay-roll module.

List of Tables
Table Page
Table Name
No. Number
1. Table for Student Data 3

2. Table for Faculty Data 4


Table for student data
Name Admission Number
Yash Pratap Singh 21SCSE2030168

Hamna khan 21SCSE2030187

Yogyata nagayach 21SCSE2030290


Table for Faculty Data
Project Guide Dr. Vishwa Deepak Singh baghela

Reviewer Dr. Kirti Shukla


List of Figures
Figur Page
Table Name
e No. Number
1. UML Diagram 7

2. Data Flow Diagram 6


Acronyms
B.Tech. Bachelor of Technology
M.Tech. Master of Technology
BCA Bachelor of Computer Applications
MCA Master of Computer Applications
B.Sc. (CS) Bachelor of Science in Computer Science
M.Sc. (CS) Master of Science in Computer Science
SCSE School of Computing Science and Engineering
Table of Contents

Title Page
No.
Abstract I
List of Table II
List of Figures III
Chapter 1 Introduction 1
1.1 Introduction 2
1.2 Formulation of Problem 3
1.2.1 Tool and Technology Used
Chapter 2 Literature Survey/Project Design 5
CHAPTER-1
Introduction

1.1:- Every organization keeps a record of their staff. Staff records


playa crucial role in staff management. Every organization requires
these records to calculate pay, manage workforce and see performance
of employees. Management of all these records is a challenging task and
time consuming process for the HR team, which can be reduced by using
EMS that is the Employee Management System. Human resources are
an important part of any organization and responsible for the success of
an organization. Organizations invest highly on the management of
employees. HRIS is a human resource information system that manages
inventory control and accounting. EMS is also an informatics system
that is useful in saving time, power and money of owner, HR’s and
manager. All organizations both private and public, have necessities of
employee management systems. But from years they have been using an
old classical method that is pen and paper to maintain record, however in
the past few years there has been a large increase toward using
automatic systems that can manage salary calculation by their own. In
many areas it's a difficult task to implement these systems as they are
costly and require proper maintenance. So, to solve this problem I have
this EMS, which is mobile application based.
FORMULATION OF PROBLEM
1.2 Some of the major challenges in managing Employee
could be as follows:
1.2.1:-
Employee system Management: A disciplinedframework is
required to manage an employee system in anorganization. It
requires the association to work off one all-inclusive strategy
separated into applicable parts and
regions of obligation. The administration duty at differentlevels
needs to comprehend the contracting; estimationadvancement
and examination process great and apply itreliably. Besides
the executives needs to value thatexhibition the board isn’t an
occasion yet something that isoverseen day by day however
recorded and revealed at specific occasions through appraisals
and reviews.

1.2.2:-
Lack of Alignment: Because of several organizational
processes being created in isolation thischallenge is the
absence of alignment. By various groups ofpeople with different
frameworks being used it developed a
link between budgeting, operational planning and
Strategydevelopment. The lacks of alignment has in
performance management system between organizational
delivery,individual performance and departmental performance
thus all frameworks default back to money related estimations.

1.2.3

we would be working on making salary calculation and the task of marking


attendance easy, time saving and genuine. The main aim of this system is to
prevent any kind of cheating and help the HR team to calculate pay correctly. So,
this system aims to provide smooth and comfortable working of employees so that
organization can grow and mark their goals.
Tools and technology used:

1.3:- The scripting language which is used to develop this project for frontend is
JavaScript, html CSS, and for backend we use NodeJS, and for database we use
Mongo dB I chose to work with Visual Studio designed by Microsoft. We use
html/CSS as a language for designing front-end. My choice is based on the reliable
programming environment offered by JavaScript and the highly cleared syntax of
this scripting language as well. We are using mongodb database for storing
employee data.
CHAPTER-2

Literature Survey

The existing employee management system in the organization still uses


the ordinary classical methods which are merely based on pen-paper to
record the data of their employees. Large quantities of registers are to be
maintained for this purpose which results in downright waste of time in
generating reports or searching for employee’s records and loss of data if
any file is lost. It is also an arduous task for organizations as it is an
expensive process. However, somewhere new technologies such as web
based systems,,IOT based systems are used but they also are costly and
difficult to implement at some places.

The other techniques that are in the market are dependent on facial
recognition, biometric scan or card punching. But all of these require an
external device to be installed in the working area, which is again a
costly process and requires regular maintenance
Employee Management System

Problem Statement
Q5: Write a java program to implement “Employee Management System”. In
which you have to include at least three from the given topics as per requirement
of the program: Inheritance, Overriding Methods, Polymorphism, Abstract
Classes, Nested Classes, Interfaces, Lambda Expressions, Exceptional Handling and
I/O Fundamentals. Avoid copying the solutions from any student/website. Try to
implement using the concept covered in the class. Solution must be unique for
each student.

Solution
In this code I have used the concept of Classes and Objects to solve the
problem. I have created a menu for the user which consists of 5 different
features.
1. To add an employee
2. To view details of an employee
3. To remove an employee
4. To update info of an employee
5. To exit the Portal.
For each of these features I have created a separate class to maintain the
decorum of the code. Also I have use the concept of Switch Cases to
automate the task and make it more useful and user friendly. User need
to just enter the numbers as per given and it will perform the task.

CODE
/******************** Importing Essential Libraries
************************/

import java.util.*;
import java.io.*;
/*************************** MENU OF EMS ****************************/

class MainMenu
{
public void menu()
{
System.out.println("*******************************************");
System.out.println("\t EMPLOYEE MANAGEMENT SYSTEM");
System.out.println("*******************************************");
System.out.println("\t\t\t--------------------");
System.out.println("\t\t\t ~Yash thakur");
System.out.println("\t\t\t--------------------");
System.out.println("\n\nPress 1 : To Add an Employee Details");
System.out.println("Press 2 : To See an Employee Details ");
System.out.println("Press 3 : To Remove an Employee");
System.out.println("Press 4 : To Update Employee Details");
System.out.println("Press 5 : To Exit the EMS Portal");

}
}

/************************ To add details of Employee


*********************/

class Employee_Add
{
public void createFile()
{
Scanner sc=new Scanner(System.in);

EmployDetail emp=new EmployDetail();


emp.getInfo();
try{
File f1=new File("file"+emp.employ_id+".txt");
if(f1.createNewFile()){
FileWriter myWriter = new
FileWriter("file"+emp.employ_id+".txt");
myWriter.write("Employee ID:"+emp.employ_id+"\n"+"Employee
Name :"+emp.name+"\n"+
"Father's Name :"+emp.father_name+"\n"+"Employee
Contact :"+emp.employ_contact+"\n"+
"Email Information :"+emp.email+"\n"+"Employee
position :"+emp.position+"\n"+
"Employee Salary :"+emp.employ_salary);
myWriter.close();
System.out.println("\nEmployee has been Added :)\n");

System.out.print("\nPress Enter to Continue...");


sc.nextLine();
}
else {
System.out.println("\nEmployee already exists :(");
System.out.print("\nPress Enter to Continue...");
sc.nextLine();
}
}
catch(Exception e){System.out.println(e);}
}
}

/************************* Taking Employee Details


************************/

class EmployDetail
{
String name;
String father_name;
String email;
String position;
String employ_id;
String employ_salary;
String employ_contact;
public void getInfo()
{
Scanner sc=new Scanner(System.in);
System.out.print("Enter Employee's name --------: ");
name=sc.nextLine();
System.out.print("Enter Employee's Father name -: ");
father_name=sc.nextLine();
System.out.print("Enter Employee's ID ----------: ");
employ_id=sc.nextLine();
System.out.print("Enter Employee's Email ID ----: ");
email=sc.nextLine();
System.out.print("Enter Employee's Position ----: ");
position=sc.nextLine();
System.out.print("Enter Employee contact Info --: ");
employ_contact=sc.nextLine();
System.out.print("Enter Employee's Salary ------: ");
employ_salary=sc.nextLine();
}
}

/************************ To Show details of Employee


*********************/

class Employee_Show
{
public void viewFile(String s) throws Exception
{
File file = new File("file"+s+".txt");
Scanner sc = new Scanner(file);

while (sc.hasNextLine())
{
System.out.println(sc.nextLine());
}
}
}
/***************************** To Remove Employee
*************************/

class Employee_Remove
{
public void removeFile(String ID)
{

File file = new File("file"+ID+".txt");


if(file.exists())
{
if(file.delete());
{
System.out.println("\nEmployee has been removed Successfully");
}
}
else
{
System.out.println("\nEmployee does not exists :( ");
}
}
}

/************************ To Update details of Employee


********************/

class Employee_Update
{
public void updateFile(String s,String o,String n) throws IOException
{
File file = new File("file"+s+".txt");
Scanner sc = new Scanner(file);
String fileContext="";
while (sc.hasNextLine())
{
fileContext =fileContext+"\n"+sc.nextLine();
}
FileWriter myWriter = new FileWriter("file"+s+".txt");
fileContext = fileContext.replaceAll(o,n);
myWriter.write(fileContext);
myWriter.close();

}
}

/************************ To Exit from the EMS Portal


*********************/

class CodeExit
{
public void out()
{
System.out.println("\n*****************************************");
System.out.println("$ cat Thank You For Using my Software :) ");
System.out.println("*****************************************");
System.out.println("\t\t/~ <0d3d by Abhinav Dubey\n");
System.exit(0);
}
}

/***************************** Main Class *******************************/


class EmployManagementSystem
{
public static void main(String arv[])
{
/** To clear the output Screen **/
System.out.print("\033[H\033[2J");

Scanner sc=new Scanner(System.in);


Employee_Show epv =new Employee_Show();

int i=0;

/*** Callining Mainmenu Class function ****/


MainMenu obj1 = new MainMenu();
obj1.menu();

/*** Initialising loop for Menu Choices ***/


while(i<6)
{

System.out.print("\nPlease Enter choice :");


i=Integer.parseInt(sc.nextLine());

/** Switch Case Statements **/


switch(i)
{
case 1:
{
/** Creating class's object and calling Function using that object
**/
Employee_Add ep =new Employee_Add();
ep.createFile();

System.out.print("\033[H\033[2J");
obj1.menu();
break;
}
case 2:
{
System.out.print("\nPlease Enter Employee's ID :");
String s=sc.nextLine();
try
{
epv.viewFile(s);}
catch(Exception e){System.out.println(e);}

System.out.print("\nPress Enter to Continue...");


sc.nextLine();
System.out.print("\033[H\033[2J");
obj1.menu();
break;
}

case 3:
{
System.out.print("\nPlease Enter Employee's ID :");
String s=sc.nextLine();
Employee_Remove epr =new Employee_Remove();
epr.removeFile(s);

System.out.print("\nPress Enter to Continue...");


sc.nextLine();
System.out.print("\033[H\033[2J");
obj1.menu();
break;
}
case 4:
{
System.out.print("\nPlease Enter Employee's ID :");
String I=sc.nextLine();
try
{
epv.viewFile(I);
}
catch(Exception e)
{
System.out.println(e);
}
Employee_Update epu = new Employee_Update();
System.out.print("Please Enter the detail you want to
Update :");
System.out.print("\nFor Example :\n");
System.out.println("If you want to Change the Name, then Enter
Current Name and Press Enter. Then write the new Name then Press Enter. It
will Update the Name.\n");
String s=sc.nextLine();
System.out.print("Please Enter the Updated Info :");
String n=sc.nextLine();
try
{
epu.updateFile(I,s,n);

System.out.print("\nPress Enter to Continue...");


sc.nextLine();
System.out.print("\033[H\033[2J");
obj1.menu();
break;
}
catch(IOException e)
{
System.out.println(e);
}
}
case 5:
{
CodeExit obj = new CodeExit();
obj.out();
}
}
}
}
}

You might also like