Single Choice
Moderate
Qif(5>3){...} runs:
ID: #25913
MCQ Quiz - Class 8 - Decision Control Structure
3 views
Question Info
#25913Q 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:
5 > 3 is true, so the block inside the braces executes.
Why the other options are incorrect:
- Option B: The condition is true, so it runs — not 'nothing'.
- Option C: No error here; syntax is correct.
- Option D: if isn't a loop.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic