cmis102 Homework 2
Homework 2 – Test Case Creation |
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 A minimum of 5 test cases were provided. Input provided and explained for each test case. Expected output provided and explained for each test case. Test cases represent a wide variety of possible input values (e.g. large numbers, small numbers (0), negative, or unexpected non-number entries (%,”hello”…). Total |
Points 3 0.5 0.5 1 |
5 |
-
Rating:
5/
Solution: cmis102 Homework 2