Computer Science for IGCSE & O level - Data Representation (Section 16 - No. 1)
When converting a negative decimal number to two's complement binary, which steps are involved?
Convert the absolute value to binary.
Invert all the bits.
Add 1 to the result.
Check the sign bit
Explanation
The process involves converting to binary, inverting bits, and adding 1, all dependent on understanding the sign of the integer and the value of the bits.
Comments (0)
