To convert octal to binary we have to transform input value in base 8 to base-2 system.
The following is a conversion chart to help you compare values in base 8 with base 2:
Value in Base 8 | Base 2 |
---|---|
0 | 0 |
1 | 1 |
2 | 10 |
3 | 11 |
4 | 100 |
5 | 101 |
6 | 110 |
7 | 111 |
10 | 1000 |
11 | 1001 |
12 | 1010 |
13 | 1011 |
14 | 1100 |
15 | 1101 |
16 | 1110 |
17 | 1111 |