Two’s complement representation of -74 in 8 bit format is

Two’s complement representation of -74 in 8 bit format is
| Two’s complement representation of -74 in 8 bit format is

A. 01001110

B. 01001010

C. 10110110

D. 10110010

Please scroll down to see the correct answer and solution guide.

Right Answer is: C

SOLUTION

Concept:

The procedure for representing a negative decimal in 2's complement representation is as shown:

Application:

Since the number of bits used in the representation is 8, the binary equivalent of 74 is represented as:

1710 = (01001010)2

Taking the 1's complement of the above, we get 10110101

Adding 1 to the 1's complement, we get the 2's complement representation of the number, i.e.

10110101 + 1 = 10110111