Homework 2 Test Case Creation Solution

$30.00

Description

Using the following pseudocode, provide 5 unique test cases that would help validate your algorithm. Be sure to place the test cases in a table showing the input values, and expected output for each test case.

Write “Enter the price in dollars:”

Input Price

Write “Enter state sales tax(e.g. .06) :”

Input SalesTax

Set Price = Price + (Price * SalesTax)

Write “Price with Tax is” + Price

Submit your word or PDF file to your assignments folder no later than the due date.

Grading guidelines

Submission

Points

A minimum of 5 test cases were provided.

60

Input provided and explained for each test case.

10

Expected output provided and explained for each test case.

10

Test cases represent a wide variety of possible input values (e.g. large numbers,

20

small numbers (0), negative, or unexpected non-number entries (%,”hello”…).

Total

100


error: Content is protected !!