Which of the following is a structure which does not belong to classes of loops considered for loop testing ?
MH SET - 2019, SET Exam - 2019,
Answer: D
The structure not among the loop classes is the Structured loop.
Loop testing, a white-box technique described by Beizer and in Pressman, considers four classes of loops: simple loops, nested loops, concatenated loops and unstructured loops. Each has its own test strategy; for simple loops, for example, the tests skip the loop, pass through once, twice, m times, and n - 1, n and n + 1 times.
The fourth class is the unstructured loop, which should be redesigned to use structured programming constructs. 'Structured loop' is not one of the classes.
Please log in or register to report this question.