Solved

Which of the Following Statements Describe the Base Case of a Recursive

Question 32

Multiple Choice

Which of the following statements describe the base case of a recursive algorithm?
(i) F(0) = 0;
(ii) F(x) = 2 * F(x - 1) ;
(iii) if (x == 0)
F(x) = 5 + x;


A) Only (i)
B) Only (ii)
C) Only (iii)
D) Both (i) and (iii)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions