Question: Question 2: Part A Choose the most reasonable data type for each of the following so that no memory storage is wasted. Label each question

Question 2: Part A Choose the most reasonable data type for each of the following so that no memory storage is wasted. Label each question with a valid Python data type (int, float or string) 1 the number of siblings that you have 2 the final letter grade that you plan to make in this class 3. the price of an automobile your favorite actor 5 the number of students in this class 6 your GPA 7. the number of books sold by the bookstore this spring 8. your major Part B Label the following statements as either true (T) or false (F). Parentheses have higher precedence than any of the arithmetic operators. The contents of a variable cannot be changed while the program is running Assuming that pay has been declared a double, the following statement is 2. 3. valid. pay- 2,583.44 Named constants are initialized with a value, that value cannot be changed during the execution of the program. 5. In Python, the variable named total is the same as the variable named Total. The following Python statement adds 5 to a variable named points: points-points+5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
