Question
Choose the best variable type to represent each item. Highlight or circle your answer. [1 point each] 1) The number of cars in a parking
Choose the best variable type to represent each item. Highlight or circle your answer. [1 point each]
1) The number of cars in a parking lot.
Real Integer
2) The current temperature in Celsius.
Real Integer
3) A person's height in centimeters.
Real Integer
4) The number of hairs on a person's head.
Real Integer
5) The average number of kids per household. Real Integer Indicate the output of each output statement. If it is an error, please type [error]. [1 point each]
1) DISPLAY "Hello friend!"
output:
2) DISPLAY How are you?
output:
3) DISPLAY "a b c"
output:
4) Display "To be"; Display "or not to be" to output output: Given variable numCars = 9, which statement outputs 9?[2 points]
A. Put "numCars" to output
B. Get numCars to output
C. Put numCars to output
Write a program using integers userNum and x as input, and output userNum divided by x four times. Each part of the pseudo code carries points. [9 points] Ex: If the input is 2000 2, the output is: 1000 500 250 125
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started