ISTQB Advanced Technical Test Analyst (ATTA) — Question 4
What is the number of nested levels for the code fragment?
Answer options
- A. 0
- B. 1
- C. 2
- D. 3
Correct answer: C
Explanation
The correct answer is C, indicating that there are two levels of nested structures in the code fragment. Options A, B, and D are incorrect as they either underestimate or overestimate the levels of nesting present.