Computer AwarenessVery hardIBPS SO IT Officer · SSC CGL

What is 0101 − 0111 in 4-bit two's-complement arithmetic?

  1. A. 1110
  2. B. 0010
  3. C. 1010
  4. D. 1101

Correct answer: A. 1110

Add the two's complement of 0111 (which is 1001): 0101 + 1001 = 1110, which is −2, matching 5 − 7. 0010 is +2, the sign error.

हिंदी में

4-बिट टू’ज़-कॉम्प्लिमेंट अंकगणित में 0101 − 0111 क्या है?

  1. A. 1110
  2. B. 0010
  3. C. 1010
  4. D. 1101

उत्तर: A. 0111 का टू’ज़ कॉम्प्लिमेंट (जो 1001 है) जोड़ें: 0101 + 1001 = 1110, जो −2 है, 5 − 7 से मेल खाता है। 0010 +2 है, जो चिह्न की भूल है।

More Computer Awareness questions

Exams that ask this topic