In the sign and magnitude method the sign of a number is stored in the LSB position
A) True B) False
Answers
Answer:
B) False
explanation:
One's and Two's Complements
A more useful way of writing signed negative numbers is to use the two's complement method. A binary number has two complements, known as the one's complement and the two's complement. The one's complement of a binary number is obtained by changing all the 1s in the unsigned number into 0s and the 0s into 1s. Thus if we have the binary number 101101, the one's complement of it is 010010. The two's complement is obtained from the one's complement by adding 1 to the LSB of the one's complement. Thus the two's complement of 101101 becomes 010011.
When we have a negative number, to obtain the signed two's complement, we obtain the two's complement and then sign it with a 1. Consider the representation of the decimal number −6 as a signed two's complement number when the total number of bits is eight. We first write the binary number for +6, that is, 0000110, then obtain the one's complement of 1111001, add 1 to give 1111010, and finally sign it with a 1 to indicate it is negative. The result is thus 11111010.
Unsigned binary number when sign ignored 000 0110
One's complement 111 1001
Add 1 1
Unsigned two's complement 111 1010
Signed two's complement 1111 1010
Answer:
answer will be b. false.
hope it will helps you