Question:
When introducing recursion to secondary school computer science students, which pedagogical strategy best mitigates the cognitive barrier of visualizing function call frames?
माध्यमिक विद्यालय के कंप्यूटर विज्ञान के छात्रों को रिकर्शन (Recursion) पढ़ाते समय, फ़ंक्शन कॉल फ़्रेमों की कल्पना करने की संज्ञानात्मक बाधा को कम करने के लिए कौन सी शिक्षण रणनीति सबसे उपयुक्त है?
Options:
- Physical role-play simulation where each student acts as an independent stack frame holding local variables and passing return values back to the caller
- Giving mathematical induction proofs without executing code
- Instructing students to avoid recursion completely in favor of iterative loops
- Demanding students memorize the assembly stack pointer register operations
- शारीरिक भूमिका-अभिनय (role-play) सिमुलेशन जहाँ प्रत्येक छात्र एक स्वतंत्र स्टैक फ्रेम के रूप में स्थानीय चर रखता है और कॉलर को मान वापस लौटाता है
- बिना कोड चलाए केवल गणितीय आगमन के प्रमाण देना
- रिकर्शन से बचने और केवल लूप्स का उपयोग करने का निर्देश देना
- असेंबली स्टैक पॉइंटर को रटवाना
Correct Answer: a)
Explanation:
Embodied cognition and physical simulation (acting as call frames) demystifies the abstract call stack, helping learners tangibly observe how base cases terminate recursion and unwinds call frames.
रोल-प्ले या शारीरिक सिमुलेशन द्वारा छात्र आसानी से समझ पाते हैं कि स्टैक में कैसे नए फ्रेम जुड़ते हैं और बेस केस आने पर कैसे वापस मान लौटाए जाते हैं।