Multiple choice

What is the significance of use of recursion?

  1. It enhances logical clarity and reduces code size.

  2. It makes debugging easier and reduces execution time.

  3. It reduces execution time.

  4. It makes software bug-free and easy to use.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Recursion enhances logical clarity by expressing complex problems in simpler, self-referential terms. It often reduces code size because the same logic is applied repeatedly without loops. However, recursion typically INCREASES execution time due to function call overhead and can make debugging harder due to stack complexity. Option A correctly captures the primary benefits.