Computer Science for IGCSE & O level - Data Representation (Section 11 - No. 38)

What is the main advantage of using the two's complement format for representing integers?
It simplifies the addition and subtraction of both positive and negative numbers.
It uses more memory than other formats.
It only supports positive numbers.
It is harder to understand.

Explanation

The two's complement simplifies arithmetic operations by allowing addition and subtraction to be performed consistently, regardless of the sign.

Comments (0)

Advertisement