Operators, expressions and precedence Theory part 2
Operators, expressions and precedence
PYQ reference preview18 included0 excluded
Review every matched question before generating. Flag a wrongly categorised question to
quarantine it from both study and PPT prompts until it is corrected in CBSE Paper Analyzer.
Included in reference
ID 1474 · 2025 · 1 mark(s)
What will be the output of the following expression?
>> 10 - 3 * 2 + 1 * 8 % 2
(a) 0
(b) 14
(c) 4
(d) 8
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1478 · 2025 · 1 mark(s)
What is the result type of the expression:
12 / 3
(a) int
(b) float
(c) str
(d) bool
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1527 · 2025 · 1 mark(s)
Observe the given code and select the correct output.
t = (11, 22, 33) * 2
print(t)
(a) (11, 22, 33)
(b) (11, 22, 33, 11, 22, 33)
(c) [11, 22, 33, 11, 22, 33]
(d) Error
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1558 · 2025 · 1 mark(s)
What is the output of the expression 3 ** 2?
(a) 6
(b) 9
(c) 8
(d) 5
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1562 · 2025 · 1 mark(s)
Which of the following is a logical operator in Python?
a) +
b) and
c) %
d) //
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1564 · 2025 · 1 mark(s)
What is the output of the following code:
x = 5
print(x + "2")
(a) 7
(b) 52
(c) Error
(d) 10
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1087 · 2025 · 2 mark(s)
What will be the output of following statement:
(9>=8) and (not False) or (7<3)
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1088 · 2025 · 2 mark(s)
What will be the output of following statement:
2**3**2+10-2
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1168 · 2025 · 2 mark(s)
Write a program to input two numbers and swap them.
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1169 · 2025 · 2 mark(s)
Write a program to input a number and print its cube and also print original number.
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1273 · 2025 · 2 mark(s)
Evaluate the following expression:
(a) 4*2**5//10
(b) 10>2 and 20>200 or not 200<201
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1404 · 2025 · 2 mark(s)
(a) Write a Python program to accept a number and display whether the number is palindrome or not.
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1491 · 2025 · 2 mark(s)
(a) What is the purpose of the pass statement in Python?
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1492 · 2025 · 2 mark(s)
(b) What is the use of is operator in Python?
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1574 · 2025 · 2 mark(s)
Write a Python program to input two numbers and display their sum.
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1409 · 2025 · 3 mark(s)
(b) What is the difference between (9) and (9,)?
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1578 · 2025 · 3 mark(s)
Define operators in python. Explain relational and logical operators with example.
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Included in reference
ID 1503 · 2025 · 4 mark(s)
What is the difference between an expression and a statement in Python?
Python Basics and Data Concepts
→ Operators, expressions and precedence
· Concept XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE
Pick a lecture from the panel on the left, configure the board and student level,
then click Generate Prompt. The result includes PYQ data,
frequency analysis, exam trends, and a full 15-section teaching package request —
ready to paste into any AI assistant.
ChatGPTClaudeGeminiDeepSeek
PYQ Analysis
Frequency, marks & high-yield concepts
Lecture Flow
Exact time-allocation plan
15 Sections
From objectives to ranked exam questions
Export
Copy or download as .txt
Reset All Progress?
This will clear all Done and Missed marks and rebuild the schedule from scratch.
A backup will be created automatically before resetting. You can restore it from the Backups page.