0

a. Fill in the bit pattern for the following 4-bit numbers. If there are multiple bit patterns for a number, write them all. If no bit pattern exists, write "N/A" in the box.

Unsigned, sign/magnitude, one's complement, two's complement

for 0,7,-1, 15, and 8.

I figured out those for 0, -1 and 15.

I need help on 7 and 8.

Tim
  • 35,413
  • 11
  • 95
  • 121

1 Answers1

2

For 7

Unsigned notation - 0111
Signed notation - 0111
1s complement notation - 0111 
2s complement notation - 0111

For 8

Unsigned notation - 1000
Signed notation - N/A  (-7 to +7)
1s complement notation - N/A  (-7 to +7)
2s complement notation - N/A  (-8 to +7)

Check this

Shashwat
  • 2,538
  • 7
  • 37
  • 56