Multiple choice general knowledge

For simple program of loops, there can be ______ paths

  1. over million

  2. 9

  3. 6

  4. a few

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Even simple nested loop structures can create astronomically large numbers of execution paths. A program with just 10 nested loops, each executing only 10 times, has 10^10 (10 billion) paths. Real-world programs with complex nested structures, conditional branches, and data dependencies can easily have millions or billions of potential paths, making exhaustive testing impossible.