Computer Science, asked by Salique, 1 year ago

convert the numbers (1010)base2 into decimal and then verify.that is,reconvert the resultant decimal number into binary and check if it's result matches with(1010)base2.


LuckyYadav2578: dear first u want to convert from binary to decimal then decimal to binary ?

Answers

Answered by sayantiroy52342
5

1010base2=1×2^3+0×2^2+1×2+0×2^0=10base10

2|

|__10___. 0

2 |___5__. 1

2|___2___. 0

1

Move from down to up

You get 10base10=1010base2

Answered by LuckyYadav2578
26
(1010) base 2 its mean it is in binary and we have to convert it in decimal

2^3 × 1 + 2^2 × 0 + 2^1 × 1 + 2^0 × 0
= 8 + 0 + 2 + 0
= 10

(10) base 10 it is converted in decimal

now , decimal to binary

2 | 10 | 0
2 | 5 | 1
2 | 2 | 0
2 | 1 | 1

from down the value is (1010) with base 2

now if you will see (1010)base 2 = (10) base 10
or (10) base 2 = ( 1010 ) base 2

now it is clearly match
Similar questions