For a 5bit ones complement system the binary code for 2 is U

For a 5-bit one\'s complement system, the binary code for -2 is? Using bias is like sliding the binary codes towards the negative decimal numbers by an amount equal to the bias. Suppose that the bias for a 5-bit system is 15. Then the decimal value of binary 00000 is? The one\'s complement of 000 in a three-bit system is? If the bias is 2^(n-l) - 1, then for an 8-bit system, the bias is?

Solution

a) The ones\' complement of a binary number is defined as the value obtained by inverting all the bits in the binary representation of the numberfor 2 = 00010 and -2 = 11101.

b) As we shift the binary values towards negative decimal by bias = 15, decimal value of 00000 is equal to -15.

c) One\'s complement of 000 in 3-bit system is 000.

d) Here n = 8, so bias = (2^(8-1)) - 1 = 127

 For a 5-bit one\'s complement system, the binary code for -2 is? Using bias is like sliding the binary codes towards the negative decimal numbers by an amount

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site