Computer AwarenessHardSSC CGL · IBPS PO Mains

What is the sum of the largest value a 4-bit UNSIGNED number can hold and the smallest value a 4-bit TWO'S-COMPLEMENT number can hold?

  1. A. 23
  2. B. 7
  3. C. −1
  4. D. 8

Correct answer: B. 7

Unsigned 4 bits go up to 1111 = 15; 4-bit two's complement goes down to 1000 = −8; 15 + (−8) = 7. Taking −7 or +8 by mistake gives 8 or 23.

हिंदी में

4-बिट अचिह्नित संख्या के सबसे बड़े मान और 4-बिट टू’ज़-कॉम्प्लिमेंट संख्या के सबसे छोटे मान का योग क्या है?

  1. A. 23
  2. B. 7
  3. C. −1
  4. D. 8

उत्तर: B. 4 बिट अचिह्नित 1111 = 15 तक जाता है; 4-बिट टू’ज़ कॉम्प्लिमेंट 1000 = −8 तक नीचे जाता है; 15 + (−8) = 7। भूल से −7 या +8 लेने पर 8 या 23 आता है।

More Computer Awareness questions

Exams that ask this topic