Assertion-Reasoning Practice Questions


ASSERTION (A) and REASONING (R) based questions.
Mark the correct choice as
(a) Both (A) and (R) are true and (R) is the correct explanation for (A).
(b) Both (A) and (R) are true and (R) is not the correct explanation for (A).
(c) (A) is true but (R) is false.
(d) (A) is false but (R) is true.

  1. Assertion(A): List is an immutable data type
    Reasoning(R): When an attempt is made to update the value of an immutable variable, the old variable is destroyed and a new variable is created by the same name in memory.
  2. (d) A is false but R is True

  3. Assertion(A): Python Standard Library consists of various modules.
    Reasoning(R): A function in a module is used to simplify the code and avoids repetition
  4. (b) Both A and R are true but R is not the correct explanation for A