|
This conference area is for you to post your
answer to one of the homework 1 problems. Then respond to at least
one post of your classmates (mandatory) to encourage shared
learning experience among all members.
2. Suppose you have been asked to test software
that has been developed for the following applications. Suggest possible
test instances and explain their purpose.
- Rational number calculator (e.g. 1/3 + 5/8)
- Two-dimensional point plotter
- Loan calculator
a) Rational Numbers
Test instance 1: division by zero - this ensures any unforseen
data returns do not occur or to ensure appropriate error
message are displayed.
Test Instance 2: division by extremely large numbers - Testing for this
ensures that unforseen results are not received in
precision and overflow.
Test Instance 3: Division by negative numbers - We need to ensure that
the calculations return proper values based on
this type of data
Test
Instance 4: Calculate numbers that generate values outside of the number
set of rational numbers, like .9999, or
.1111, etc.
Test
Instance 5: We should also test for string and char data types to
ensure that this type of data is not entered.
b) Two-dimensional point plotter
The
same input above can be input to determine values here with the exception
of instance 4, which can be plotted
assuming the correct data type is used. Additionally, we need to
input data that will generate plot points in all four
quadrants of a graph. All of these data will ensure that the proper
formula was used to capture the data (y = mx+b)
c) Loan calculator
For the loan calculator data, some of the data we need to
test to ensure proper data returns, are:
1) Dollar values less than $0.00
2) Percentage's less than 0%
3) Time periods less than zero (0)
4) We also need to attempt to enter string and char data
types to ensure proper error checking is implemented within the
program.
Send me email
Visit my website
|