Final answer:
The correct equivalence partitioning for a program computing the factorial of a number based on given specifications is option C: (n < 0), (0 ≤ n < 20), (20 ≤ n ≤ 200), (n > 200).
Step-by-step explanation:
The question relates to the equivalence partitioning of input values for a program that computes the factorial of a number. The specifications given designate different behaviors depending on the input value, known as n.
Equivalence partitioning is a technique where input data is divided into partitions of equivalent data from which test cases can be derived. According to the specifications, the correct partitions are:
- n < 0
- 0 ≤ n < 20
- 20 ≤ n ≤ 200
- n > 200
Thus, the correct option is C. (n < 0), (0 ≤ n < 20), (20 ≤ n ≤ 200), (n > 200).