By the end of the lesson: Identify steps in conversion of Decimal to Octal 2. Convert Decimal to Octal
GUIDE QUESTIONS: How do we convert Decimal to Octal?
The decimal number 185 is equivalent to ___ in Octal. DIVISION QUOTIENT REMAINDER 185/8 23 1 23/8 2 7 2/8 2 8 10
1. Divide the number by 8 ( 8 is the base of the octal so divisor here). 185/8 23/8 2/8
2. Store the remainder in an array ( it will be: 0,1,2,3,4,5,6,7 because of divisor 8). REMAINDER 1 7 2
3. Repeat the above two steps until the quotient is zero. QUOTIENT 23 2
4. Copy the remainder from bottom to top. REMAINDER 1 7 2
REVIEW What are the steps in converting Decimal number to Octal? Divide the decimal number in 8. Write down the Quotient and Remainder in the column. Repeat steps 1 and 2, until the quotient is zero. Take the remainder from bottom to top.
2. What is the difference in the conversion of Decimal to Binary and Decimal to Octal? DIVISION QUOTIENT REMAINDER 185/8 23 1 23/8 2 7 2/8 2 DIVISION QUOTIENT REMAINDER 28/2 14 14/2 7 7/2 3 1 3/2 1 1 1/2 1