Problem 1
What is a repetition structure?
Problem 2
What is a condition-controlled loop?
Problem 3
What is a count-controlled loop?
Problem 5
Does the while loop test its condition before or after it performs an iteration?
Problem 14
Should an accumulator be initialized to any specific value? Why or why not?
Problem 17
Rewrite the following statements using augmented assignment operators: a. quantity = quantity + 1 b. days_left = days_left ? 5 c. price = price * 10 d. price = price / 2
Problem 18
What is a sentinel?
Problem 20
What does the phrase "garbage in, garbage out" mean?
Problem 23
What is a priming read? What is its purpose?