Read CBSE Class 11 Computer Science Python Revision MCQs Set 04 right here. Find MCQ questions with answers for Class 11 Python Revision Computer Science built to match standard CBSE, NCERT, and KVS patterns. Check out more chapter-wise MCQs for CBSE Class 11 Computer Science and access extra study guides for all subjects easily.
CBSE/Class 11 Computer Science: Python Revision Questions
Review these 50 questions and answers for Class 11 Computer Science to improve your problem-solving skills for Python Revision.
Python Revision MCQ Questions Class 11 Computer Science with Answers
Question. In which year was the Python language developed?
(a) 1995
(b) 1972
(c) 1981
(d) 1989
Answer: D
Question. Who developed the Python language?
(a) Zim Den
(b) Guido van Rossum
(c) Niene Stom
(d) Wick van Rossum
Answer: B
Question. How many keywords are there in python 3.7?
(a) 32
(b) 33
(c) 31
(d) 30
Answer: B
Question. Which one of the following is the correct extension of the Python file?
(a) .py
(b) .python
(c) .p
(d) None of these
Answer: A
Question. What is output for \( - \min(\text{"hello world"}) \)
(a) e
(b) a blank space character
(c) w
(d) hello world
Answer: B
Question. How to output the string “May the odds favor you” in Python?
(a) print(“May the odds favor you”)
(b) echo(“May the odds favor you”)
(c) System.out(“May the odds favor you”)
(d) printf(“May the odds favor you”)
Answer: A
Question. In which year was the Python 3.0 version developed?
(a) 2005
(b) 2000
(c) 2010
(d) 2008
Answer: D
Question. Which character is used in Python to make a single line comment?
(a) /
(b) //
(c) #
(d) ?
Answer: C
Question. Python is often described as a:
(a) Batteries excluded language
(b) Gear included language
(c) Batteries included language
(d) Gear excluded language
Answer: C
Question. What do we use to define a block of code in Python language?
(a) Indentation
(b) Key
(c) Brackets
(d) None of these
Answer: A
Question. Mathematical operations can be performed on a string in Python? State whether true or false:
(a) False
(b) True
Answer: A
Question. Which one of the following is not a python’s predefined data type?
(a) List
(b) Dictionary
(c) Tuple
(d) Class
Answer: D
Question. Which of the following has more precedence?
(a) +
(b) ()
(c) /
(d) –
Answer: B
Question. In which language is Python written?
(a) English
(b) PHP
(c) C
(d) All of the above
Answer: C
Question. Do we need to compile a program before execution in Python?
(a) No
(b) Yes
Answer: A
Question. How to convert the uppercase letters in the string to lowercase in Python?
(a) lowercase()
(b) capilaize()
(c) lower()
(d) toLower()
Answer: C
Question. How to capitalize only the first letter of a sentence in Python?
(a) uppercase() method
(b) capitalize() method
(c) upper() method
(d) None of the above
Answer: B
Question. How to convert the lowercase letters in the string to uppercase in Python?
(a) uppercase()
(b) toUpper()
(c) capitalize()
(d) upper()
Answer: D
Question. How to check whether all the characters in a string is printable?
(a) print() method
(b) printable() method
(c) isprintable() method
(d) echo() method
Answer: C
Question. How to swap case in Python i.e. lowercase to uppercase and vice versa?
(a) casefold() method
(b) case() method
(c) convert() method
(d) swapcase() method
Answer: D
Question. In the Python statement \( x = a + 5 - b \):
a and b are ________
a + 5 - b is ________
(a) terms, a group
(b) operators, a statement
(c) operands, an expression
(d) operands, an equation
Answer: C
Question. Which is the correct operator for power(\( xy \))?
(a) \( X \wedge y \)
(b) \( X ** y \)
(c) \( X \wedge\wedge y \)
(d) None of the mentioned
Answer: B
Question. What is the output of the following addition (+) operator
a = [10, 20]
b = a
b += [30, 40]
print(a)
print(b)
(a) [10, 20, 30, 40]
[10, 20, 30, 40]
(b) [10, 20]
[10, 20, 30, 40]
(c) [10, 20, 10, 20]
[10, 20, 30, 40]
(d) [10, 20]
[30, 40]
Answer: A
Question. Which function overloads the >> operator?
(a) more()
(b) gt()
(c) ge()
(d) None of the above
Answer: D
Question. What is the value of the expression \( 100 / 25 \)?
(a) 4
(b) 4.0
(c) 0
(d) 25
Answer: B
Question. Which one of these is floor division?
(a) //
(b) /
(c) %
(d) None of the above
Answer: A
Question. What is the output of the following assignment operator
a = 10
b = a -= 2
print(b)
(a) 8
(b) 10
(c) Syntax Error
(d) No error but no output too
Answer: C
Question. Which operator is overloaded by the or() function?
(a) ||
(b) |
(c) //
(d) /
Answer: B
Explanation: or() function overloads the bitwise OR operator “|”.
Question. Should you use the == operator to determine whether objects of type float are equal?
(a) Nope, not a good idea.
(b) Sure! Go for it.
Answer: A
Question. What is the order of precedence in python?
i) Parentheses
ii) Exponential
iii) Multiplication
iv) Division
v) Addition
vi) Subtraction
(a) ii,i,iii,iv,v,vi
(b) ii,i,iv,iii,v,vi
(c) i,ii,iii,iv,vi,v
(d) i,ii,iii,iv,v,vi
Answer: D
Question. What is the output of the following code
x = 6
y = 2
print(x ** y)
print(x // y)
(a) 66
0
(b) 36
0
(c) 66
3
(d) 36
3
Answer: D
Question. What is the output of the following program :
i = 0
while i < 3:
print i
i++
print i+1
(a) 0 2 1 3 2 4
(b) 0 1 2 3 4 5
(c) Error
(d) 1 0 2 4 3 5
Answer: C
Question. Suppose the following statements are executed:
a = 100
b = 200
What is the value of the expression a and b?
(a) True
(b) 0
(c) False
(d) 200
(e) 100
Answer: D
Question. Operators with the same precedence are evaluated in which manner?
(a) Left to Right
(b) Right to Left
(c) Can’t say
(d) None of the mentioned
Answer: A
Question. Which of the following operators has the highest precedence?
(a) not
(b) &
(c) *
(d) +
Answer: C
Question. Given a function that does not return any value, what value is shown when executed at the shell?
(a) int
(b) bool
(c) void
(d) None
Answer: D
Question. The function sqrt() from the math module computes the square root of a number. Will the highlighted line of code raise an exception?
x = -100
from math import sqrt
x > 0 and sqrt(x)
(a) Yes
(b) No
(c) void
(d) None
Answer: B
Question. Which one of the following has the same precedence level?
(a) Addition and Subtraction
(b) Multiplication, Division and Addition
(c) Multiplication, Division, Addition and Subtraction
(d) Addition and Multiplication
Answer: A
Question. What is the output of the following code
print(bool(0), bool(3.14159), bool(-3), bool(1.0+1j))
(a) True True False True
(b) False True True True
(c) True True False True
(d) False True False True
Answer: B
Question. What is the output of the expression print(-18 // 4)
(a) -4
(b) -5
(c) 4
(d) 5
Answer: B
Python Revision Objective Questions & Solutions for Class 11 Computer Science
Class 11 Computer Science Python Revision Objective Test Questions
Explore these MCQs for Python Revision to assess your knowledge levels instantly. Created per the latest CBSE guidelines for Class 11 Computer Science, these multiple-choice questions are ideal for regular drills. Consistent problem-solving on these objective tasks secures higher marks in school assessments.
NCERT-Aligned MCQs for Class 11 Computer Science
Built strictly from the official NCERT book for Class 11, these Computer Science objective questions highlight essential exam topics. Compare your final answers against our provided keys after practice. Reviewing our expert NCERT solutions for Class 11 Computer Science will further clarify concepts in Python Revision.
Interactive MCQ Tests for Class 11 Computer Science
To gear up for examinations, try taking the free online Class 11 Computer Science MCQ test available on our platform. This tool is designed to enhance your response speed and accuracy. Consistent revision of these Computer Science topics builds absolute confidence across all core chapters.
FAQs
You can get most exhaustive CBSE Class 11 Computer Science Python Revision MCQs Set 04 for free on StudiesToday.com. These MCQs for Class 11 Computer Science are updated for the 2026-27 academic session as per CBSE examination standards.
Yes, our CBSE Class 11 Computer Science Python Revision MCQs Set 04 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 04, 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 04 on StudiesToday.com as they provide instant answers and score to help you track your progress in Computer Science.