Question Detail

COS 102 test topic Objective Question

Question

In an 8-bit signed two's complement representation, what is the value of the bit pattern 11111100_2?
Options
A -4
Correct Answer
B -2
C -124
D -8
Correct Answer

Option A is the correct answer.

Detailed Explanation

Inverting the bits yields 00000011, and adding 1 gives 00000100 (4), so the signed value is -4.

Hint

No hint available

Question Info