Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2K views

Employee Payroll Management System Using Core Java Concepts

The document describes a student micro project on an Employee Payroll Management System using core Java concepts. It includes an introduction describing the classes and methods used. It then provides the data flow diagram, flowchart, code, output results, and conclusion. The project aims to develop programs using core Java concepts and create an application to calculate employee salaries, taxes, and deductions. It uses classes like Keywords, Employee, and defines an exception. The output displays the payment details for each employee. Overall, the project demonstrates applying Java programming fundamentals to a payroll management application.

Uploaded by

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

Employee Payroll Management System Using Core Java Concepts

The document describes a student micro project on an Employee Payroll Management System using core Java concepts. It includes an introduction describing the classes and methods used. It then provides the data flow diagram, flowchart, code, output results, and conclusion. The project aims to develop programs using core Java concepts and create an application to calculate employee salaries, taxes, and deductions. It uses classes like Keywords, Employee, and defines an exception. The output displays the payment details for each employee. Overall, the project demonstrates applying Java programming fundamentals to a payroll management application.

Uploaded by

mohit more
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

[ College logo ]

Pragramme Name and Code: CO4I Academic Year : 2019-20

Course Name and Code: Java Programming (22312) Semester : Fourth

A STYDY ON

Employee Payroll Management System using Core Java Concepts

MICRO PROJECT
Submitted in March 2020 by the group of 4 students

Sr. Roll No Enrollment Seat No


Full name of Student
No (Sem-IV) No (Sem-IV)
1

Under the Guidance of

[ your guide name ]


in

Three Years Diploma Programme in Engineering & Technology of Maharashtra State Board of
Technical Education, Mumbai (Autonomous)
ISO 9001:2008 (ISO/IEC-27001:2013)

At

[ your college name ]

1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI

Certificate

This is to certify that Mr. /Ms.

Roll No: of Third Semester of Computer Diploma Programme in Engineering &

Technology at [ your college name] , has completed the Micro Project satisfactorily in

Subject Java Programming (22412)in the academic year 2019-20 as per the MSBTE

prescribed curriculum of I Scheme.

Place: Pune Enrollment No:

Date: / /2019 Exam. Seat No:

Project Guide Head of the Department Principal

Seal of Institute

2
Index:

Sr. No Title Page No

1 Introduction 4

2 Action Plan 5

3 Data flow Diagram 6-7

4 Flow Chart 8

5 Code 9-12

6 Result(OUTPUT) 12-13

7 Conclusion 14

8 References 14

9 Evaluation Sheet 15

I. Introduction:
3
Project Name:
Employee Payroll Management System

With the help of core java concepts we will create a application to calculate the total
deductible, taxes and the final salary of an employee.
We will use different classes, interfaces and exception handling blocks.
We will use different packages and control blocks for the various requirements of the project.

Classes Used:
 Keywords class;
We use this class to declare all the variables used in the calculation of end salary of the
employees
 Employee class:
There are four separate Methods:
1 accept()
We accept the names of the manager, employee, the number of hours the employee has
worked. We also accept the provident fund amount as well as the profession tax amount.
2 hours()
We use an if() loop to check if the employee has worked the required amount of hours
according to the TOS(Terms of Service).
3calculate()
We calculate the total deductions, total pay as well as the gross salary resulting in the final
salary of the employee.
4 display()
We display all the details of the employee as well as his/her salary.

We also use a Explicitly Declared and Defined Exception class:


InvalidHoursException()
It is use if the no of hours worked do not reach the TOS standards.

1.0Data Flow Diagram:

4
5
2.0FlowChart:
6
3.0 Code:
7
import java.util.Scanner;
import java.io.*;

class keywords
{
double noofemp;
double company_rate = 400;
double noofhours;
double house_rent_allowance = 120000;
double company_rate_allowance = 100000;
double provident_fund;
double profession_tax;
double Insurance_premium;
double pay;
double gross_salary;
double fed_tax = 7.1;
double state_tax=1.8;
double tax;
double total_deductions;
String emp;
String Manager_name;
Scanner sc = new Scanner(System.in);

}
class InvalidHoursException extends Exception
{
public InvalidHoursException()
{
System.out.println("Total Number of hours worked less than TOS.");
}
}

