Direction: Choose the correct option
Q1.
What is the output of `type(3.14)` in Python?
Direction: Choose the correct option
Q2.
Which of the following is a valid variable name in Python?
Direction: Choose the correct option
Q3.
What does the `bool()` function return when passed an empty list?
Direction: Choose the correct option
Q4.
How do you convert the string `'123'` to an integer?
Direction: Choose the correct option
Q5.
What is the result of `5 // 2` in Python?
Direction: Choose the correct option
Q6.
Which of the following is immutable in Python?
Direction: Choose the correct option
Q7.
What is the data type of `(1)` (a single integer in parentheses)?
Direction: Choose the correct option
Q8.
How do you create an empty set in Python?
Direction: Choose the correct option
Q9.
What is the output of `isinstance('hello', str)`?
Direction: Choose the correct option
Q10.
Which operator is used to check if two variables refer to the same object?
