Convert following binary numbers to octal numbers 

(a) 1011010

(b) 10010010

 

Answer:

  • 1011010 

00 1

011

010

1

3

2

            Therefore, 1011010 2 = 132 8  

 

  • 10010010 

 

0 10

010

010

2

2

2

              Therefore, 10010010 2 = 222 8

Explanation:

  • To obtain the octal equivalent of a binary number, digits of binary number should be divided into groups of three digits starting from the rightmost digit for the integer part and starting from the leftmost digit for the fractional part.
  • Convert each group of 3 digits to one octal digit as given in the table below.
  • Note: 1 or 2 zeroes can be added before the leftmost digit or after the rightmost digit to make a complete group of 3 bits.

Decimal, Binary And Octal Number System Full Comparison - Teachoo.jpg

Remove Ads

Transcript

Decimal, Binary And Octal Number System – Full Comparison

Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.