Objective Questions and Answers: List in Python
Explore reliable objective questions for List in Python tailored for learners. Utilizing these multiple-choice formats ensures thorough preparation and strengthens problem-solving speed for upcoming school assessments.
Download List in Python MCQs with Answers
Access the complete set of multiple-choice questions for List in Python below. This focused format allows students to isolate specific topics for thorough review and uninterrupted practice alongside official NCERT textbooks.
Question. If we try to concatenate a list with elements of some other data type, _____________ occurs.
(a) SyntaxError
(b) SyntaxError
(c) TypeError
(d) None of the above
Answer: (c)
Question. Name the operator which is used in the following print statement.
(a) Concatenation
(b) Repetition
(c) Membership
(d) None of the above
Answer: (b)
Question. print(L1 + L1) and print(L1 * 2) will produce the same result.(L1 is a List)(T/F)
(a) True
(b) False
Answer: (a)
Question. Which operator helps to check whether an element is present in list or not?
(a) +
(b) in
(c) **
(d) None of the above
Answer: (b)
Question. Write the output of the following:
\( print(1\ in\ [[1], 2, 3]) \)
(a) True
(b) False
(c) Error
(d) None of the above
Answer: (b)
Question. Which operation of List is shown in following lines?
\( L1 = [1, 2, 3, 4, 5, 6, 7, 8] \)
\( print(L1[3 : 6]) \)
(a) Concatenation
(b) Repetition
(c) Slicing
(d) None of the above
Answer: (c)
Question. Which of the following statement will reverse the list L1?
(a) \( L1[ : : 1] \)
(b) \( L1[-1 : : -1] \)
(c) \( L1[: : -1] \)
(d) None of the above
Answer: (c)
Question. Traversing a list can be done with the help of _________
(a) loop
(b) if
(c) if–elif
(d) None of the above
Answer: (a)
Question. Write the output of the following:
\( print(len(tuple[1])) \)
(a) 1
(b) 0
(c) Error
(d) None of the above
Answer: (c)
Question. Write the output of the following :
\( L = [[1, 2, 3, 5, 6, 7, [1, [2, 3]]]] \)
\( print(len(L)) \)
(a) 4
(b) 3
(c) 2
(d) 1
Answer: (d)
Question. Which function returns the length of a list?
(a) Len( )
(b) length( )
(c) len( )
(d) Length( )
Answer: (c)
Question. Write the output of the following :
\( D = list[ ] \)
\( print(len(D)) \)
(a) 0
(b) 1
(c) SyntaxError
(d) ValueError
Answer: (c)
Question. remove( ) function removes the _______________ occurrences of an element from the list
(a) all
(b) first
(c) last
(d) None of the above
Answer: (b)
Question. sort () function Sorts the elements of the given list in-place(T/F)
(a) True
(b) False
Answer: (a)
Question. Which of the following function creates the new list?
(a) sort( )
(b) sorted( )
(c) reverse( )
(d) All of the above
Answer: (b)
Question. Write the output of the following :
\( D = [1, 2, 3] \)
\( D1 = D \)
\( D.append(4) \)
\( print(D1) \)
(a) [1, 2, 3, 4]
(b) [1, 2, 3]
(c) Error
(d) None of the above
Answer: (a)
Question. Fill in the blanks with same word in both places
>>> import __________
>>> list1 = [1, 2, 3, 4, 5]
>>> list2 = _________copy(list1)
>>> list2
(a) copy
(b) math
(c) pickle
(d) None of the above
Answer: (a)
Question. Write the output of the following :
def listchange(L):
L.append(45)
return
L1 = [1, 2, 3, 4]
listchange(L1)
print(L1)
(a) [1, 2, 3, 4]
(b) [1, 2, 3, 45]
(c) [1, 2, 3, 4, 45]
(d) None of the above
Answer: (c)
Question. Write the output of the following:
\( print([]\ *\ 2) \)
(a) [ ]
(b) 0
(c) Error
(d) None of the above
Answer: (a)
Question. Which of the following will give output as [21, 2, 9, 7] ? if list \( L = [1, 21, 4, 2, 5, 9, 6, 7] \)
(a) \( print(L[1 : 8 : 2]) \)
(b) \( print(L[1 : : 2]) \)
(c) Both of the above
(d) None of the above
Answer: (b)
Question. Write the output of the following :
L = ['Amit', 'anita', 'Sumant', 'Zaid']
print(max(L))
(a) Zaid
(b) Sumant
(c) anita
(d) Amit
Answer: (c)
Question. Write the output of the following:
L=[13, 12, 15, 27, 3, 46]
list1.pop(3)
print(L)
(a) [13, 12, 15, 27, 46]
(b) [13, 12, 15, 3, 46]
(c) [13, 12, 15, 27, 3]
(d) None of the above
Answer: (b)
Question. Write the output of the following:
list1=[3, 2, 5, 7, 3, 6]
list1.remove(3)
print(sum(list1))
(a) 23
(b) 20
(c) 19
(d) None of the above
Answer: (a)
Question. Write the output of the following
list1=[3, 2, 5, 7, 3, 6]
list1.insert(6, 3)
print(list1)
(a) [3, 2, 5, 6, 7, 3, 6]
(b) [3, 2, 5, 6, 3, 6]
(c) [3, 2, 5, 7, 3, 6, 3]
(d) None of the above
Answer: (c)
Question. Write the output of the following
L = [14, 2, 3, 16, 15]
L[1:4] = [5, 4, 8]
print(L)
(a) [14, 5, 4, 8, 15]
(b) [14, 5, 4, 8, 2, 3, 16, 15]
(c) Error
(d) None of the above
Answer: (a)
Question. Write the output of the following
L = ["Amit", 'Sumit', 'Ravi']
print(L[0][1])
(a) A
(b) Amit
(c) S
(d) m
Answer: (d)
Question. Write the output of the following
L = ["Amit", 'Sumit', 'Ravi']
print("@".join(L))
(a) @Amit
(b) Amit@Sumit@Ravi
(c) Amit@Sumit@Ravi@
(d) None of the above
Answer: (b)
Question. Write the output of the following:
L = ['A', 'S', 'R']
L = L + L*2
print(L)
(a) [‘A’, ‘S’, ‘R’, ‘2A’, ‘2S’, ‘2R’]
(b) [‘A’, ‘S’, ‘R’, ‘A’, ‘S’, ‘R’, ‘A’, ‘S’, ‘R’]
(c) [‘A’, ‘S’, ‘R’]
(d) Error
Answer: (b)
Question. Write the output of the following :
\( L = [[5, 7, 9, 1 ], [12, 23, 4, 9]] \)
for r in L:
r.reverse( )
for e in r:
print(e, end = " ")
(a) 1 9 7 5 9 4 23 12
(b) 1 9 7 5
9 4 23 12
(c) Error
(d) None of the above
Answer: (a)
Question. Write the output of the following:
\( L = [[5, 7, 9, 1 ], [12, 23, 4, 9]] \)
for r in L:
r.sort()
for e in r:
print(e, end = " ")
(a) 1 5 7 9 4 9 12 23
(b) 1 4 5 7 9 9 12 23
(c) 9 7 5 1 23 12 9 4
(d) None of the above
Answer: (a)
Question. How many elements will be there in list ‘L’
\( L = [[p, q]\ for\ p\ in\ (0, 4)\ for\ q\ in\ (0, 4)] \)
(a) 2
(b) 4
(c) 8
(d) 16
Answer: (b)
Question. Write the output of the following:
\( L = [[p, q]\ for\ p\ in\ (0, 4)\ for\ q\ in\ (0, 4)] \)
print(L[0])
(a) [0]
(b) [0, 4]
(c) [4, 4]
(d) [0, 0]
Answer: (d)
Question. Write the output of the following:
L = [23, 45, 65, 32, 3]
L.insert(L[4], 'Monitor')
print(L)
(a) [23, 45, 65, ‘Monitor’, 32, 3]
(b) [23, 45, 65, 32, ‘Monitor’, 3]
(c) [23, 45, 65, 32, 3, ‘Monitor’]
(d) None of the above
Answer: (a)
Question. Which statement will give the same output?
list1 = [1, 2, 3, 4]
list2 = [5, 6, 7, 8]
(a) print(len(list1 + list2))
(b) print(len(list1) + len (list2))
(c) print(list2[3])
(d) All of the above
Answer: (d)
Question. Write the output of the following:
L = [11, 21, 31, 41]
L.append([51, 62, 73, 84])
print(len(L))
(a) 8
(b) 5
(c) 4
(d) None of the above
Answer: (b)
Question. Write the output of the following :
L = [11, 21, 31, 41]
L.extend([51, 62, 73, 84])
print(len(L))
(a) 8
(b) 4
(c) 5
(d) Error
Answer: (a)
Question. Write the output of the following
L1 = ['C++', 'C-Sharp', 'Visual Basic']
L2 = [name.upper() for name in L1]
L3 = [name for name in L1]
if(L2[2][0] == L3[2][0]):
print("YES")
else:
print("N0")
(a) No
(b) Yes
(c) Error
(d) None of the above
Answer: (b)
Question. Write the output of the following :
L = [11, 22, 33, 44, 55, 66]
for i in range(1, 6):
L[i - 1] = L[i]*2
for i in range(0, 4):
print(L[i], end = " ")
(a) 44 66 88 110
(b) 22 33 44 55
(c) 11 22 33 44
(d) Error
Answer: (a)
Question. Write the output of the following :
L= [1, 2, 3, 4, 5]
m = [m and 1 for m in L]
print(m)
(a) [1, 2, 3, 4, 5]
(b) [1, 1, 1, 1, 1]
(c) [1, 0, 1, 0, 1]
(d) None of the above
Answer: (b)
Question. Write the output of the following :
L= [1, 2, 3, 4, 5]
m = [m + 3 for m in L]
print(m)
(a) [4, 5, 6, 7, 8, 9]
(b) [4, 5, 6, 7, 8, 9, 10]
(c) [4, 5, 6, 7, 8]
(d) Error
Answer: (c)
Question. Write the output of the following :
L1 = [1, 2, 3, 4, 5]
L2 = [9, 8, 7, 6, 5]
S= [L1 + 3 for L1 in L2]
print(S)
(a) [12, 11, 10, 9, 8]
(b) [1, 2, 3, 4, 5, 6, 7, 8, 9]
(c) [4, 5, 6, 7, 8]
(d) Error
Answer: (a)
Question. Write the output of the following :
L1 = [1, 2, 3]
L2 = [9, 8]
S= [m * n for m in L1 for n in L2]
print(S)
(a) [9, 8, 18, 16, 27, 24]
(b) [9, 18, 27, 8, 16, 24]
(c) [8, 9, 16, 18, 24, 27]
(d) Error
Answer: (a)
Question. Write the output of the following :
L1 = [1, 2, 3]
L2 = [9, 8]
S= [n + m for m in L1 for n in L1]
print(S)
(a) [2, 3, 4, 3, 4, 5, 4, 5]
(b) [1, 2, 3, 2, 3, 4, 3, 4, 5]
(c) [2, 3, 4, 3, 4, 5, 4, 5, 6]
(d) Error
Answer: (c)
Question. Which of the following statement will generate the square of given list L ?
L = [1, 2, 3, 4, 5]
(a) [x ** 2 for x in L]
(b) [x * 2 for x in L]
(c) [x ^ 3 for x in L]
(d) None of the above
Answer: (a)
Question. Which of the following function is used to shuffle the list ?
(a) random( )
(b) swap( )
(c) shuffle( )
(d) None of the above
Answer: (a)
Question. Both the print statement will produce the same result.(T/F)
L = ["Amit", "Ananya", "Parth"]
print(L[-1])
print(L[-1][-1])
(a) True
(b) False
Answer: (b)
Question. Write the output of the following:
L1 = [1, 2, 3]
L2 = [1, 2, 3, 4, 5, 6]
print(L1 in L2)
(a) True
(b) False
Answer: (b)
Question. Which of the following command will insert 7 in third position of List L.
(a) L.insert(3, 7)
(b) L.insert(2, 7)
(c) L.add(3, 7)
(d) L.append(3, 7)
Answer: (b)
Multiple Choice Questions (MCQs) for List in Python
Chapter MCQs with Answers for
Explore reliable practice questions for List in Python tailored for learners. Use these multiple-choice formats to evaluate preparedness and strengthen problem-solving skills.
Expert Practice Material for
Each question includes structured solution keys mapped directly to standard NCERT textbooks, helping students evaluate their reasoning and correct mistakes early in their revision.
Complete Your Chapter Revision
Wrap up your chapter revision by testing your knowledge against standard question formats. Everything on our platform is provided free of charge.
FAQs
You can get most exhaustive Python List in Python MCQs with Answers Set 02 for free on StudiesToday.com. These MCQs for are updated for the 2026-27 academic session as per examination standards.
Yes, our Python List in Python MCQs with Answers Set 02 include the latest type of questions, such as Assertion-Reasoning and Case-based MCQs. 50% of the paper is now competency-based.
By solving our Python List in Python MCQs with Answers Set 02, students can improve their accuracy and speed which is important as objective questions provide a chance to secure 100% marks in the .
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.
Yes, you can also access online interactive tests for Python List in Python MCQs with Answers Set 02 on StudiesToday.com as they provide instant answers and score to help you track your progress in .