Discussion :: Python MCQs
- Which of these is false about recursion?
A.
Recursive function can be replaced by a non-recursive function
|
B.
Recursive functions usually take more memory space than non-recursive function
|
C.
Recursive functions run faster than non-recursive function
|
D.
Recursion makes programs easier to understand
|
Answer : Option C
Explanation :
The speed of a program using recursion is slower than the speed of its non-recursive equivalent.
Be The First To Comment