What types of data will you need for the followings:-
i. To prepare a birthday chart of your class?
ii. To know the average marks of your class?
iii. To calculate the maximum and minimum temp. for a month?
Answers
Answered by
2
Answer:
Types of data we need :
1. To prepare a birthday chart of your class : String (or str or text)
2. To know the average marks of your class : Float or Integer
3. To calculate the maximum and minimum temperature for a month : Float or Integer
Explanation:
1. Since birthday charts includes Name, Date, Month, Year (DOB basically), string (or str or text) is used for a combination of any characters that appear on a keyboard, such as letters, numbers and symbols.
2. Since average marks can be a whole number or in decimals, we used Float (for decimals) or Integer (in case it is a whole number).
3. Also same as in 2nd case, maximum/minimum temp can be a whole number or integer. And since it is observed for a month, it can never be same.
Similar questions