Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL
What does the Excel formula =-2^2 return?
- A. 4
- B. -4
- C. 0
- D. #VALUE!
Correct answer: A. 4
In Excel, negation has higher precedence than exponentiation, so it is evaluated as (-2)^2 = 4. In ordinary algebra (and in many programming languages) -2² would be -4, which is the trap.
हिंदी में
Excel का सूत्र =-2^2 क्या लौटाता है?
- A. 4
- B. -4
- C. 0
- D. #VALUE!
उत्तर: A. Excel में निषेध (negation) की प्राथमिकता घातांक से अधिक होती है, इसलिए इसका मान (-2)^2 = 4 निकलता है। सामान्य बीजगणित (और कई प्रोग्रामिंग भाषाओं) में -2² का मान -4 होता, यही जाल है।
Practise more MS Office, Internet and Cyber Security questionsMS Office, Internet and Cyber Security: notes and key points