The number in complement representation is
View worked solution
Answer: C
To represent the decimal number in -bit 's complement representation:
- Identify the sign: The number is positive. In 's complement representation, positive numbers are represented in the same way as their standard unsigned binary representation, with the most significant bit (MSB) set to .
- Convert to binary: In binary, this is .
- Pad to 8 bits: Extending to an -bit format by adding leading zeros gives:
Thus, the 's complement representation of is .
Note: Option B () represents in 's complement form.
Free practice · Your answers on this page are not saved.
