91.0k views
1 vote
-Convert the 1's complement 10111010 to decimal

User Fedesilva
by
5.3k points

2 Answers

2 votes

Answer:

the first compliment of 01000101 is 69

Step-by-step explanation:

given,

binary numbers - 10111010

so first compliment of the binary numbers

1st compliment of binary number = 01000101

now conversion of 1st compliment into decimal

01000101 = 0 × 2⁷ + 1 × 2⁶ + 0 × 2⁵ + 0 × 2⁴ + 0 × 2³ +1 × 2² + 0 × 2¹ + 1 × 2⁰

= 1 × 2⁶ + 1 × 2² + 1 × 2⁰

= 64 + 4 + 1

= 69

the first compliment of 01000101 is 69

User Gessica
by
6.0k points
2 votes

Answer:

69

Step-by-step explanation:

We are given a 1's complement of a number.So to convert it to the original number we have again take the 1's complement of the given 1's complement to convert it to the original number.We can do that by converting all 0's to 1's adn all 1's to 0's.

1's complement= 10111010

original number=01000101

Then to convert the binary number to the decimal number we have multiply each bit with the respective exponent of 2.The exponent of the LSB is 0 and it increases as we move to MSB by 1.

So the calculations are as following:-

(01000101)₂ = (0 × 2⁷) + (1 × 2⁶) + (0 × 2⁵) + (0 × 2⁴) + (0 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = (69)₁₀

User Arleg
by
5.3k points