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?
- A. 11010011
- B. 11010100
- C. 11010101
- 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 को टू’ज़ कॉम्प्लिमेंट से ऋणात्मक बनाता है। वह कौन-सा बिट पैटर्न देता है?
- A. 11010011
- B. 11010100
- C. 11010101
- D. 10101100
उत्तर: B. 00101100 का वन’ज़ कॉम्प्लिमेंट 11010011 है; 1 जोड़ने पर 11010100 मिलता है। 11010011 केवल वन’ज़ कॉम्प्लिमेंट है। जाँच: 00101100 + 11010100 = 1 00000000 (कैरी छोड़ दी जाती है)।
More Computer Awareness questions
- The binary number 1011 converted into Gray code is:
- (FF)₁₆ + (1)₁₆ − (100)₈ equals which decimal number?
- What is the product of the binary numbers 1010 and 111, expressed in binary?
- A network uses the subnet mask 255.255.255.192 (/26). How many usable host addresses does each subnet have?
- A 32-bit memory address is written in hexadecimal. How many hexadecimal digits does it take, and what is the largest address?
- Convert (345)₈ directly into base 16.