Computer AwarenessVery hardSBI PO · IBPS Clerk · SSC CGL

In Excel, the divisor is negative in =MOD(7, -3). What result does the formula give?

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

Correct answer: B. -2

MOD(n, d) = n − d × INT(n/d) = 7 − (−3) × INT(−2.33) = 7 − (−3)(−3) = 7 − 9 = −2. The result takes the sign of the divisor, so the positive answers are traps.

हिंदी में

Excel में =MOD(7, -3) में भाजक ऋणात्मक है। सूत्र क्या परिणाम देता है?

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

उत्तर: B. MOD(n, d) = n − d × INT(n/d) = 7 − (−3) × INT(−2.33) = 7 − (−3)(−3) = 7 − 9 = −2। परिणाम भाजक का चिह्न लेता है, इसलिए धनात्मक उत्तर जाल हैं।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic