1 Number Systems and Data Representation • Binary Complements 8-बिट बाइनरी संख्या 00101101 का वन्स कॉम्प्लिमेंट क्या है? What is the one’s complement of the 8-bit binary number 00101101? A. 11010011 11010011 B. 11010010 11010010 C. 00101110 00101110 D. 10110010 10110010 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B वन्स कॉम्प्लिमेंट में प्रत्येक 0 को 1 और प्रत्येक 1 को 0 किया जाता है। इसलिए 00101101 का वन्स कॉम्प्लिमेंट 11010010 है। One’s complement changes each 0 to 1 and each 1 to 0. Thus, 00101101 becomes 11010010.
2 Number Systems and Data Representation • Binary Complements 8-बिट संख्या 00000101 का टूज़ कॉम्प्लिमेंट क्या है? What is the two’s complement of the 8-bit number 00000101? A. 11111010 11111010 B. 10000101 10000101 C. 00000110 00000110 D. 11111011 11111011 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D पहले सभी बिट उलटने पर 11111010 मिलता है। इसमें 1 जोड़ने पर टूज़ कॉम्प्लिमेंट 11111011 मिलता है। Inverting all bits gives 11111010. Adding 1 produces the two’s complement, 11111011.