Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL

What does the Excel formula =MOD(-7, 3) return?

  1. A. 1
  2. B. -1
  3. C. 2
  4. D. -2

Correct answer: C. 2

Excel's MOD returns a result with the same sign as the divisor: MOD(n, d) = n − d × INT(n/d) = −7 − 3 × (−3) = 2. -1 is what truncating division (as in C or Java's %) gives.

हिंदी में

Excel का सूत्र =MOD(-7, 3) क्या लौटाता है?

  1. A. 1
  2. B. -1
  3. C. 2
  4. D. -2

उत्तर: C. Excel का MOD भाजक के चिह्न वाला परिणाम लौटाता है: MOD(n, d) = n − d × INT(n/d) = −7 − 3 × (−3) = 2। -1 वह है जो छोटा करने वाला भाग (जैसे C या Java के %) देता है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic