The complement representation of the decimal value is
View worked solution
Answer: D
To find the 's complement representation of the decimal value , we first determine the minimum number of bits required.
The range of numbers that can be represented in -bit 's complement form is:
- For bits, the range is . Since lies outside this range, it cannot be represented in bits. Thus, option A is incorrect.
- For bits, the range is . Since lies within this range, we can represent it using bits.
Now, let's find the -bit 's complement representation of :
- Represent the positive value in -bit binary:
- Find the 's complement by inverting all the bits:
- Add to the Least Significant Bit (LSB) to get the 's complement:
Thus, the 's complement representation of is .
Free practice · Your answers on this page are not saved.
