binary to decimal conversion

Post on 21-Jul-2015

52 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

(1011010)(1011010)22=(?)=(?)1010

First take the Binary numberFirst take the Binary number

1 0 1 1 0 1 01 0 1 1 0 1 0

Count it’s digits from right to left… Count it’s digits from right to left… Starts from 0 (Zero).Starts from 0 (Zero).

1 0 1 1 0 1 01 0 1 1 0 1 000112233445566

Take the first digit…Take the first digit…

1 0 1 1 0 1 01 0 1 1 0 1 000112233445566

Then multiply by 2 (two)…Then multiply by 2 (two)…

00X2X2

Write power of 2’s with positional value…Write power of 2’s with positional value…

00

Add plus sign (+) after that…Add plus sign (+) after that…

++1x2+0x2+1x2+1x2+0x2+1x21x2+0x2+1x2+1x2+0x2+1x211 22 33 44 55 66

Repeat the above process…Repeat the above process…

00X2X200

++1x2+0x2+1x2+1x2+0x2+1x21x2+0x2+1x2+1x2+0x2+1x211 22 33 44 55 66

Calculate it…Calculate it…

9090

1011010101101022 = 90 = 901010

00X2X200

++1x2+0x2+1x2+1x2+0x2+1x21x2+0x2+1x2+1x2+0x2+1x211 22 33 44 55 66

Calculate it…Calculate it…

9090

1011010101101022 = 90 = 901010

top related