Python Tuples MCQs with Answers

Practice Python Tuples MCQs with Answers provided below. The MCQ Questions for [current-page:node:field_class] Tuples [current-page:node:field_subject] with answers and follow the latest [current-page:node:field_board]/ NCERT and KVS patterns. Refer to more Chapter-wise MCQs for [current-page:node:field_board] [current-page:node:field_class] [current-page:node:field_subject] and also download more latest study material for all subjects

MCQ for [current-page:node:field_class] [current-page:node:field_subject] Tuples

[current-page:node:field_class] [current-page:node:field_subject] students should review the 50 questions and answers to strengthen understanding of core concepts in Tuples

Tuples MCQ Questions [current-page:node:field_class] [current-page:node:field_subject] with Answers

Question. Which of the following is a Python tuple?
(a) [1, 2, 3]
(b) (1, 2, 3)
(c) {1, 2, 3}
(d) {}
Answer: B
Explanation: Tuples are represented with round brackets.

Question. Suppose \( t = (1, 2, 4, 3) \), which of the following is incorrect?
(a) \( print(t[3]) \)
(b) \( t[3] = 45 \)
(c) \( print(max(t)) \)
(d) \( print(len(t)) \)
Answer: B
Explanation: Values cannot be modified in the case of tuple, that is, tuple is immutable.

Question. What will be the output of the following Python code?
>>> \( t=(1,2,4,3) \)
>>> \( t[1:3] \)
(a) (1, 2)
(b) (1, 2, 4)
(c) (2, 4)
(d) (2, 4, 3)
Answer: C
Explanation: Slicing in tuples takes place just as it does in strings.

Question. What will be the output of the following Python code?
>>> \( t=(1,2,4,3) \)
>>> \( t[1:-1] \)
(a) (1, 2)
(b) (1, 2, 4)
(c) (2, 4)
(d) (2, 4, 3)
Answer: C
Explanation: Slicing in tuples takes place just as it does in strings.

Question. What will be the output of the following Python code?
>>> \( t = (1, 2, 4, 3, 8, 9) \)
>>> \( [t[i]\ for\ i\ in\ range(0, len(t), 2)] \)
(a) [2, 3, 9]
(b) [1, 2, 4, 3, 8, 9]
(c) [1, 4, 8]
(d) (1, 4, 8)
Answer: C
Explanation: Execute in the shell to verify.

Question. What will be the output of the following Python code?
1. \( d = \{"john":40, "peter":45\} \)
2. \( d["john"] \)
(a) 40
(b) 45
(c) “john”
(d) “peter”
Answer: A
Explanation: Execute in the shell to verify.

Question. What will be the output of the following Python code?
>>> \( t = (1, 2) \)
>>> \( 2 * t \)
(a) (1, 2, 1, 2)
(b) [1, 2, 1, 2]
(c) (1, 1, 2, 2)
(d) [1, 1, 2, 2]
Answer: A
Explanation: * operator concatenates tuple.

Question. What will be the output of the following Python code?
>>> \( t1 = (1, 2, 4, 3) \)
>>> \( t2 = (1, 2, 3, 4) \)
>>> \( t1 < t2 \)
(a) True
(b) False
(c) Error
(d) None
Answer: B
Explanation: Elements are compared one by one in this case.

Question. What will be the output of the following Python code?
>>> \( my\_tuple = (1, 2, 3, 4) \)
>>> \( my\_tuple.append( (5, 6, 7) ) \)
>>> print \( len(my\_tuple) \)
(a) 1
(b) 2
(c) 5
(d) Error
Answer: D
Explanation: Tuples are immutable and don’t have an append method. An exception is thrown in this case.

Question. What will be the output of the following Python code?
numberGames = {}
numberGames[(1,2,4)] = 8
numberGames[(4,2,1)] = 10
numberGames[(1,2)] = 12
sum = 0
for k in numberGames:
    sum += numberGames[k]
print \( len(numberGames) + sum \)
(a) 30
(b) 24
(c) 33
(d) 12
Answer: C
Explanation: Tuples can be used for keys into dictionary. The tuples can have mixed length and the order of the items in the tuple is considered when comparing the equality of the keys.

Question. What is the data type of (1)?
(a) Tuple
(b) Integer
(c) List
(d) Both tuple and integer
Answer: B
Explanation: A tuple of one element must be created as (1,).

Question. If \( a=(1,2,3,4) \), \( a[1:-1] \) is _________
(a) Error, tuple slicing doesn’t exist
(b) [2,3]
(c) (2,3,4)
(d) (2,3)
Answer: D
Explanation: Tuple slicing exists and \( a[1:-1] \) returns (2,3).

