Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 02

Practice Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 02 provided below. The MCQ Questions for [current-page:node:field_class] Strings, List, Tuple, Dictionary, Module [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] Strings, List, Tuple, Dictionary, Module

[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 Strings, List, Tuple, Dictionary, Module

Strings, List, Tuple, Dictionary, Module MCQ Questions [current-page:node:field_class] [current-page:node:field_subject] with Answers

Question. What will be the output of the following Python statement?
"x"+"yz"

(a) x
(b) yz
(c) yzx
(d) xyz
Answer: (d)

Question. What will be the output of the following Python code snippet?
print('0pq'.isdigit())

(a) True
(b) False
(c) None
(d) Error
Answer: (b)

Question. What will be the output of the following Python code?
print("mn\top\tqr".expandtabs())

(a) mn op qr
(b) mnopqr
(c) mn\top\tqr
(d) mn op qr
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('xyz'.islower())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. Given a string example=”hello” what is the output of example.count(‘l’)?
(a) 2
(b) 1
(c) None
(d) 0
Answer: (a)

Question. What will be the output of the following Python code?
print("pqrpqrprpqq".endswith("pqq", 0, 2))

(a) 0
(b) 1
(c) True
(d) False
Answer: (d)

Question. Say s=”hello” what will be the return value of type(s)?
(a) int
(b) bool
(c) str
(d) String
Answer: (c)

Question. What will be the output of the following Python code snippet?
print('{:,}'.format('3334445556'))

(a) 3,334,445,556
(b) 333,444,555,6
(c) 3334445556
(d) Error
Answer: (d)

Question. What will be the output of the following Python code?
print('x Y'.isalpha())

(a) True
(b) False
(c) None
(d) Error
Answer: (b)

Question. What will be the output of the following Python code?
print("mnopqr".center(0))

(a) op
(b) mnopqr
(c) error
(d) none of the mentioned
Answer: (b)

Question. To check whether string s1 contains another string s2, use _______
(a) s1.__contains__(s2)
(b) s2 in s1
(c) s1.contains(s2)
(d) si.in(s2)
Answer: (a)

Question. What will be the output of the following Python code?
print("Python {0} and {1}".format(('faa', 'bin')))

(a) Python faa and bin
(b) Python (‘faa’, ‘bin’) and (‘faa’, ‘bin’)
(c) Error
(d) None of the mentioned
Answer: (c)

Question. What will be the output of the following Python code?
print("pqqrpqrprpqq".count('pqq', 0, 100))

(a) 2
(b) 0
(c) 1
(d) error
Answer: (a)

Question. Suppose s is “\t\tWorld\n”, what is s.strip()?
(a) \t\tworld\n
(b) \t\tWorld\n
(c) \t\tWORLD\n
(d) World
Answer: (d)

Question. What will be the output of the following Python code snippet?
print('pqrtvs'.replace('rs', '10'))

(a) pq1tvo
(b) pqrtvs
(c) pq1tvs
(d) pq12ts2
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('xy'.zfill(4))

(a) 00xy
(b) x00y
(c) xy00
(d) x0y0
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('pqtv'.replace('rs', '10'))

(a) pqtv
(b) 10
(c) error
(d) none of the mentioned
Answer: (a)

Question. What will be the output of the following Python code?
example = "python"
example.rfind("n")

(a) 4
(b) 3
(c) 5
(d) 0
Answer: (c)

Question. What will be the output of the following Python code?
print("pqr XYZ".capitalize())

(a) pqr xyz
(b) PQR XYZ
(c) Pqr xyz
(d) Pqr Xyz
Answer: (c)

Question. What will be the output of the following Python code snippet?
print('mnopqropstop'.split('op', 2))

(a) ['mn', 'qr', 'stop']
(b) [‘mn’, ‘qropstop’]
(c) [‘qropstop’,‘mn’ ]
(d) none of the mentioned
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('pqrs'.translate({'p': '2', 'q': '3', 'r': '4', 's': '5'}))

(a) pqrs
(b) 2345
(c) error
(d) none of the mentioned
Answer: (a)

Question. What will be the output of the following Python code?
print("Python {} and {}".format('fbb', 'bin'))

(a) Python {} and {}
(b) Python fbb and bin
(c) Error
(d) Python and
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('wxyz'.translate('w'.maketrans('wxy', 'xyz')))

(a) xyzz
(b) wxyz
(c) xzyz
(d) zxyz
Answer: (a)

Question. What will be the output of the following Python code?
print("S", end = ' ')
print("R", end = ' ')
print("Q", end = ' ')
print("P", end = ' ')

(a) SRQP
(b) S R Q P
(c) P Q R S
(d) p q r s
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('rs'.partition('rs'))

(a) ('rs')
(b) (")
(c) ('rs', ", ")
(d) ('', 'rs', '')
Answer: (d)

Question. What will be the output of the following Python code?
print('{0:.2}'.format(2/3))

(a) 0.677777
(b) 0.67
(c) 0.6777:.2
(d) Error
Answer: (b)

Question. What will be the output of the following Python code?
class Name:
    def __init__(self, firstName, mi, lastName):
        self.firstName = firstName
        self.mi = mi
        self.lastName = lastName
firstName = "Robin"
name = Name(firstName, 'F', "Smith")
firstName = "Jack"
name.lastName = "Roy"
print(name.firstName, name.lastName)

(a) Jack Roy
(b) Robin Roy
(c) Jack Smith
(d) Robin Smith
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('mnopqropstop'.split('op', -1))

(a) [‘mn’, ‘qr’, ‘st’]
(b) ['mn', 'qr', 'st', '']
(c) ('mn', 'qr', 'st',)
(d) ['mn', 'qr', 'st']
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('pen'.isidentifier())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. What will be the output of the following Python code?
print("pqrstv".center())

(a) rs
(b) pqrstv
(c) error
(d) none of the mentioned
Answer: (c)

Question. What will be the output of the following Python statement?
print('black' 'berry')

(a) Error
(b) Output equivalent to print ‘black\berry’
(c) blackberry
(d) black berry
Answer: (c)

Question. What will be the output of the following Python code?
print("Python {name1} and {name2}".format(name1='faa', name2='bin'))

(a) Python faa and bin
(b) Python {name1} and {name2}
(c) Error
(d) Python and
Answer: (a)

Question. What will be the output of the following Python code?
print("abbcabcacabb".count('bb', 2))

(a) 2
(b) 0
(c) 1
(d) none of the mentioned
Answer: (c)

Question. What will be the output of the following Python code?
print('zyx'.maketrans('xyz', '234'))

(a) {120: 50, 121: 51, 122: 52}
(b) {97: 49, 98: 50, 99: 51}
(c) {100: 50, 101: 51, 102: 52}
(d) 234
Answer: (a)

Question. What will be the output of the following Python code?
print("efghij".find("gh") == "gh" in "efghij")

(a) True
(b) False
(c) Error
(d) None of the mentioned
Answer: (b)

Question. Suppose x is 6 and y is 4, x + y is same as ________
(a) x.__add(y)
(b) x.__add__(y)
(c) x.__Add(y)
(d) x.__ADD(y)
Answer: (b)

Question. What arithmetic operators cannot be used with strings?
(a) +
(b) -
(c) All of the mentioned
(d) *
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('{:$}'.format(2223334445))

(a) 2,223,334,445
(b) 222,333,444,5
(c) 2223334445
(d) Error
Answer: (d)

Question. What will be the output of the following Python code?
print("pqrpqrprpqq".endswith("pqq"))

(a) 1
(b) True
(c) 3
(d) 2
Answer: (b)

Question. What function do you use to read a string?
(a) input(“Enter a string”)
(b) eval(input(“Enter a string”))
(c) enter(“Enter a string”)
(d) eval(enter(“Enter a string”))
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('{:#}'.format(3334445556))

(a) 3,334,445,556
(b) 333,444,555,6
(c) 3334445556
(d) Error
Answer: (c)

Question. What will be the output of the following Python code snippet?
print('PythonExercises'.istitle())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('15'.isnumeric())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. What will be the output of the following Python code?
class X:
    def __init__(self, param):
        self.o1 = param
class Y(X):
    def __init__(self, param):
        self.o2 = param
obj = Y(22)
print("%d %d" % (obj.o1, obj.o2))

(a) None None
(b) None 22
(c) 22 None
(d) Error is generated
Answer: (d)

Question. What will be the output of the following Python code?
example = "hello world"
print("%s" % example[4:7])

(a) w
(b) world
(c) he
(d) rl
Answer: (d)

Question. What will be the output of the following Python statement?
chr(ord('P'))

(a) P
(b) p
(c) Error
(d) b
Answer: (a)

Question. What will be the output of the following Python code snippet?
print('\f'.isspace())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. What will be the output of the following Python code?
print("pqrstv".center(7, 1))

(a) 1pqrstv
(b) pqrstv1
(c) pqrstv
(d) error
Answer: (d)

Question. What will be the output of the following Python code?
class test:
    def __init__(self, id):
        self.id = str(id)
        id = "144"
x = test(12)
print(x.id)

(a) 224
(b) Error
(c) 12
(d) None
Answer: (c)

Question. What will be the output of the following Python code?
print("pq\trs\ttv".expandtabs('+'))

(a) pq+rs+tv
(b) pq++++++++rs++++++++tv
(c) pq rs tv
(d) None of the mentioned
Answer: (d)

Question. What will be the output of the following Python code?
print('mnopqrstop'.partition('op'))

(a) (‘mn’, ‘op’, ‘qr’, ‘st’, ‘uv’)
(b) ('mn', 'op', 'qrstuv')
(c) (‘mnopqr’, ‘st, ‘uv’)
(d) error
Answer: (b)

Question. What will be the output of the following Python code?
print("xxyxyyxy".find("x"))

(a) 4
(b) 0
(c) Error
(d) True
Answer: (b)

Question. What will be the output of the following Python code snippet?
print('y@ 2'.islower())

(a) True
(b) False
(c) None
(d) Error
Answer: (a)

Question. If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
(a) obj.__str__()
(b) str(obj)
(c) print obj
(d) all of the mentioned
Answer: (d)

Question. What will be the output of the following Python statement?
chr(ord('p')+1)

(a) a
(b) q
(c) r
(d) Q
Answer: (b)

Question. What will be the output of the following Python code?
print("Python {1} and {0}".format('bin', 'fab'))

(a) Python bin and fab
(b) Python fab and bin
(c) Error
(d) None of the mentioned
Answer: (b)

MCQs for Strings, List, Tuple, Dictionary, Module [current-page:node:field_subject] [current-page:node:field_class]

Students can use these MCQs for Strings, List, Tuple, Dictionary, Module 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 Strings, List, Tuple, Dictionary, Module to understand the important concepts and better marks in your school tests.

Strings, List, Tuple, Dictionary, Module 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 Strings, List, Tuple, Dictionary, Module, 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 Strings, List, Tuple, Dictionary, Module [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 Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 02?

You can get most exhaustive Python Strings, List, Tuple, Dictionary, Module 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.

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

Yes, our Python Strings, List, Tuple, Dictionary, Module 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.

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 Strings, List, Tuple, Dictionary, Module 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 .

Do you provide answers and explanations for Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 02?

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 Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 02 on StudiesToday.com as they provide instant answers and score to help you track your progress in .