0% found this document useful (0 votes)
6 views15 pages

Java Report

The document presents an Alternate Assessment Tool report for the Employee Payroll System project developed by students of Dayananda Sagar College of Engineering under the guidance of Dr. Reshma J. It outlines the project's objectives, functionalities, and technologies used, emphasizing the implementation of Java programming concepts and the successful management of employee payroll records. The project aims to provide a user-friendly interface for adding employee details, calculating salaries, and displaying records while ensuring proper input validation.

Uploaded by

mandysharma520
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views15 pages

Java Report

The document presents an Alternate Assessment Tool report for the Employee Payroll System project developed by students of Dayananda Sagar College of Engineering under the guidance of Dr. Reshma J. It outlines the project's objectives, functionalities, and technologies used, emphasizing the implementation of Java programming concepts and the successful management of employee payroll records. The project aims to provide a user-friendly interface for adding employee details, calculating salaries, and displaying records while ensuring proper input validation.

Uploaded by

mandysharma520
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DAYANANDA SAGAR COLLEGE OF ENGINEERING

(An Autonomous Institute affiliated to Visvesvaraya Technological University (VTU), Belagavi,


Approved by AICTE and UGC, Accredited by NAAC with ‘A’ grade & ISO 9001 – 2015 Certified Institution)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING


(Accredited by NBA Tier 1: 2025-2028)

Alternate Assessment Tool Report submitted for the subject

Title: EMPLOYEE PAYROLL SYSTEM

Introduction to Java – 22IS652

Submitted by

Name USN
Karunya C 1DS23EC095
Kumar Ayush 1DS23EC103
Mahadevaswamy M S 1DS23EC107
Mandeep Sharma 1DS23EC116

Under the Guidance of


[Link] J
Associate Professor
Department of Information Science & Engineering
DSCE, Bengaluru

VISVESVARAYA TECHNOLOGICAL UNIVERSITY


JNANASANGAMA, BELAGAVI-590018, KARNATKA
2025-26
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute affiliated to Visvesvaraya Technological University (VTU), Belagavi,
Approved by AICTE and UGC, Accredited by NAAC with ‘A’ grade & ISO 9001 – 2015 Certified Institution)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING


(Accredited by NBA Tier 1: 2025-2028)

CERTIFICATE

This is to certify that the Alternate Assessment Tool (AAT) entitled “Employee Payroll System” is a
bonafide work carried out by Karunya C (1DS23EC095), Kumar Ayush (1DS23EC103),
Mahadevaswamy M S (1DS23EC107) & Mandeep Sharma (1DS23EC116) as a 20- mark
component in partial fulfillment for the 6th semester of Bachelor of Engineering in Information Science
& Engineering of the Visvesvaraya Technological University, Belgaum during the year 2025-2026. The
AAT report has been approved as it satisfies the academic requirements prescribed for the Bachelor of
Engineering degree.

Signature of Faculty Signature of HOD


[Dr. Reshma J ] [Dr. Annapurna P Patil]
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute affiliated to Visvesvaraya Technological University (VTU), Belagavi,
Approved by AICTE and UGC, Accredited by NAAC with ‘A’ grade & ISO 9001 – 2015 Certified Institution)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING


(Accredited by NBA Tier 1: 2025-2028)

DECLARATION

I declare that we abide by the ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice. The work submitted in this report of Introduction
to Java (22IS652), VI Semester BE, ISE has been compiled by referring to the relevant online and offline
resources to the best of our understanding and in partial fulfillment of the requirement for the award of the
degree of Bachelor of Engineering in Information Science & Engineering, at Dayananda Sagar College of
Engineering, an autonomous institution affiliated to VTU, Belagavi during the academic year 2025-2026.
We hereby declare that the same has not been submitted in part or full for other academic
purposes.

Karunya C (1DS23EC095)
Kumar Ayush (1DS23EC103)
Mahadevaswamy M S (1DS23EC107)
Mandeep Sharma (1DS23EC116)

Date: 15/04/2026
Table of Contents

Chapter Topics Page No.

1 Introduction 1

2 About the Project 2-4

3 Pseudocode 5-6

4 Results 7-9

5 Conclusion 10
Online Shopping Cart System

Chapter 1: Introduction
1.1 Overview

The Employee Payroll System is a Java-based console application developed to manage employee
salary details efficiently.

This project is designed to simulate a simple payroll management process in an organization.

It allows users to:

 Add employee details

 Store payroll records

 Calculate salary automatically

 Display all employee details

 Handle user input errors

The system provides a menu-driven interface, making it easy for users to interact with the
application.

1.2 Objectives
The main objectives of this project are:
 To develop a payroll system using Java
 To understand object-oriented programming concepts
 To implement inheritance and abstraction
 To perform salary calculation automatically
 To improve Java programming skills.

1.3 Technologies Used


This project uses:
 Java Programming Language
 Object-Oriented Programming concepts
 Java Scanner class
 ArrayList
 ExceptionHandling
INTRODUCTION TO JAVA (22IS652) AY 2025-26 1
Online Shopping Cart System

Chapter 2: About the Project


2.1 Project Description
The Employee Payroll System is developed using Java and follows object-oriented programming principles.
The system maintains employee details and salary records dynamically.
It is designed for:
 Small office use
 Educational demonstration
 Basic payroll understanding
The program stores employee information in an ArrayList and displays the complete employee payroll
roster whenever required.

2.2 Functional Modules


The project consists of the following modules:
1. Employee Module
This module stores:
 Employee ID
 Employee name
2. Full-Time Employee Module
This module:
 Stores monthly salary
 Calculates fixed salary
3. Part-Time Employee Module
This module:
 Stores hours worked
 Stores hourly rate
 Calculates salary based on working hours
