Answer:
a) 8-bit representation = 11111010
b) 8-bit representation = 00011001
c) 8-bit representation = 11111000
Step-by-step explanation:
a. 1010
4-bit 2's complement binary representation
decimal value = -6
Since the number is negative pad with 1 to the left of MSB
8-bit representation = 11111010
b. 011001
6-bit 2's complement binary representation
decimal value = 25
Since the number is positive pad with 0 to the left of MSB
8-bit representation = 00011001
c. 1111111000
10-bit 2's complement binary representation
decimal = -8
Since the number is negative discard left most two bits
8-bit representation = 11111000
Answer:
A. x=8; y=9; z=1
Step-by-step explanation:
2(4-16) - (-30)
= 2(-12) -(-30)
= 24 - (-30) ....Error right here....a negative multiplies a positive = negative (= -24 + 30)
= 24 + 30
= 54
Correct:
2(4-16) - (-30)
= 2(-12) -(-30)
= -24 - (-30)
= -24 + 30
= 6
Answer:
x=10.5
Step-by-step explanation:
hope it helps you,