33.8k views
3 votes
G) 145

Let's convert each of the following binary numbers into decimal number
a) 11, b) 101, c) 110 d) 1010
e) 1100
f) 10010,
g) 11111, h) 111010, i) 111001, 1 1100101
5. Let's convert each of the following decimal numbers into binary numbers.
a) 7
b) 18
c) 25
d) 72
e) 99
f) 124
h) 216 i) 308
i) 417
6. Let's convert each of the following quinary numbers into decimal numbers.
a) 13.
b) 24, c) 32
e) 203,
f) 340,
g) 1203, h) 2113 i) 1234, i) 4444
7. Let's convert each of the following decimal numbers into quinary numbers.
a) 9
b) 13
c) 27
e) 126
f) 212
h) 670 i) 1126 1 4025
d) 120,
d) 55
g) 512​

User Gilgamesz
by
6.6k points

1 Answer

4 votes

Answer:

To convert binary into decimal, multiply each binary digit with a power of 2 corresponding to its position.

So for example 1010 would be 1·2³ + 0·2² + 1·2¹ + 0·2⁰ = 8+2 = 10 in decimal.

now you can calculate the answers yourself!

To convert decimal into binary, you can use the following approach:

Write down the answer from right to left

A. if your number is odd, write down a 1, if it is even, write a 0

B. divide the number by 2 and round down, ie. discard any decimals (e.g., 7 / 2 = 3)

C. repeat step A until your number is 0.

example:

18 -> write down 0

18/2 = 9 -> write down 1

9/2 = 4 -> write down 0

4/2 = 2 -> write down 0

2/2 = 1 -> write down 1

1/2 = 0 finished

The result is 10010.

User Konquestor
by
6.9k points