Question. What will be the output of the following Python code?
>>> \( a=(1,2,(4,5)) \)
>>> \( b=(1,2,(3,4)) \)
>>> \( a < b \)
(a) False
(b) True
(c) Error, < operator is not valid for tuples
(d) Error, < operator is valid for tuples but not if there are sub-tuples
Answer: A
Explanation: Since the first element in the sub-tuple of a is larger that the first element in the subtuple of b, False is printed.

Question. What will be the output of the following Python code?
>>> \( a=("Check")*3 \)
>>> a
(a) (‘Check’,’Check’,’Check’)
(b) * Operator not valid for tuples
(c) (‘CheckCheckCheck’)
(d) Syntax error
Answer: C
Explanation: Here (“Check”) is a string not a tuple because there is no comma after the element.

Question. What will be the output of the following Python code?
>>> \( a=(1,2,3,4) \)
>>> \( del(a[2]) \)
(a) Now, \( a=(1,2,4) \)
(b) Now, \( a=(1,3,4) \)
(c) Now \( a=(3,4) \)
(d) Error as tuple is immutable
Answer: D
Explanation: ‘tuple’ object doesn’t support item deletion.

Question. What will be the output of the following Python code?
>>> \( a=(2,3,4) \)
>>> \( sum(a,3) \)
(a) Too many arguments for sum() method
(b) The method sum() doesn’t exist for tuples
(c) 12
(d) 9
Answer: C
Explanation: In the above case, 3 is the starting value to which the sum of the tuple is added to.

Question. Is the following Python code valid?
>>> \( a=(1,2,3,4) \)
>>> del a
(a) No because tuple is immutable
(b) Yes, first element in the tuple is deleted
(c) Yes, the entire tuple is deleted
(d) No, invalid syntax for del method
Answer: C
Explanation: The command del a deletes the entire tuple.

Question. What type of data is: \( a=[(1,1),(2,4),(3,9)] \)?
(a) Array of tuples
(b) List of tuples
(c) Tuples of lists
(d) Invalid type
Answer: B
Explanation: The variable a has tuples enclosed in a list making it a list of tuples.

Question. What will be the output of the following Python code?
>>> \( a=(0,1,2,3,4) \)
>>> \( b=slice(0,2) \)
>>> \( a[b] \)
(a) Invalid syntax for slicing
(b) [0,2]
(c) (0,1)
(d) (0,2)
Answer: C
Explanation: The method illustrated in the above piece of code is that of naming of slices.

Question. Is the following Python code valid?
>>> \( a=(1,2,3) \)
>>> \( b=('A','B','C') \)
>>> \( c=tuple(zip(a,b)) \)
(a) Yes, c will be ((1, ‘A’), (2, ‘B’), (3, ‘C’))
(b) Yes, c will be ((1,2,3),(‘A’,’B’,’C’))
(c) No because tuples are immutable
(d) No because the syntax for zip function isn’t valid
Answer: A
Explanation: Zip function combines individual elements of two iterables into tuples. Execute in Python shell to verify.

Question. Is the following Python code valid?
>>> a,b,c=1,2,3
>>> a,b,c
(a) Yes, [1,2,3] is printed
(b) No, invalid syntax
(c) Yes, (1,2,3) is printed
(d) 1 is printed
Answer: C
Explanation: A tuple needn’t be enclosed in parenthesis.

Question. What will be the output of the following Python code?
a = ('check',)
n = 2
for i in range(int(n)):
    a = (a,)
    print(a)
(a) Error, tuples are immutable
(b) (('check',),)
((('check',),),)
(c) ((‘check’,)’check’,)
(d) (('check',)’check’,)
((('check',)’check’,)’check’,)
Answer: B
Explanation: The loop runs two times and each time the loop runs an extra parenthesis along with a comma is added to the tuple (as a=(a,)).

Question. Is the following Python code valid?
>>> a,b=1,2,3
(a) Yes, this is an example of tuple unpacking. a=1 and b=2
(b) Yes, this is an example of tuple unpacking. a=(1,2) and b=3
(c) No, too many values to unpack
(d) Yes, this is an example of tuple unpacking. a=1 and b=(2,3)
Answer: C
Explanation: For unpacking to happen, the number of values of the right hand side must be equal to the number of variables on the left hand side.

Question. What will be the output of the following Python code?
>>> \( a=(1,2) \)
>>> \( b=(3,4) \)
>>> \( c=a+b \)
>>> c
(a) (4,6)
(b) (1,2,3,4)
(c) Error as tuples are immutable
(d) None
Answer: B
Explanation: In the above piece of code, the values of the tuples aren’t being changed. Both the tuples are simply concatenated.

