Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(vi)

1 mark

Computer ScienceISC 2025 Computer Science Paper 1Assertion-reasonStatements, Scope

Study the Assertion and Reason and choose the correct option.

The break statement prevents fall through effect in switch case construct. Given below are two…

Assertion: The break statement prevents fall through effect in switch case construct.

Reason: The break statement enables unnatural exit from the loop.

Given below are two statements marked, Assertion and Reason. Read the two statements carefully and choose the correct option.
  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Both Assertion and Reason are false.

Answer

Answer

Checked answer.

Correct option: (b)

Answer: (b) Both Assertion and Reason are true but Reason is not the correct explanation for Assertion. Without break, execution falls through into the following cases, so break does prevent fall through in a switch (Assertion true). break also ends a loop early (Reason true). But the Reason is about loops, while the Assertion is about switch, so the Reason does not explain the Assertion.