Machine-translated by Google. Questions are authored in English.
Top

Discussion

The decimal equivalent of 8 DH in sign magnitude form is :

  • A.13
  • B.-13
  • C.-11
  • D.11

Answer: B

The decimal equivalent is -13.

8D in hexadecimal is the 8-bit pattern 1000 1101. In sign-magnitude form the most significant bit is the sign and the remaining seven bits are the magnitude:

  • Sign bit 1: the number is negative.
  • Magnitude 000 1101 = 8 + 4 + 1 = 13.

So the value is -13. Reading the pattern as unsigned gives 141, and dropping the sign gives 13, the first distractor. Reading it in two's complement would give -115, so the -11 and 11 options correspond to no standard reading of 8D.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.