

McqMate
Q. |
Which of these is not true about recursion? |
A. | it’s easier to code some real-world problems using recursion than non-recursive equivalent |
B. | recursive functions are easy to debug |
C. | recursive calls take up a lot of memory |
D. | programs using recursion take longer time than their non-recursive equivalent |
Answer» B. recursive functions are easy to debug | |
Explanation: recursive functions may be hard to debug as the logic behind recursion may be hard to follow. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet