Data types, mutability and object identity PYQ part 1
What We'll Learn
A quick overview of today's lecture
Data types, mutability and object identity PYQ part 1
PYQ PRACTICE SCOPE: Data types, mutability and object identity.
Concept ID: XI_U2_DATA_TYPES_MUTABILITY_IDENTITY.
Use only previous-year questions whose concept_ids include XI_U2_DATA_TYPES_MUTABILITY_IDENTITY.
Key things we'll cover
Data types, mutability and object identity
PYQ references used by all prompt types8 included0 excluded
Flagged questions are excluded from Study Notes, PPT, and Student Notes references until corrected in Paper Analyzer.
Included
ID 1154 · 2025 · 1 mark(s)
What shape represents a decision in a flowchart?
a) A diamond
b) A rectangle
c) An oval
d) None of these
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1228 · 2025 · 1 mark(s)
Consider the given expression:
not True and False or True
Which of the following will be correct output if the given expression is evaluated?
(a) True
(b) False
(c) NONE
(d) NULL
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1256 · 2025 · 1 mark(s)
An empty/null statement in Python is ……………….
(a) pass
(b) None
(c) Null
(d) break
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1298 · 2025 · 1 mark(s)
The ___________ statement forms the selection construct in Python.
A) for
B) while
C) if
D) None
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1439 · 2025 · 1 mark(s)
Assertion (A): Python allows dynamic typing of variables.
Reasoning (R): A variable in Python must be declared with a specific data type before assigning a value.
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true.
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1468 · 2025 · 1 mark(s)
What is the output of the expression:
not (True or False)
(a) False
(b) True
(c) None
(d) Error
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1513 · 2025 · 1 mark(s)
What is the default value of an uninitialized variable in Python?
(a) False
(b) 0
(c) None
(d) Undefined
Python Basics and Data Concepts → Data types, mutability and object identity
Included
ID 1518 · 2025 · 1 mark(s)
What is the output of the following expression?
(30+ 7) * 3 > 15 and (9 * 2) <= 50
(a) True
(b) False
(c) Error
(d) None
Python Basics and Data Concepts → Data types, mutability and object identity