2.2Natural Numbers41To convert from binary to octal, you start at the rightmost binary digitand mark the digits in groups of threes. Then you convert each group ofthree to its octal value.111101100754Let’s convert the binary number 1010110 to octal, and then convert thatoctal value to decimal. The answer should be the equivalent of 1010110 indecimal, or 86.101011012 61*82=1*64=64+2*81=2* 8±=16+6*80=6* 1= 686The reason that binary can be immediately converted to octal and octal tobinary is that 8 is a power of 2. There is a similar relationship betweenbinary and hexadecimal. Every hexadecimal digit can be represented infour binary digits. Let’s take the binary number 1010110 and convert it tohexadecimal by marking of the digits from right to left in groups of four.
This is the end of the preview.
access the rest of the document.