Computer Science, asked by nancyinsan5487, 9 months ago

2's complement of binary number 0101 is

Answers

Answered by briellamikel
1

Answer:

Explanation:

If the number is a positive number then you are done. e.g. 5 is 0101 in binary using twos complement notation. ... Therefore, -5 in two's complement is 1011

For example, 2's complement of “01000” is “11000” (Note that we first find one's complement of 01000 as 10111). If there are all 1's (in one's complement), we add an extra 1 in the string. For example, 2's complement of “000” is “1000” (1's complement of “000” is “111”).

Similar questions