CBSE Class 11 Computer Science Question 25 of 114

Tuples — Question 2

Back to all questions
2
Question

Question 2

Choose the correct statement(s).

  1. Both tuples and lists are immutable.
  2. Tuples are immutable while lists are mutable.
  3. Both tuples and lists are mutable.
  4. Tuples are mutable while lists are immutable.
Answer

Tuples are immutable while lists are mutable.

Reason — Tuples can not be modified where as List can be modified.