BThey check conditions before each iteration to avoid errors.
CThey require manual index management to prevent errors.
DThey do not support looping over collections.
Step-by-Step Solution
Solution:
Step 1: Understand Swift loop behavior
Swift loops automatically check the loop condition before each iteration to ensure safety.
Step 2: Compare options with loop safety
Only They check conditions before each iteration to avoid errors. describes this safety feature correctly; others describe unsafe or incorrect behaviors.
Final Answer:
They check conditions before each iteration to avoid errors. -> Option B
Quick Check:
Loop safety = condition checks before iteration [OK]
Quick Trick:Remember: Swift loops always check conditions first [OK]
Common Mistakes:
Thinking Swift loops allow infinite loops without checks
Believing manual index management is needed
Assuming loops don't support collections
Master "Loops" in Swift
9 interactive learning modes - each teaches the same concept differently