Multiple Choice
Which of the following is true regarding the while or until loops?
A) It is the programmer's responsibility to specify a variable that will be used to control how many times the loop iterates.
B) It is the programmer's responsibility to determine how many times the loop repeats.
C) It is the programmer's responsibility to supply an expression for tracking the last element processed in the array and to increment its value at the end of each execution of the loop.
D) All of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q22: The redo method facilitates which of the
Q23: Ruby provides programmers with a number of
Q24: The next method facilitates which of the
Q25: Ruby supports different categories of loops, including
Q26: The break command provides the ability to
Q28: Loop methods are language commands that are
Q29: Using a minimum amount of code, loops
Q30: Loops can be used to collect and
Q31: A loop is a collection of statements
Q32: The while modifier evaluates a Boolean expression