headerphoto

Convert binary numbers to octal numbers
1. 11101
2. 1001111
3. 1010101010

Completion:
1. 11101 (2) = ? (8)
* First, convert binary numbers to decimal numbers. Then, convert decimal numbers to octal numbers.

binary to decimal
11101 = 1x20 + 0x21 + 1x22 + 1x23 + 1x24
11101 = 1 + 0 + 4 + 8 + 16
11101 (2) = 29 (10)

decimal to octal
29 / 8 = 3, remains 5
3 / 8 = 0, remains 3
29 (10) = 35 (8)

11101 binary number equal to 35 octal number
11101 (2) = 35 (8)

2. 1001111 (2) = ? (8)
binary to decimal
1001111 = 1x20 + 1x21 + 1x22 + 1x23 + 0x24 + 0x25 + 1x26
1001111 = 1 + 2 + 4 + 8 + 0 + 0 + 64
1001111 (2) = 79 (10)

decimal to octal
79 / 8 = 9, remains 7
9 / 8 = 1, remains 1
1 / 8 = 0, remains 1
79 (10) = 117 (8)

1001111 binary number equal to 117 octal number
1001111 (2) = 117 (8)

3. 1010101010 (2) = ? (8)
binary to decimal
1010101010 = 0x20 + 1x21 + 0x22 + 1x23 + 0x24 + 1x25 + 0x26 + 1x27 + 0x28 + 1x29
1010101010 = 0 + 2 + 0 + 8 + 0 + 32 + 0 + 128 + 0 + 512
1010101010 (2) = 682 (10)

decimal to octal
682 / 8 = 85, remains 2
85 / 8 = 10, remains 5
10 / 8 = 1, remains 2
1 / 8 = 0, remains 1
682 (10) = 1252 (8)

1010101010 binary number equal to 1252 octal number
1010101010 (2) = 1252 (8)

Next→
←Prev

Related Articles

Choose label

Read more

No comments

No spam, no active link, please ^_^