Multiple Choice
Which of the following statements is false?
A) Both xe "iteration"iteration and recursion are based on a xe "control statement"control statement: Iteration uses an xe "iteration:statement"iteration statement (e.g., for or while) , whereas recursion uses a selection statement (e.g., if or if…else or if…elif…else) .
B) Iteration and recursion each involve a xe "termination test"termination test: Iteration terminates when the loop-continuation condition fails, whereas recursion terminates when a base case is reached.
C) Iteration with xe "counter-controlled iteration[counter controlled iteration]"counter-controlled iteration and recursion both gradually approach termination: Counter-controlled iteration keeps modifying a counter until the counter assumes a value that makes the loop-continuation condition fail, whereas recursion keeps producing smaller versions of the original problem until the base case is reached.
D) Only iteration can occur infinitely: An infinite loop occurs with iteration if the loop-continuation test never becomes false.
Correct Answer:

Verified
Correct Answer:
Verified
Q8: Which of the following statements about the
Q9: Which of the following statements about binary
Q10: Suppose an algorithm is designed to test
Q11: Suppose you have an algorithm that tests
Q12: The following code implements a simple linear
Q13: Which of the following statements a), b)
Q14: Which of the following statements is false?<br>A)
Q15: Which of the following statements a), b)
Q16: Which of the following statements is false?<br>A)
Q17: Which of the following statements a), b)