Computer Science, asked by bushra11110, 1 year ago

convert each decimal number to binary number (a) 64​

Answers

Answered by glckin
0

Answer:

Divide each number per 2 and take the modulo from each operation to get the digit

Explanation:

Egzample

10/2= 5 mod 0

5/2= 2 mod 1

2/2= 1 mod 0

1/2=0 mod 1

10 decimal is 1010bin

Egzample 2

13/2 = 6 mod 1

6/2= 3 mod 0

3/2 = 1 mod 1

1/2 = 0 mod 1

13 decimal is 1101 binary

Similar questions