McqMate
| Q. |
Which of these is not true about recursion? |
| A. | making the code look clean |
| B. | a complex task can be broken into sub- problems |
| C. | recursive calls take up less memory |
| D. | sequence generation is easier than a nested iteration |
| Answer» C. recursive calls take up less memory | |
| Explanation: recursive calls take up a lot of memory and time as memory is taken up each time the function is called. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet