Each no is in 2's complement so Lets first convert everything into decimal then it would be easy to see what is wrong or what is right.
1 .you first check if the number is negative or positive by looking at the sign bit.
2. If it is positive, simply convert it to decimal. If it is negative, make it positive by inverting the bits and adding one.
3 . Then, convert the result to decimal. The negative of this number is the value of the original binary.
Interpret 11111011 as a two's complement binary number, and give its decimal equivalent
- First, note that the number is negative, since it starts with a 1.
- Change the sign to get the magnitude of the number.
Simply take the 2's complement of the number.(I think you guys know how to do that then its a cake walk)
2's complement of 11111011 is 00000101 and if you convert it in to Decimal it would be -5
similarly do with all options then we get
11100111 as -25
11100100 as -28
11010111 as -41 and
11011011 as -37 Now you know what should be the answer.
Note -Since the original number was negative, the final result is Negative