The objective of this assignment is to reinforce your understanding of equivalence partitioning testing and the use of boundary values. To complete this assignment successfully you should have read the relevant material on Equivalence Partitioning Testing in Topic 4 notes and the text book.

Question 1

Define the equivalence partitions and give suitable test cases for the following:

  • Zip codes: Range from 00600 to 99950 inclusive.
  • States: AL (Alabama) to WY (Wyoming)
  • Last Name: One through fifteen characters (alphabetic, space and hyphen)
  • User ID: Eight characters, at least two of which are not alphabetic (numeric, special characters)

For full credit, you should give one test case for each equivalence partition defined by you, even if it is possible to cover more than one partitions in one test case. Your answer should be formatted using tables similar to the example shown below:

Input variable name: Social Security Number

Partition Type Partition description Test cases
Valid No. of characters = 9 191672024
Invalid No. of characters < 9
No. of characters > 9
17639
1815630416
Valid 001010001 <= value <= 729999999 050899888
Invalid value < 001010001
value > 729999999
0010000001
739999999

Note: You are not required to write a complete test suite with test id, expect and actual outputs for this assignment - just the test input value is required.

Question 2

Consider the following table used for grading assignments.

Score in points Grade
90-100 A
80-89 B
70-79 C
60-69 D
59 and below F

Your task is to test a course assessment utility that uses the criteria given above. List the valid and invalid equivalent partitions and give the test cases for each. Your test cases are required to incorporate boundary value testing.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.