Question
Option 1 : A trace table where students predict variable values each iteration and compare with actual execution / एक trace तालिका जहाँ छात्र प्रत्येक iteration में चर-मानों का पूर्वानुमान लगाकर वास्तविक निष्पादन से तुलना करें
Detailed Solution
सही उत्तर A trace table where students predict variable values each iteration and compare with actual execution / एक trace तालिका जहाँ छात्र प्रत्येक iteration में चर-मानों का पूर्वानुमान लगाकर वास्तविक निष्पादन से तुलना करें है।
Question:
Students believe a `for` loop with condition `i < 5` executes its body exactly 5 times "because the condition is checked 5 times." The best remedial step is / छात्र मानते हैं कि शर्त `i < 5` वाला `for` लूप अपना शरीर ठीक 5 बार चलाता है "क्योंकि शर्त 5 बार जाँची जाती है।" सर्वोत्तम उपचारात्मक कदम है
Correct Answer: A trace table where students predict variable values each iteration and compare with actual execution / एक trace तालिका जहाँ छात्र प्रत्येक iteration में चर-मानों का पूर्वानुमान लगाकर वास्तविक निष्पादन से तुलना करें
The off-by-one confusion lives in the iteration dynamics, which only a predicted-vs-actual trace makes visible; more notes or oral recall cannot expose the faulty counting model. / off-by-one भ्रम iteration-गतिशीलता में है, जो केवल पूर्वानुमान-बनाम-वास्तविक trace से दृश्य होता है; अतिरिक्त नोट्स या मौखिक स्मरण दोषपूर्ण गणना-मॉडल उजागर नहीं कर सकते।