Practice Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 04 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 code?
print("abbcabcacabb".count('abb', 2, 11))
(a) 2
(b) 0
(c) 1
(d) error
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('2.3'.isnumeric())
(a) True
(b) False
(c) None
(d) Error
Answer: (b)
Question. What will be the output of the following Python code?
print('*', "pqrst".center(6), '*', sep='')
(a) pqrst
(b) pqrst
(c) pqrst
(d) pqrst
Answer: pqrst
Question. What will be the output of the following Python code?
print('xy10'.isalnum())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. What will be the output of the following Python code snippet?
print('Xy!4'.swapcase())
(a) XY!@
(b) xy12
(c) xY!4
(d) xY1@
Answer: (c)
Question. What will be the output of the following Python code?
print("abbcabcacabb".count('bb'))
(a) 2
(b) 0
(c) error
(d) none of the mentioned
Answer: (a)
Question. What will be the output of the following Python statement?
"pqrs"[2:]
(a) p
(b) pq
(c) rs
(d) sr
Answer: (c)
Question. What will be the output of the following Python code snippet?
print('mnopqr22'.replace('op', '22'))
(a) mn22qr
(b) mn22qr22
(c) mnopqr22
(d) none of the mentioned
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('The sum of {0} and {1} is {2}'.format(5, 12, 17))
(a) Error
(b) The sum of 5 and 12 is 17
(c) The sum of 0 and 1 is 2
(d) None of the mentioned
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('Python Exercises'.istitle())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. What will be the output of the following Python code snippet?
print('+88'.zfill(4))
(a) 0+88
(b) 0088
(c) +088
(d) ++88
Answer: (c)
Question. Which of the following statement prints hello\example\test.txt?
(a) print(“hello\example\test.txt”)
(b) print(“hello\\example\\test.txt”)
(c) print(“hello\”example\”test.txt”)
(d) print(“hello”\example”\test.txt”)
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('pq\nrs\ntv'.splitlines())
(a) ['pq', 'rs', 'tv']
(b) [‘pq\n’, ‘rs\n’, ‘tv\n’]
(c) [‘pq\n’, ‘rs\n’, ‘tv’]
(d) [‘pq’, ‘rs’, ‘tv\n’]
Answer: (a)
Question. What will be the output of the following Python code snippet?
print('pq rs tu'.title())
(a) Pq rs tu
(b) Pq rs tU
(c) Pq Rs Tu
(d) None of the mentioned
Answer: (c)
Question. print(0xA + 0xB + 0xC):
(a) 0xA0xB0xC
(b) Error
(c) 0x22
(d) 33
Answer: (d)
Question. What will be the output of the following Python code snippet?
print('abbabbababaab'.replace('ab', '10', 100))
(a) 10b10b1010a10
(b) abbabbababaab
(c) none of the mentioned
(d) error
Answer: (a)
Question. To concatenate two strings to a third what statements are applicable?
(a) s3 = s1 . s2
(b) s3 = s1.add(s2)
(c) s3 = s1.__add__(s2)
(d) s3 = s1 s2
Answer: (c)
Question. What will be the output of the following Python code?
example="waterworld"
example[::-1].startswith("d")
(a) terwarldwo
(b) True
(c) -1
(d) None
Answer: (b)
Question. What will be the output of the following Python code?
example = "beautiful world"
example[3] = 'b'
print example
(a) snow
(b) beautiful world
(c) Error
(d) beabtiful world
Answer: (c)
Question. What will be the output of the following Python code snippet?
print('pqtv'.partition('rs'))
(a) (‘pqtv’)
(b) (‘pqtv’, ‘rs’, ”)
(c) ('pqtv', '', '')
(d) error
Answer: (c)
Question. What will be the output of the following Python code?
print("Python {0!r} and {0!s}".format('fbb', 'bin'))
(a) Python fbb and fbb
(b) Python 'fbb' and fbb
(c) Python fbb and ‘bin’
(d) Error
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('mnopqrstop'.split('op'))
(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 “hello” +1+2+3?
(a) hello123
(b) hello
(c) Error
(d) hello6
Answer: (c)
Question. What will be the output of the following Python code snippet?
print("".isdigit())
(a) True
(b) False
(c) None
(d) Error
Answer: (b)
Question. What will be the output of the following Python code?
print('xy'.isalpha())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. What will be the output of the following Python code?
print('wxyz'.partition('yz'))
(a) error
(b) (‘wx’, ‘yz’)
(c) ('wx', 'yz', '')
(d) none of the mentioned
Answer: (c)
Question. What will be the output of the following Python code snippet?
print('pq rs-tu'.title())
(a) Pq rs-tu
(b) Pq Rs-tu
(c) Pq Rs-Tu
(d) None of the mentioned
Answer: Pq Rs-tu
Question. What will be the output of the following Python code snippet?
print("""""".isspace())
(a) True
(b) False
(c) None
(d) Error
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('_faa_'.isidentifier())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. What will be the output of the following Python code snippet?
print('str1'.isidentifier())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. What will be the output of the following Python code?
print("abbcabcacabb".count('abb', -10, -1))
(a) 2
(b) 0
(c) 1
(d) error
Answer: (b)
Question. What will be the output of the following Python code snippet?
print('mnopqropstop'.split('op', 0))
(a) ['mnopqropstop']
(b) 'mnopqropstop'
(c) error
(d) none of the mentioned
Answer: (a)
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) 223334445
(d) Error
Answer: 2,223,334,445
Question. What will be the output of the following Python code?
print('*', "pqrstv".center(7), '*', sep='')
(a) pqrstv
(b) pqrstv
(c) pqrstv
(d) pqrstv
Answer: pqrstv
Question. What is “Hello”.replace(“l”, “e”)?
(a) Heeeo
(b) Heelo
(c) Heleo
(d) None
Answer: (a)
Question. What will be the output of the following Python code?
str1="redrose"
str1[::-1]
(a) esorder
(b) red
(c) rose
(d) redrose
Answer: (a)
Question. What will be the output of the following Python code?
print('x'.maketrans('XYZ', '234'))
(a) {88: 50, 89: 51, 90: 52}
(b) {80: 50, 81: 51, 82: 52}
(c) 432
(d) 234
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: 1pqrstv
Question. What will be the output of the following Python code snippet?
print('The sum of {0:b} and {1:x} is {2:o}'.format(2, 12, 14))
(a) The sum of 2 and 12 is 14
(b) The sum of 10 and c is 16
(c) The sum of 10 and a is c
(d) Error
Answer: The sum of 10 and c is 16
Question. What will be the output of the following Python code?
max("who are you")
(a) error
(b) u
(c) t
(d) y
Answer: (d)
Question. What will be the output of the following Python statement?
print('x\95\x98')
(a) Error
(b) 95 98
(c) x\95˜
(d) \x95\x98
Answer: (c)
Question. What will be the output of the following Python code?
print('Python!2@#Tutorial'.istitle())
(a) True
(b) False
(c) None
(d) error
Answer: (a)
Question. What is the default value of encoding in encode()?
(a) ascii
(b) qwerty
(c) utf-8
(d) utf-16
Answer: (c)
Question. What will be the output of the following Python code?
print("mnopqr".center(10, '12'))
(a) 12mnopqr12
(b) mnopqr1212
(c) 1212mnopqr
(d) error
Answer: (d)
Question. What will be the output of the following Python code?
print('2Xy@'.lower())
(a) x
(b) 2xy@
(c) xy
(d) y
Answer: (b)
Question. What will be the output of the following Python code?
print('''\tboo'''.lstrip())
(a) \tboo
(b) boo
(c) \boo
(d) none of the mentioned
Answer: (b)
Question. What will be the output of the following Python code?
print('*', "mnopqr".center(7), '*', sep='')
(a) mnopqr
(b) mnopqr
(c) mnopqr
(d) mnopqr
Answer: mnopqr
Question. What will be the output of the following Python code?
print(r"\nworld")
(a) a new line and world
(b) \nworld
(c) the letter r and then world
(d) error
Answer: (b)
Question. What will be the output of the following Python code?
print('{0:.2%}'.format(2/5))
(a) 0.33
(b) 40.40%
(c) 40.00%
(d) 42.00%
Answer: (c)
Question. What will be the output of the following Python code snippet?
print('2@ f'.isprintable())
(a) True
(b) False
(c) None
(d) Error
Answer: (a)
Question. To return the length of string s what command do we execute?
(a) s.__len__()
(b) len(s)
(c) size(s)
(d) s.size()
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
You can get most exhaustive Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 04 for free on StudiesToday.com. These MCQs for are updated for the 2026-27 academic session as per examination standards.
Yes, our Python Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 04 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 Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 04, 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 Strings, List, Tuple, Dictionary, Module MCQs with Answers Set 04 on StudiesToday.com as they provide instant answers and score to help you track your progress in .