Question. What will be the output of the following Python code?
>>> \( a,b=6,7 \)
>>> \( a,b=b,a \)
>>> a,b
(a) (6,7)
(b) Invalid syntax
(c) (7,6)
(d) Nothing is printed
Answer: C
Explanation: The above piece of code illustrates the unpacking of variables.

Question. What will be the output of the following Python code?
>>> import collections
>>> \( a=collections.namedtuple('a',['i','j']) \)
>>> \( obj=a(i=4,j=7) \)
>>> obj
(a) a(i=4, j=7)
(b) obj(i=4, j=7)
(c) (4,7)
(d) An exception is thrown
Answer: A
Explanation: The above piece of code illustrates the concept of named tuples.

Question. Tuples can’t be made keys of a dictionary.
(a) True
(b) False
Answer: B
Explanation: Tuples can be made keys of a dictionary because they are hashable.

Question. Is the following Python code valid?
>>> \( a=2,3,4,5 \)
>>> a
(a) Yes, 2 is printed
(b) Yes, [2,3,4,5] is printed
(c) No, too many values to unpack
(d) Yes, (2,3,4,5) is printed
Answer: D
Explanation: A tuple needn’t be enclosed in parenthesis.

Question. What will be the output of the following Python code?
>>> \( a=(2,3,1,5) \)
>>> \( a.sort() \)
>>> a
(a) (1,2,3,5)
(b) (2,3,1,5)
(c) None
(d) Error, tuple has no attribute sort
Answer: D
Explanation: A tuple is immutable thus it doesn’t have a sort attribute.

Question. Is the following Python code valid?
>>> \( a=(1,2,3) \)
>>> \( b=a.update(4,) \)
(a) Yes, \( a=(1,2,3,4) \) and \( b=(1,2,3,4) \)
(b) Yes, \( a=(1,2,3) \) and \( b=(1,2,3,4) \)
(c) No because tuples are immutable
(d) No because wrong syntax for update() method
Answer: C
Explanation: Tuple doesn’t have any update() attribute because it is immutable.

Question. What will be the output of the following Python code?
>>> \( a=[(2,4),(1,2),(3,9)] \)
>>> \( a.sort() \)
>>> a
(a) [(1, 2), (2, 4), (3, 9)]
(b) [(2,4),(1,2),(3,9)]
(c) Error because tuples are immutable
(d) Error, tuple has no sort attribute
Answer: A
Explanation: A list of tuples is a list itself. Hence items of a list can be sorted.

MCQs for Tuples [current-page:node:field_subject] [current-page:node:field_class]

Students can use these MCQs for Tuples to quickly test their knowledge of the chapter. These multiple-choice questions have been designed as per the latest syllabus for [current-page:node:field_class] [current-page:node:field_subject] released by [current-page:node:field_board]. Our expert teachers suggest that you should practice daily and solving these objective questions of Tuples to understand the important concepts and better marks in your school tests.

Tuples NCERT Based Objective Questions

Our expert teachers have designed these [current-page:node:field_subject] MCQs based on the official NCERT book for [current-page:node:field_class]. We have identified all questions from the most important topics that are always asked in exams. After solving these, please compare your choices with our provided answers. For better understanding of Tuples, you should also refer to our NCERT solutions for [current-page:node:field_class] [current-page:node:field_subject] created by our team.

Online Practice and Revision for Tuples [current-page:node:field_subject]

To prepare for your exams you should also take the [current-page:node:field_class] [current-page:node:field_subject] MCQ Test for this chapter on our website. This will help you improve your speed and accuracy and its also free for you. Regular revision of these [current-page:node:field_subject] topics will make you an expert in all important chapters of your course.

FAQs

Where can I access latest Python Tuples MCQs with Answers?

You can get most exhaustive Python Tuples MCQs with Answers for free on StudiesToday.com. These MCQs for are updated for the 2026-27 academic session as per examination standards.

Are Assertion-Reasoning and Case-Study MCQs included in the [current-page:node:field_subject] [current-page:node:field_class] material?

Yes, our Python Tuples MCQs with Answers include the latest type of questions, such as Assertion-Reasoning and Case-based MCQs. 50% of the paper is now competency-based.

How do practicing [current-page:node:field_subject] MCQs help in scoring full marks in [current-page:node:field_class] exams?

By solving our Python Tuples MCQs with Answers, students can improve their accuracy and speed which is important as objective questions provide a chance to secure 100% marks in the .

Do you provide answers and explanations for Python Tuples MCQs with Answers?

Yes, MCQs for have answer key and brief explanations to help students understand logic behind the correct option as its important for 2026 competency-focused exams.

Can I practice these [current-page:node:field_subject] [current-page:node:field_class] MCQs online?

Yes, you can also access online interactive tests for Python Tuples MCQs with Answers on StudiesToday.com as they provide instant answers and score to help you track your progress in .