4. Payroll Display Module
This module:
 Displays all employee records
 Shows employee type
 Shows salary details
INTRODUCTION TO JAVA (22IS652) AY 2025-26 2
Online Shopping Cart System

5. Input Validation Module


This module:
 Handles wrong input type
 Prevents negative salary entries
 Prevents invalid hours

2.3 Java Concepts Used


The project demonstrates important Java concepts:
Abstraction
 Abstract Employee class is used
Inheritance
 FullTimeEmployee and PartTimeEmployee inherit Employee
Polymorphism
 calculateSalary() method overridden
Encapsulation
 Employee details kept private
Exception Handling
 Invalid input handled safely
Collections
 ArrayList used for dynamic storage

2.4 Benefits of the System


Benefits include:
 Easy payroll management
 Reduced manual effort
 Accurate salary calculations
 Better record handling
 Simple user interaction

INTRODUCTION TO JAVA (22IS652) AY 2025-26 3


Online Shopping Cart System

Flowchart

INTRODUCTION TO JAVA (22IS652) AY 2025-26 4


Online Shopping Cart System

Chapter 3: Pseudocode
START
INITIALIZE Scanner object
INITIALIZE ArrayList for employee records
SET program status = running
DISPLAY welcome message
DO
DISPLAY main menu options
1. Add Full-Time Employee
2. Add Part-Time Employee
3. Display All Employees
4. Exit

READ user choice


IF invalid input format THEN
DISPLAY error message
CLEAR invalid input
CONTINUE
END IF

IF choice == 1 THEN
INPUT employee ID
INPUT employee name
INPUT monthly salary
IF salary < 0 THEN
DISPLAY invalid salary message
ELSE
CREATE FullTimeEmployee object
ADD employee to ArrayList
DISPLAY success message
END IF
INTRODUCTION TO JAVA (22IS652) AY 2025-26 5
Online Shopping Cart System

ELSE IF choice == 2 THEN


INPUT employee ID
INPUT employee name
INPUT hours worked
INPUT hourly rate
IF hours < 0 OR rate < 0 THEN
DISPLAY invalid input message
ELSE
CREATE PartTimeEmployee object
ADD employee to ArrayList
DISPLAY success message
END IF
ELSE IF choice == 3 THEN
IF employee list is empty THEN
DISPLAY "No employees in system"
ELSE
DISPLAY payroll roster
FOR each employee in ArrayList
DISPLAY employee details
END FOR
END IF
ELSE IF choice == 4 THEN
SET program status = false
DISPLAY exit message
ELSE
DISPLAY invalid menu choice message
END IF
WHILE program status == true
CLOSE Scanner
END

INTRODUCTION TO JAVA (22IS652) AY 2025-26 6


Online Shopping Cart System

Chapter 4: Results
The Employee Payroll System was successfully executed, and all the core functionalities worked
as expected.

The system was tested for different user operations such as adding full-time employees, adding
part-time employees, displaying payroll records, and exiting the application.

The following results were observed:

• The program successfully displayed a menu-driven interface for user interaction.

• Full-time employee details such as Employee ID, Name, and Monthly Salary were accepted
correctly.

• Part-time employee details such as Employee ID, Name, Hours Worked, and Hourly Rate
were accepted successfully.

• Salary calculation was performed accurately:

 Full-Time Employee salary = fixed monthly salary

 Part-Time Employee salary = hours worked × hourly rate

• Employee records were dynamically stored in the ArrayList without errors.

• The system correctly displayed all employee details in the payroll roster.

• Exception handling worked properly:

 Invalid input formats were detected

 Negative salary / invalid working hours were restricted

• The program exited safely when the user selected the exit option.

INTRODUCTION TO JAVA (22IS652) AY 2025-26 7


Online Shopping Cart System

Sample Output Verification:

From the output screenshots provided:

• Full-Time Employee added:

 ID: 1001

 Name: Bob

 Monthly Salary: $5005

• Part-Time Employee added:

 ID: 1002

 Name: Dob

 Hours Worked: 45

 Hourly Rate: $25

 Calculated Salary: $1125

• Payroll roster displayed:

 Bob → Full-Time → Salary: $5005

 Dob → Part-Time → Salary: $1125

•Exit message displayed successfully:


“Exiting the Payroll System. Goodbye!”

INTRODUCTION TO JAVA (22IS652) AY 2025-26 8


Online Shopping Cart System

Figure-2a: Output

Figure-2b: Output

INTRODUCTION TO JAVA (22IS652) AY 2025-26 9


Online Shopping Cart System

Figure-2c: Output

INTRODUCTION TO JAVA (22IS652) AY 2025-26 10


Online Shopping Cart System

Chapter 5: Conclusion
The Employee Payroll System was successfully developed as a Java-based console application for
managing employee records and salary calculations. The project met its main objective of creating
a simple, accurate, and user-friendly payroll system. It allows users to add employee details,
calculate salaries, display records, and handle invalid inputs efficiently.

This project helped in understanding important Java concepts such as abstraction, inheritance,
polymorphism, exception handling, and dynamic storage using ArrayList. It also improved
practical programming skills and showed how software can simplify payroll management tasks.

Overall, the project is a useful learning experience and provides a strong foundation for future
improvements such as GUI development, database integration, and advanced payroll features.

Key Outcomes of the Project

• Successfully developed a menu-driven payroll management system using Java.

•Implemented employee record management for full-time and part-time employees.

• Achieved accurate salary calculation using proper logic.

• Applied object-oriented programming concepts effectively.

• Used ArrayList for dynamic employee data storage.

• Implemented exception handling for better input validation.

• Improved Java programming and problem-solving skills.

• Built a simple, efficient, and easy-to-use system.

• Created a strong base for future enhancements.

INTRODUCTION TO JAVA (22IS652) AY 2025-26 11

You might also like