SnowPro Core Certification — Question 945
Which type of loop requires a BREAK statement to stop executing?
Answer options
- A. FOR
- B. LOOP
- C. REPEAT
- D. WHILE
Correct answer: B
Explanation
The LOOP structure continues indefinitely until a BREAK statement is encountered, making it necessary to explicitly stop it. In contrast, FOR, REPEAT, and WHILE loops have defined conditions for termination that do not rely solely on a BREAK statement.