Which procedure is characterized by the fact that the procedure calls itself…
2024
Which procedure is characterized by the fact that the procedure calls itself again and again till the base condition is met?
- A.
Nested
- B.
Functional
- C.
Recursive
- D.
Operational
Attempted by 567 students.
Show answer & explanation
Correct answer: C
Correct Answer: Recursive
A procedure that calls itself repeatedly until a base condition is met is known as a recursive procedure.
Recursion is a fundamental concept in computer science where a function solves a problem by breaking it down into smaller instances of the same problem. The process continues until a base case is reached, which stops the recursion.
हिन्दी उत्तर: पुनरावर्ती
एक प्रक्रिया जो तब तक स्वयं को कॉल करती रहती है जब तक कि आधार शर्त पूरी नहीं हो जाती, उसे पुनरावर्ती प्रक्रिया कहा जाता है।
कंप्यूटर विज्ञान में पुनरावृत्ति एक मौलिक अवधारणा है जहाँ एक फ़ंक्शन समस्या को उसी समस्या के छोटे संस्करणों में तोड़कर हल करता है। प्रक्रिया तब तक चलती रहती है जब तक कि एक आधार मामला नहीं पहुँच जाता, जो पुनरावृत्ति को रोकता है।