Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 3 : Interprets = as mathematical equality rather than as destructive update of a stored value / = को संग्रहीत मान के विनाशकारी अद्यतन के बजाय गणितीय समानता मान रहा है

Advertisement

Detailed Solution

सही उत्तर Interprets = as mathematical equality rather than as destructive update of a stored value / = को संग्रहीत मान के विनाशकारी अद्यतन के बजाय गणितीय समानता मान रहा है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A student insists that the statement count = count + 1 is "mathematically impossible" and refuses to use it in a program. The deepest source of this difficulty is that the student / एक विद्यार्थी ज़ोर देता है कि count = count + 1 कथन "गणितीय रूप से असंभव" है और प्रोग्राम में इसका उपयोग करने से इनकार करता है। इस कठिनाई का गहनतम कारण यह है कि विद्यार्थी

1.
Has not memorized the syntax of the assignment operator / असाइनमेंट ऑपरेटर का सिंटैक्स याद नहीं कर पाया है
2.
Is confusing the variable name with its memory address / चर के नाम को उसके मेमोरी पते से भ्रमित कर रहा है
3.
Interprets = as mathematical equality rather than as destructive update of a stored value / = को संग्रहीत मान के विनाशकारी अद्यतन के बजाय गणितीय समानता मान रहा है
4.
Lacks typing speed to write long expressions / लंबे व्यंजकों को लिखने हेतु टाइपिंग गति का अभाव है

Correct Answer: Interprets = as mathematical equality rather than as destructive update of a stored value / = को संग्रहीत मान के विनाशकारी अद्यतन के बजाय गणितीय समानता मान रहा है

The classic notional-machine misconception: importing the mathematical meaning of = into programming, where it denotes assignment, not a timeless equality claim. / क्लासिक वैचारिक-यंत्र भ्रांति: = के गणितीय अर्थ को प्रोग्रामिंग में ले आना, जहाँ यह असाइनमेंट दर्शाता है, शाश्वत समानता का दावा नहीं।

Downloaded from PrepSnap (prepsnap.in)