COIT20245 Introduction to Programming: MAP Calculator Project
VerifiedAdded 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.

COIT20245 INTRODUCTION TO
PROGRAMMING
PROGRAMMING
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Table of Contents
Limitations............................................................................................................................................3
Test plan................................................................................................................................................3
Test Result.............................................................................................................................................6
Limitations............................................................................................................................................3
Test plan................................................................................................................................................3
Test Result.............................................................................................................................................6

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
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
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

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.
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.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

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.
Test Result
Figure 1: MAPCalculator class
The above figure gives you the code of the MAPCalculator class of the project.

Figure 2: Assignment1 class
The above figure depicts the code of the Assignment1 class.
The above figure depicts the code of the Assignment1 class.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Figure 3: Result
Above code shows the output of the project.
Above code shows the output of the project.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 4: Test case 1

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.
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.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

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
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
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Figure 10: Test case 7
1 out of 11
Your All-in-One AI-Powered Toolkit for Academic Success.
 +13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.