Class 10 Computer Science: Data Handling in Python Worksheet
Answer the questions and tap Submit to see your score. Your progress is auto-saved on this device.
Jump to question
Q1 · MCQ · 1 mark
Which of the following data types is immutable in Python?
Q2 · FILL · 1 mark
The operator used for integer division in Python is ________.
Q3 · MCQ · 1 mark
What will be the output of the following Python code?
x = 5
y = 2
print(x ** y)
Q4 · SHORT · 2 marks
Explain the difference between mutable and immutable data types in Python with one example for each.
Q5 · MCQ · 1 mark
Which function is used to take input from the user in Python?
Q6 · MCQ · 1 mark
What is the primary purpose of a variable in Python?
Q7 · FILL · 1 mark
The process of converting one data type into another is known as ________.
Q8 · MCQ · 1 mark
Which of the following is not a valid way to assign a value to a variable in Python?
Q9 · SHORT · 2 marks
List two common arithmetic operators in Python and give an example of their use.
Q10 · FILL · 1 mark
Python uses indentations for defining code blocks, which makes it a ________ language.