Computer AwarenessVery hardSBI PO · IBPS Clerk · SSC CGL

A processor negates the 8-bit value 00101100 using two's complement. Which bit pattern does it produce?

  1. A. 11010011
  2. B. 11010100
  3. C. 11010101
  4. D. 10101100

Correct answer: B. 11010100

One's complement of 00101100 is 11010011; adding 1 gives 11010100. 11010011 is only the one's complement. Check: 00101100 + 11010100 = 1 00000000 (carry discarded).

हिंदी में

एक प्रोसेसर 8-बिट मान 00101100 को टू’ज़ कॉम्प्लिमेंट से ऋणात्मक बनाता है। वह कौन-सा बिट पैटर्न देता है?

  1. A. 11010011
  2. B. 11010100
  3. C. 11010101
  4. D. 10101100

उत्तर: B. 00101100 का वन’ज़ कॉम्प्लिमेंट 11010011 है; 1 जोड़ने पर 11010100 मिलता है। 11010011 केवल वन’ज़ कॉम्प्लिमेंट है। जाँच: 00101100 + 11010100 = 1 00000000 (कैरी छोड़ दी जाती है)।

More Computer Awareness questions

Exams that ask this topic