Single Choice
Moderate
Qelse runs when if condition is:
ID: #25916
MCQ Quiz - Class 8 - Decision Control Structure
2 views
Question Info
#25916Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
else runs ONLY when the if condition is false. When true, the if block runs and else is skipped.
Why the other options are incorrect:
- Option B: When true, the if block runs instead.
- Option C: null isn't a valid boolean state.
- Option D: else has a clear trigger — 'none' is wrong.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic