Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL

What is the 8-bit two's complement representation of −5?

  1. A. 10000101
  2. B. 11111010
  3. C. 11111011
  4. D. 00000101

Correct answer: C. 11111011

+5 = 00000101; one's complement = 11111010; add 1 → 11111011. 11111010 is only the one's complement, and 10000101 is the sign-magnitude form.

हिंदी में

−5 का 8-बिट टू’ज़ कॉम्प्लिमेंट निरूपण क्या है?

  1. A. 10000101
  2. B. 11111010
  3. C. 11111011
  4. D. 00000101

उत्तर: C. +5 = 00000101; वन’ज़ कॉम्प्लिमेंट = 11111010; 1 जोड़ने पर → 11111011। 11111010 केवल वन’ज़ कॉम्प्लिमेंट है, और 10000101 साइन-मैग्निट्यूड रूप है।

More Computer Awareness questions

Exams that ask this topic