volume_mute
Why Different Sequence Sizes Matter
publish date: 2026/06/18 03:41:34.583991 UTC
volume_mute
The guideline recommends using different sequences of different sizes in different tests. What is the primary reason for this?
Correct Answer
Different sequence sizes decrease the chances that a defective program accidentally produces a correct output
Explanation
Using different sequences of different sizes decreases the chances that a program with defects will accidentally produce a correct output because of some accidental characteristic of the input. A defective program might coincidentally produce correct results for a specific size, so varying sizes makes tests more robust.
Reference
Software Engineering, Ian Sommerville, 10th edition
