MCQ Answer

Which is the most appropriate definition for recursion?

Which is the most appropriate definition for recursion?

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

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 2024 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz