Convert decimal numbers to binary numbers
1. 10
2. 31
3. 42

Completion:
1. 10 (10) = ? (2)
→ 10 / 2 = 5, remains 0
→ 5 / 2 = 2, remains 1
→ 2 / 2 = 1, remains 0
→ 1 / 2 = 0, remains 1
* Finish when meet zero (0) and then write remains numbers, from bottom to top
10 decimal number equal to 1010 binary number
10 (10) = 1010 (2)

2. 31 (10) = ? (2)
31 / 2 = 15, remains 1
15 / 2 = 7, remains 1
7 / 2 = 3, remains 1
3 / 2 = 1, remains 1
1 / 2 = 0, remains 1
31 decimal number equal to 11111 binary number
31 (10) = 11111 (2)

3. 42 (10) = ? (2)
42 / 2 = 21, remains 0
21 / 2 = 10, remains 1
10 / 2 = 5, remains 0
5 / 2 = 2, remains 1
2 / 2 = 1, remains 0
1 / 2 = 0, remains 1
42 decimal number equal to 101010 binary number
42 (10) = 101010 (2)

Next→
←Prev

Related Posts

Share: FB-share Twitter-share

Get Update by Email

No comments