Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 5 You often need to do a “prime the read” for counter controlled loops

ID: 3708448 • Letter: Q

Question

QUESTION 5

You often need to do a “prime the read” for counter controlled loops which means that you would input a value before going into the body of the loop.

True

False

QUESTION 6

True or False: The loop control variable used with a for statement must be an integral value.

True

False

QUESTION 7

To write a sentinel-controlled loop to compute the average temperature during the month of July in California, the best option for a sentinel value would be:

67

1000

100

“high temperature”

none of the above

QUESTION 8

In order to use the MessageBox.Show( ) method, you need to not only add a reference to the namespace which includes the class, but also add a using directive to the program statements.

True

False

67

1000

100

“high temperature”

none of the above

QUESTION 8

In order to use the MessageBox.Show( ) method, you need to not only add a reference to the namespace which includes the class, but also add a using directive to the program statements.

True

False

Explanation / Answer

5)Answer:

False

7)Answer:

1000

Explanation:

The user type temparature values in degrees fahrenheit or degree celcius where the former is the smaller unit of measurementso 100 is not correct.

the best value is 1000

8)Answer:

True

Explanation:

In order to use the MessageBox.Show( ) method, you need to not only add a reference to the namespace which includes the class, but also add a using directive to the program statements