If you roll a die 10 times and record the number that comes up in array of integers, which type of loop would you use to look at all those numbers in the array?

  1. for loop
  2. do-until loop
  3. while loop
  4. fruit loop

True or False: You would use an if-then-else statement if you were flipping a coin once and printing one message for heads, or another for tails.

  1. True
  2. False

Move books from a box to a shelf, print the title of each one. You have no advance knowledge how many books are in the box, it may even be empty. What type of loop is this?

  1. for loop
  2. while-end while loop
  3. do-until loop
  4. constant loop