Class 11 Computer Science – Ch 8: Data Handling
Check Point 8.1
Sumita Arora Book Exercise Solution
1. What are the built-in core data types of Python?
Answer: The built-in core data types of Python are – int, float, complex, boolean, string, tuples, list, dictionary, sets.
2. What do you mean by Numeric types? How many numeric data types does Python provide?
Answer: Data types that can handle and manipulate numeric values are called Numeric types.
Python provides four types of Numeric data types –
- integer,
- float,
- complex,
- boolean
3. What will be the data types of the following two variables?
A = 2147483647
B = A + 1
(Hint. Carefully look at the values they are storing. You can refer to a range of Python number tables. )
Answer: Both are integer types.
4. What are Boolean numbers? Why are they considered as a type of integer in Python?
Answer: Boolean means True and False. In Python True means 1 and False means 0. 1 and 0 are numeric integer values.
Because boolean value is processed as integers 1 and 0, that’s why Boolean is considered as a type of integer in Python.