330,371 views
14 votes
14 votes
Convert the following as indicated : (120)10 = (?)2​

User Jleck
by
2.9k points

1 Answer

28 votes
28 votes

Answer:

1111000

Step-by-step explanation:

perform the following. write from right to left:

- is the number even? then write down a 0

- is the number odd? then write down a 1 and subtract 1

- divide by 2

- repeat until you reach 0.

So for 120:

120 is even, so write down a 0 and continue with 120/2=60

60 is even, so write down a 0 and continue with 60/2=30

30 is even, so write down a 0 and continue with 30/2=15

15 is odd, so write down a 1 and continue with 14/2=7

7 is odd, so write down a 1 and continue with 6/2=3

3 is odd, so write down a 1 and continue with 2/2=1

1 is odd, so write down a 1 and finish with 0

User Zeus Monolitics
by
2.6k points