MCQ
Single Best Answer
Moderate
QWhich of the following is not a valid type of loop control statement?
ID: #23075
For Loop in Programming Language
86 views
Question Info
#23075Q ID
ModerateDifficulty
For Loop in Programming LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
In most programming languages, continue and break are used to control loops. The continue statement skips the current iteration and moves to the next iteration, while break is used to terminate the loop completely. exit is not a valid loop control statement, as it is typically used to terminate the program, not a loop. pass is a statement used in Python to do nothing but is not used as a loop control statement.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic