True / False For Data Handling Class 11 Computer Science (CS), Informatics Practices (IP)
1. List is an immutable data type.
2. Set is a mutable data type.
3. A set can contain duplicate values in it.
4. A Boolean value is internally treated as an integer value.
5. “ ” (an empty string) has truth value as False.
6. “” (a space) has truth value as False.
7. Value false is a legal literal value in Python.
8. Value False is a legal literal value in Python.
9. Value ‘False’ is a legal literal value in Python.
10. Value 'false' is a legal literal value in Python. '
11. None and ‘None’are the same.
12. None has the truth value as False.
13. None has the truth value as False.
14. The result of bool(0) is False.
15. The result of bool(‘None’) is False.
16. Dividing two integers results in an integer.
17. Floor division of two integers results in an integer.
18. Two floating point numbers should not be compared for equality using ==.
19. In implicit conversion, all operands' data types are converted to the data type of the largest operand.
20. Explicit type conversion involves the use of a function to convert data type of a value.
Answer :-
1. False
2. True
3. False
4. True
5. True
6. False
7. False
8. True
9. True
10. True
11. False
12. True
13. False
14. True
15. False
16. False
17. True
18. True
19. True
20. True
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )