Computer AwarenessHardIBPS PO · SBI PO · IBPS Clerk

The 4-bit two’s complement of the binary number 0101 is:

  1. A. 1101
  2. B. 1010
  3. C. 0110
  4. D. 1011

Correct answer: D. 1011

Two’s complement = one’s complement + 1: invert 0101 to 1010 and add 1 to get 1011, which represents −5. Stopping at 1010 gives only the one’s complement.

हिंदी में

बाइनरी संख्या 0101 का 4-बिट टू’ज़ कॉम्प्लिमेंट है:

  1. A. 1101
  2. B. 1010
  3. C. 0110
  4. D. 1011

उत्तर: D. टू’ज़ कॉम्प्लिमेंट = वन’ज़ कॉम्प्लिमेंट + 1: 0101 को उलटकर 1010 बनाएँ और 1 जोड़ें तो 1011 मिलता है, जो −5 को दर्शाता है। 1010 पर रुकने से केवल वन’ज़ कॉम्प्लिमेंट मिलता है।

More Computer Awareness questions

Exams that ask this topic