COIT20245 Introduction to Programming: MAP Calculator Project

Verified

Added on  2025/04/30

|11
|530
|332
AI Summary
Desklib provides past papers and solved assignments for students. This project focuses on a Java-based MAP calculator.
Document Page
COIT20245 INTRODUCTION TO
PROGRAMMING
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
Limitations............................................................................................................................................3
Test plan................................................................................................................................................3
Test Result.............................................................................................................................................6
Document Page
Limitations
There’s no limitation of the program, the program is checked under all the conditions and it’s
working perfectly. As the program is developed by performing all necessary analysis and
designing, therefore, the output, we obtain is fully satisfying the entire requirements. The
application looks can be improved by using GUI which makes the application more user
interactive. One can also add validation on the ID of the person enters its detail of blood
pressure.
Test plan
S.no Objective Expected
Result
Actual result Pass/Fail
1. Single decimal
point result
needs to be
obtained.
The results
which are
required
obtained must be
in single decimal
places only.
Obtaining results
are according to
the required
result. All results
are in single
decimal place
only
Pass
2. People used to
identify by
different or
unique
identification
number.
Every people
has a unique
identity or
identification
number.
Two people can
be assigned the
same
identification
number.
Fail
3. Enter SBP value
must be always
greater than the
DBP value.
The data centres
in this format is
accepted by the
program. If DBP
value is greater
then the SBP
then data is not
The result is fine
as the data
accepted by the
table is
according to the
requirement.
Pass
Document Page
be accepted.
4. The identifier
must be in the
range of 1 to
100.
Identifier enters
is not in the
range of 1 to 100
is not accepted
by the program.
The result
obtained from
the program is
according to the
expectation.
Pass
5. Average of the
result must be
obtained
correctly.
The average
result is obtained
by using all
MAP the values.
The result is
obtained as
expected
Pass
6. MAP value is
calculated
according to the
given formula
only (1.0/3.0
*sbp+2.0/3.0
*DBP)
The result
obtained is
according to the
formula only.
The actual result
is according to
the expected
result.
Pass
7. Invalid entries
are must not be
entertained by
the program.
Here invalid
entries mean
when DBP value
is greater than
the SBP values.
An error
message is
represented.
Invalid entry
message is
shown.
Pass
Two separate files are created, one is class for MAPcalculator which consist of functions for
calculating MAP value, one function checks whether the MAP value is high, low or normal,
and the last function calculates the Average value of the MAP arraylist.
Code provides an error message when invalid Blood pressure is entered. This is shown in the
test result.
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
All results are shown in the desired number decimal numbers.
Test Result
Figure 1: MAPCalculator class
The above figure gives you the code of the MAPCalculator class of the project.
Document Page
Figure 2: Assignment1 class
The above figure depicts the code of the Assignment1 class.
Document Page
Figure 3: Result
Above code shows the output of the project.
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 1
Document Page
Figure 5: Test case 2
The above figure states that the obtained program accept the same identification number.
Figure 6: Test case 3
The above figure states that the result only accepts the certain values of SBP and DBP.
Document Page
Figure 7: Test case 4
The above screenshot is showing the identification number is in range 1 to 100 only.
Figure 8: Test case 5
Figure 9: Test case 6
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 10: Test case 7
chevron_up_icon
1 out of 11
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]