Single Choice Moderate

QFinal else runs when:

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

Choose the Best Option

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

  • A None of the conditions match
  • B First one matches
  • C Always
  • D Never
Correct Answer

Explanation

Correct Answer Explanation:

The final else acts as a 'default' case — it runs only if NONE of the previous conditions matched.

Why the other options are incorrect:

  • Option B: If the first matched, other blocks (including else) are skipped.
  • Option C: 'Always' would break the exclusive logic.
  • Option D: It runs when nothing else matches.

Share This Question

Challenge a friend or share with your study group.