MCQ Single Best Answer Moderate

QAssertion (A): In switch case, break statement avoids fall through.
Reason (R): break statement helps to execute only one case at a time.

ID: #24159 ICSE Computer Application - Class X - 2025 PYQ 104 views
Question Info
#24159Q ID
ModerateDifficulty
ICSE Computer Application - Class X - 2025 PYQTopic

Choose the Best Option

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

  • A Both (A) and (R) are true and (R) is a correct explanation of (A).
  • B Both (A) and (R) are true and (R) is not a correct explanation of (A).
  • C (A) is true and (R) is false.
  • D (A) is false and (R) is true.
Correct Answer: Option A

Explanation

(a) Both (A) and (R) are true, and (R) is a correct explanation of (A)
Explanation: The break statement prevents fall-through in a switch case by stopping execution after a case is matched.

Share This Question

Challenge a friend or share with your study group.