Computer Science for IGCSE & O level - Data Representation (Section 12 - No. 50)

What is the role of the 'sign bit' in a two's complement representation?
It represents the magnitude of the number.
It indicates whether the number is positive or negative.
It is used to convert the number to binary.
It stores the most significant digit of the number.

Explanation

The sign bit (the leftmost bit in a two's complement representation) tells you if the number is positive or negative.

Comments (0)

Advertisement