Practice CBSE Class 11 Computer Science Python Revision MCQs Set 03 provided below. The MCQ Questions for Class 11 Python Revision Computer Science with answers and follow the latest CBSE/ NCERT and KVS patterns. Refer to more Chapter-wise MCQs for CBSE Class 11 Computer Science and also download more latest study material for all subjects
MCQ for Class 11 Computer Science Python Revision
Class 11 Computer Science students should review the 50 questions and answers to strengthen understanding of core concepts in Python Revision
Python Revision MCQ Questions Class 11 Computer Science with Answers
Question. Is Python case sensitive while dealing with identifiers?
(a) Yes
(b) No
(c) OS dependent
(d) None of the above
Answer: (a)
Question. What is the output of the following code?
xx = 15
if True:
xx = 25
print(xx)
(a) 25
(b) 15
(c) Error
(d) None
Answer: (a)
Question. Output of print(f"Python {3 + .2}")
(a) 3.2
(b) 3+.2
(c) Shows error
(d) Python 3.2
Answer: (d)
Question. Which of the following is an invalid variable?
(a) _var_
(b) 1var
(c) _var_1
(d) All the above
Answer: (b)
Question. Which of the following is an invalid statement?
(a) a_b_c = 100
(b) abc = 100, 'python'
(c) a b c = 1 00
(d) a, b, c = 1, 0, 0
Answer: (c)
Question. Which of the following statements assigns the value 100 to the variable x in Python:
(a) let x = 100
(b) x := 100
(c) x ← 100
(d) x = 100
(e) x << 100
Answer: (d)
Question. In Python if a variable is assigned a value anywhere within the function’s body, it’s assumed to be a local unless explicitly declared as global.
(a) True
(b) False
Answer: (a)
Question. Which of the following is true for variable names in Python?
(a) all private members must have leading and trailing underscores
(b) underscore and ampersand are the only two special characters allowed
(c) unlimited length
(d) none of the mentioned
Answer: (c)
Question. Which of the following is not a complex number?
(a) a = 2 + 3j
(b) a = complex(2, 3)
(c) a = 2 + 3l
(d) a = 2 + 3J
Answer: (c)
Question. Boolean type is a subtype of Integer data type in Python
(a) True
(b) False
Answer: (a)
Question. What is the result of round(0.5) - round(-0.5)
(a) 1.0
(b) 2.0
(c) 0.0
(d) None of the mentioned
Answer: (c)
Question. Given a function that does not return any value, What value is thrown by default when executed in shell.
(a) int
(b) bool
(c) void
(d) None
Answer: (d)
Question. Select all immutable basic data types:
(a) Dictionary
(b) String
(c) Integer
(d) Set
(e) Float
(f) List
(g) Tuple
Answer: (b), (c), (e), (g)
Question. What gets printed?
p = "abb "
q = 2
print(p + q)
(a) abb
(b) abb abb
(c) abb 2
(d) 2
(e) Error
Answer: (e)
Question. What gets printed
axa = {}
print(type(axa))
(a) <class 'set'>
(b) <class 'dict'>
(c) <class 'list'>
(d) <class 'tuple'>
(e) <class 'object'>
Answer: (b)
Question. In order to store values in terms of key and value which core data type is used.
(a) list
(b) tuple
(c) class
(d) dictionary
Answer: (d)
Question. What will be the output of the following Python code snippet?
def example(x):
x = x + '2'
x = x*2
return x
>>>example("hello")
(a) indentation Error
(b) cannot perform mathematical operation on strings
(c) hello2
(d) hello2hello2
Answer: (a)
Question. If x and y are strings, which of the following is equivalent to [x] + [y] ?
(a) [x].extend([y])
(b) [x,y]
(c) [x + y]
(d) [x].append(y)
Answer: (b)
Question. What gets printed?
def x(): pass
print(type(x()))
(a) <class 'function'>
(b) <class 'tuple'>
(c) <class 'NoneType'>
(d) <class 'str'>
(e) <class 'type'>
Answer: (c)
Question. Which of the following is incorrect?
(a) a = 0b101
(b) a = 0x4f5
(c) a = 19023
(d) a = 03964
Answer: (d)
Question. In order to execute an operation over arguments of different data types, convert all of them to the same type beforehand.
(a) True
(b) False
Answer: (b)
Question. What gets printed?
axx = (5, 6, 7)
print(type(axx))
(a) <class 'int'>
(b) <class 'list'>
(c) <class 'tuple'>
(d) <class 'dict'>
(e) <class 'set'>
Answer: (c)
Question. What should the below code print?
print(type(2J))
(a) <class 'complex'>
(b) <class 'unicode'>
(c) <class 'int'>
(d) <class 'float'>
(e) <class 'dict'>
Answer: (a)
Question. Select all valid basic data types in Python 3
(a) Double
(b) String
(c) Integer
(d) Boolean
(e) Float
(f) Decimal
(g) Union
(h) Complex number
Answer: (b), (c), (e), (h)
Question. Select all numeric data types in Python
(a) String
(b) Integer
(c) Double
(d) Float
(e) Complex number
Answer: (b), (d), (e)
Question. What error occurs when you execute the following Python code snippet?
dog = cat
(a) SyntaxError
(b) NameError
(c) ValueError
(d) TypeError
Answer: (b)
Question. What is the return value of trunc()?
(a) int
(b) bool
(c) float
(d) None
Answer: (a)
Question. What gets printed?
print(type(2/3))
(a) <class 'int'>
(b) <class 'number'>
(c) <class 'float'>
(d) <class 'double'>
(e) <class 'tuple'>
Answer: (c)
Question. What is the output of print 0.2 + 0.3 == 0.5?
(a) True
(b) False
(c) Error
Answer: (a)
Question. Which of the following is incorrect?
(a) float('inf')
(b) float('nan')
(c) float('56'+'78')
(d) float('12+34')
Answer: (d)
Question. Complex numbers in Python have real and imaginary parts. In Python they are represented as:
(a) One Integer and one floating point number
(b) Each is floating point number
(c) Each is Integer
(d) Both are strings
Answer: (c)
Question. List in Python can hold elements of same type only. True or False?
(a) True
(b) False
Answer: (b)
Question. Strings in Python should be en-quoted in double quotation marks (“). True or False?
(a) True
(b) False
Answer: (b)
Question. What data type is the object below?
P = [2, 22, 'python', 2]
(a) list
(b) dictionary
(c) array
(d) tuple
Answer: (a)
Question. What is the output of the following code?
print(type(lambda:None))
(a) <class 'NoneType'>
(b) <class 'tuple'>
(c) <class 'type'>
(d) <class 'function'>
(e) <class 'bool'>
Answer: (d)
Question. Which of the following data types can be used as keys in dictionaries in Python? Select all that apply
(a) List
(b) Set
(c) Integer
(d) String
(e) Dictionary
(f) Any type of value
Answer: (f)
Question. What does \( \sim\sim\sim\sim\sim\sim6 \) evaluate to?
(a) 6
(b) -5
(c) -11
(d) 11
Answer: (a)
Question. Which of the following results in a SyntaxError?
(a) ‘”Once upon a time…”, she said.’
(b) “He said, ‘Yes!'”
(c) ‘3\’
(d) ”’That’s okay”’
Answer: (c)
Question. In Python types are directly interpreted by the compiler, so check the following operation to be performed.
a = 15 ? 3
Objective is to make sure a has a integer value, select all that apply (Python 3.xx)
(a) a = 15 // 3
(b) a = int(15 / 3)
(c) a = 15 % 3
(d) All of the mentioned
Answer: (d)
Question. Only immutable data types can be used as keys for dictionaries in Python. True or False?
(a) True
(b) False
Answer: (a)
Question. What does \( 3 \wedge 8 \) evaluate to?
(a) 81
(b) 24
(c) 11
(d) 5
Answer: (c)
Question. What is the type of inf?
(a) Boolean
(b) Integer
(c) Float
(d) Complex
Answer: (c)
Question. Which of the following can be used as a dictionary key?
(a) list
(b) set
(c) dictionary
(d) tuple
(e) None of the above
Answer: (d)
Question. Which of the following will run without errors?
(a) round(45.8)
(b) round(6352.898,2,5)
(c) round()
(d) round(7463.123,2,1)
Answer: (a)
Question. What is the return type of function id?
(a) int
(b) float
(c) bool
(d) dict
Answer: (a)
Question. What does \( \sim5 \) evaluate to?
(a) -5
(b) -7
(c) -6
(d) 5
Answer: (c)
Question. Which of these in not a core data type?
(a) Lists
(b) Dictionary
(c) Tuples
(d) Class
Answer: (d)
Question. What is the output of the following code?
print(type([2,3]))
(a) <class 'tuple'>
(b) <class 'int'>
(c) <class 'set'>
(d) <class 'complex'>
(e) <class 'list'>
Answer: (e)
| CBSE Class 11 Computer Science Advanced Scripting MCQs |
| CBSE Class 11 Computer Science Animation Tool MCQs Set 02 |
| CBSE Class 11 Computer Science Animation Tool MCQs Set 01 |
| CBSE Class 11 Computer Science Basic Ubuntu Linux Commands MCQs |
| CBSE Class 11 Computer Science Boolean Algebra MCQs |
| CBSE Class 9 Computer Science Computer Components MCQs Set 01 |
| CBSE Class 11 Computer Science Computer Hardware MCQs |
| CBSE Class 11 Computer Science Computer Organisation MCQs |
| CBSE Class 11 Computer Science Conditional Statement MCQs |
| CBSE Class 11 Computer Science Creating Animation Using Synfig MCQs |
| CBSE Class 11 Computer Science Current Trends and Technologies MCQs |
| CBSE Class 11 Computer Science Dictionary in Python MCQs |
| CBSE Class 11 Computer Science Forms and Reports MCQs |
| CBSE Class 11 Computer Science Fundamentals of Computer MCQs |
| CBSE Class 9 Computer Science Introduction to Computers MCQs Set 02 |
| CBSE Class 11 Computer Science Introduction To Database Management System MCQs |
| CBSE Class 11 Computer Science Introduction To Layers MCQs |
| CBSE Class 11 Computer Science Introduction To Multimedia MCQs Set 02 |
| CBSE Class 11 Computer Science Introduction To Multimedia MCQs Set 01 |
| CBSE Class 11 Computer Science List Manipulation MCQs Set 03 |
| CBSE Class 11 Computer Science List Manipulation MCQs Set 02 |
| CBSE Class 11 Computer Science List Manipulation MCQs Set 01 |
| CBSE Class 11 Computer Science Python Fundamentals MCQs |
| Python Variables and Data Types MCQs with Answers Set 01 |
| CBSE Class 11 Computer Science Random Function MCQs |
| CBSE Class 11 Computer Science Retrieve Data Using Queries MCQs |
| CBSE Class 11 Computer Science Society Law and Ethics MCQs |
| CBSE Class 11 Computer Science Software and Operating System MCQs |
| CBSE Class 11 Computer Science String and Function MCQs |
| CBSE Class 11 Computer Science Using Pictures In Synfig MCQs |
| CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs Set 02 |
| CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs Set 01 |
| CBSE Class 11 Computer Science Working With Table MCQs |
MCQs for Python Revision Computer Science Class 11
Students can use these MCQs for Python Revision to quickly test their knowledge of the chapter. These multiple-choice questions have been designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Our expert teachers suggest that you should practice daily and solving these objective questions of Python Revision to understand the important concepts and better marks in your school tests.
Python Revision NCERT Based Objective Questions
Our expert teachers have designed these Computer Science MCQs based on the official NCERT book for Class 11. 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 Python Revision, you should also refer to our NCERT solutions for Class 11 Computer Science created by our team.
Online Practice and Revision for Python Revision Computer Science
To prepare for your exams you should also take the Class 11 Computer Science 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 Computer Science topics will make you an expert in all important chapters of your course.
You can get most exhaustive CBSE Class 11 Computer Science Python Revision MCQs Set 03 for free on StudiesToday.com. These MCQs for Class 11 Computer Science are updated for the 2025-26 academic session as per CBSE examination standards.
Yes, our CBSE Class 11 Computer Science Python Revision MCQs Set 03 include the latest type of questions, such as Assertion-Reasoning and Case-based MCQs. 50% of the CBSE paper is now competency-based.
By solving our CBSE Class 11 Computer Science Python Revision MCQs Set 03, Class 11 students can improve their accuracy and speed which is important as objective questions provide a chance to secure 100% marks in the Computer Science.
Yes, Computer Science MCQs for Class 11 have answer key and brief explanations to help students understand logic behind the correct option as its important for 2026 competency-focused CBSE exams.
Yes, you can also access online interactive tests for CBSE Class 11 Computer Science Python Revision MCQs Set 03 on StudiesToday.com as they provide instant answers and score to help you track your progress in Computer Science.