Multiple choice technology databases

What is true about the simple loop statement? 1. Loop block has entry criteria 2. Loop block checks for exit criteria 3. We need to put an entry criteria manually 4. We need to put an exit criteria manually. 5. Loop without any exit criteria will be indefinite loop.

  1. 1, 2 and 4 are true

  2. all statements are valid

  3. Only 4 an d 5 are true

  4. 1, 4 and 5 are true

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

Simple loops have no built-in entry or exit criteria; they execute indefinitely until manually exited. Statements 1 and 2 are false (no automatic criteria), while 4 and 5 are true (manual exit needed, otherwise infinite loop). Option C is correct.