Questions: Sign-Magnitude Representation

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A hardware engineer wants to add two 8-bit sign-magnitude numbers, +35 (00100011) and -35 (10100011). What must the hardware do before it can complete this addition?

AXOR the sign bits and add the magnitude bits directly in a standard binary adder
BCompare the sign bits; since they differ, subtract the smaller magnitude from the larger and assign the sign of the larger
CInvert all bits of the negative number and add 1, then add the result to the positive number
DConvert both numbers to positive, add them, then set the sign bit of the result based on which input had the larger absolute value
Question 2 Multiple Choice

In an 8-bit sign-magnitude system, how many distinct values can be represented?

A256, because 8 bits give 2^8 possible bit patterns
B255, because one bit pattern (+0) duplicates another (-0) and both represent the same value
C254, because both +0 and -0 must be excluded from the useful range
D128, because the sign bit halves the available magnitude
Question 3 True / False

In sign-magnitude representation, the most significant bit encodes the sign of the number, and the remaining bits encode the absolute value in standard binary.

TTrue
FFalse
Question 4 True / False

Because sign-magnitude uses a dedicated sign bit, negating a sign-magnitude number requires a multi-step arithmetic operation similar to two's complement negation.

TTrue
FFalse
Question 5 Short Answer

Why was sign-magnitude largely abandoned for representing signed integers in modern processors, despite being the most intuitive encoding scheme?

Think about your answer, then reveal below.