Single Choice Moderate

QFirst matching block runs:

ID: #25929 MCQ Quiz - Class 8 - Decision Control Structure 2 views
Question Info
#25929Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Yes
  • B No
  • C All
  • D None
Correct Answer

Explanation

Correct Answer Explanation:

In an else-if ladder, only the FIRST matching condition's block executes. Subsequent conditions are not checked.

Why the other options are incorrect:

  • Option B: It definitely runs.
  • Option C: Only ONE block runs, not all.
  • Option D: One block runs, not none.

Share This Question

Challenge a friend or share with your study group.