Java-Based Tax Calculation System: A Practical Assignment

Verified

Added on  2025/08/27

|14
|425
|489
AI Summary
Desklib provides solved assignments and past papers to help students succeed.
Document Page
Unit Name
Unit Code
Student Name:
Student ID:
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction................................................................................................................................2
Test cases...................................................................................................................................3
Screenshots.................................................................................................................................4
Conclusion................................................................................................................................10
References................................................................................................................................11
2
Document Page
Introduction
In this assignment, we are going to tax calculation system where will calculate the tax for
each employee with respect to their income. We will also find out the group of the employee
on the basis of their incomes. We will provide different options to the user in order to extract
the data as user want. We will develop this application in the JAVA programming language.
We will also mention the working of the system with sufficient screenshots.
3
Document Page
UML Diagram
Figure 1 UML Diagram
4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Test cases
Test case No. Test Case Expectation Actual result Result
1 Checking the
entered amount
by entering the
value out of
range.
The system has to
instruct user for
entering the
correct income
value.
The system
forces the user
for entering the
correct value of
income.
Pass
2. Checking the
entered
employee age
by entering the
age out of
range.
The system has to
instruct the user
for entering the
correct age value.
The system
forces the user
for entering the
correct value of
age
Pass
3. Take the input
of the 9
employees.
The system has to
take the input for
all the 9
employees
System taking
input of 9
employees.
Pass
4. Calculate the
tax for all the
employee.
The system has to
calculate the tax
for all the
employees.
The system
successfully
calculating the
tax.
Pass
5. Find the
employees by
age.
The system has to
find the employee
details on the
basis of the
entered age.
The system
finds out the
details of the
employees of
that age.
Pass
6. Sorting on the
basis of the
employees'
names.
The system
should sort and
show the details.
System sorting
the employees’
details.
Pass
7. Exit from the
system.
The system
should take out
the user from the
system (Lebanon
Successfully
exit from the
Pass
5
Document Page
& El-Geish,
2018).
system.
6
Document Page
Screenshots
Figure 2 Test Case: 1
Figure 3 Test Case: 2
7
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Figure 4 Test Case: 3
8
Document Page
Figure 5 Test Case: 4
9
Document Page
Figure 6 Test Case: 5
10
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Figure 7 Test Case: 6
11
Document Page
Figure 8 Test Case: 7
12
chevron_up_icon
1 out of 14
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]