8
class Employee extends keywords
{
public void accept()
{
System.out.println("|Enter the Manager's name:");
Manager_name = sc.nextLine();
System.out.println("|Enter the employee's names :");
emp = sc.nextLine();
System.out.println("enter the total hour's worked");
noofhours= sc.nextDouble();
System.out.println("Enter your provident fund amount:");
provident_fund = sc.nextDouble();
System.out.println("Enter your profession tax amount:");
profession_tax = sc.nextDouble();

}
public void hours()
{
try
{
if(noofhours<100)
{
throw new InvalidHoursException();
}
}
catch(InvalidHoursException e)
{
System.out.println(e);
}
}

public void calculate()


{

9
pay = noofhours * company_rate;
tax = (fed_tax + state_tax)*1000;
total_deductions = provident_fund + profession_tax+Insurance_premium+tax;
gross_salary = pay +house_rent_allowance+company_rate_allowance -
total_deductions;

public void display()


{
System.out.println("Payment Details");
System.out.println("\nName of Employee \t"+emp);
System.out.println("\nHours worked \t"+noofhours);
System.out.println("\nProvident Fund Amount \t"+provident_fund);
System.out.println("\nProfession Tax Amount \t"+profession_tax);
System.out.println("\nTax Amount \t"+tax);
System.out.println("\nTotal Deductions \t"+total_deductions);
System.out.println("\nHouse and rent Allowance\t"+house_rent_allowance);
System.out.println("\nRemaining Allowances' \t"+company_rate_allowance);
System.out.println("\n--------------------------------------------\t");
System.out.println("\nGross Salary is \t"+gross_salary);
}

class test
{
public static void main(String args[])
{
Scanner s = new Scanner(System.in);
Employee e = new Employee();
int noofemp;
System.out.println("|Enter the no of employees'");

10
noofemp = s.nextInt();
int x;
for(x= 1;x<=noofemp;x++)
{
e.accept();
e.calculate();
e.display();
}
}

4.0Result:

11
5.0Conclusion;
We learn the use of the basic concepts of Java Programming and how to implement them in a basic command
line programming for a employee payroll Management System.
12
We learn how to implement control structures.

We learn how to implement exception declared by the programmer.

We also use various methods to accept and calculate the payroll of the employee’s in this project.

We learn various topics such as Exception handling, Data abstraction and data encapsulation

6.0References:

MSBTE, MSBTE Mumbai.

Stack Overflow.

Wikiipedia.

We3school.com

Oracle.com

Reddit: /r java

Micro Project Proposal

Title of Project:

1.0 Aims/Benefits of the Micro-Project:


13
a) To develop programs using core java concepts.
b) To develop programs of Employee Payroll Management System.
.

2.0 Course Outcomes Addressed:

a) To develop programs of using core java concepts.


b) Implement various data processing algorithms.

3.0 Proposed Methodology:

The work will be distributed among 4 students involved in the group. To complete the Project “To create a
program on Employee Management System”, programming data will be collected from reference books, and
internet with related algorithms. A data flow diagram as well as a flowchart will be created The data will be
analyzed and interpreted. Finally the data will be organized and presented in the form of Program.

1.Action Plan:

SR. Details of Activity Planned Planned Name of


NO. Start Finish Responsible Team
date date Members
Discussion and All team members
1
Finalization of the Project 1/2/20 1/2/20
14
Title
All team members
2 Preparation of details 3/2/20 17/2/20
Saba Sayyeed
4 Collection of Data 17/2/20 20/2/20
Discussion and Outline of All team members
5 20/2/20 22/2/20
Content
Rough Writing of the Rutuja Kulkarni
6 22/2/20 25/2/20
Project Contents
Editing And Proof Jovian Dsouza
7 25/2/20 29/2/20
Reading of the Content
Final Completion of the All team members
8 1/3/20 5/3/20
Project
All team members
Seminar Presentation, During During
9 viva-voce, Assessment Practical Practical
and Submission of Report Exam Exam

4.0 Resources Required:

Sr. no. Name of Specifications Qty. Remarks


Resource/material

01 Laptop/Computer i-3,4gb,windows7 1 -

Command prompt, 1 -
02 Internet and Software
notepad
Name of Team Members:

15

You might also like