5. What is the Boolean value of True in Python?
True
0
1
"False"
"True"
Which of the following is NOT a data type?
String
Boolean
Integer
Variable
What type of data is stored in a String?
Only special characters
A sequence of characters enclosed in quotes
Only numbers
Only letters
7. What will be the output of the following Python code?x = 10y = 2.5print(type(y))
<class 'float'>
<class 'str'>
<class 'bool'>
<class 'int'>
8. Which of the following is NOT a valid Boolean value?
False
Yes
Which of the following is an example of an Integer?
24.5
"100"
100
1. What is a variable in programming?
A special character
A container for storing values
A fixed value that cannot be changed
A data type
6. What is the purpose of the assignment operator = in Python?
=
To compare two values
To multiply numbers
To check the data type
To assign a value to a variable
10. What type of value will the following statement store in the variable?
number = "123"
Float
9. What is the correct way to define a String in Python?
"Hello"
All of the above
'Hello'
'''Hello'''