The 2’s complement of the binary number 01010110 is
Question
The 2’s complement of the binary number 01010110 is
Solution
To find the 2's complement of a binary number, you follow these steps:
-
Find the 1's complement of the binary number. This is done by flipping all the bits, i.e., changing all 1s to 0s and all 0s to 1s. So, the 1's complement of 01010110 is 10101001.
-
Add 1 to the 1's complement. So, 10101001 + 1 = 10101010.
So, the 2's complement of the binary number 01010110 is 10101010.
Similar Questions
What will be the 2’s complement of the given numbers which are in signedbinary representation? 00010010 01001010
Which of the following represents the two's complement of the binary number 1101?001100101011111
Find 1’s complement of binary number 10101110.
The one’s complement of 00101110101 is:Options00101110101110100010101101000101111010010010
Perform the subtraction with the following unsigned binary numbers by taking the 2's complement of the subtrahend. 1010100 - 101010*10000000100000111111111110000
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.