NIELIT O Level Exam

Which is the most appropriate definition for recursion?

Which is the most appropriate definition for recursion?

पुनरावृत्ति के लिए सबसे उपयुक्त परिभाषा कौन सी है?

A. A function that calls itself एक फ़ंक्शन जो स्वयं को कॉल करता है

B. A function execution instance that calls another execution instance of the same function एक फ़ंक्शन एक्सेक्यूशन इंस्टैंस जो उसी फ़ंक्शन के किसी अन्य एक्सेक्यूशन इंस्टैंस को कॉल करता है

C. A class method that calls another class method एक क्लास मैथड जो दूसरे क्लास मैथड को बुलाती है

D. An in-built method that is automatically called एक अंतर्निहित पद्धति जिसे स्वचालित रूप से कहा जाता है




Correct Answer is :

B. A function execution instance that calls another execution instance of the same function



Explanation
The appropriate definition for a recursive function is a function execution instance that calls another execution instance of the same function either directly or indirectly.
Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad