Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Convert the binary expansion of each of these integers to

an octal expansion.

a) (1111 0111)2

b) (1010 1010 1010)2

c) (111 0111 0111 0111)2

d) (101 0101 0101 0101)2

Short Answer

Expert verified

a)(367)8b)(5252)8c)(73567)8d)(52525)8

Step by step solution

01

Step 1:

n=akbk+ak1bk1+.+a1b+a0

The octal expansion has base

(11110111)2=1.27+1.26+1.25+1.24+0.23+1.22+1.21+1.20=128+64+16+4+2+1=247

You obtain binary expansion of the decimal expansion of an integer by consecutively dividing the integer by 8 until you obtain

247=8.30+730=8.3+63=8.0+3

The successive reminders of each division represents the binary expansion from right to left

3678

02

Step 2:

The octal expansion has base

(101010101010)2=1.211+0.210+1.29+0.28+1.27+0.26+1.25+0.24+1.23+0.22+1.21+0.20=2048+512+128+32+2=2730

You obtain binary expansion of the decimal expansion of an integer by consecutively dividing the integer by 8 until you obtain 0

2730=8.314+2341=8.42+542=8.5+25=8.0+5

The successive reminders of each division represents the binary expansion from right to left

52528

03

Step 3:

The octal expansion has base

(111011101110111)2=1.214+1.213+1.212+0.211+1.210+1.29+1.28+0.27+1.26+1.25+1.24+0.23+1.22+1.21+1.20=16384+8192+4096+1024+512+256+64+32+16+4+2+1=30583

You obtain binary expansion of the decimal expansion of an integer by consecutively dividing the integer by 8 until you obtain 0

30583=8.3822+73822=8.477+6477=8.59+559=8.7+37=8.0+7

The successive reminders of each division represents the binary expansion from right to left

735678

04

Step 4:

The octal expansion has base b=2

(101010101010101)2=1.214+0.213+1.212+0.211+1.210+0.29+1.28+0.27+1.26+0.25+1.24+0.23+1.21+0.21+1.20=16384+4096+1024+256+64+16+4+1=21845

You obtain binary expansion of the decimal expansion of an integer by consecutively dividing the integer by 8 until you obtain 0

21845=8.2730+53822=8.341+2477=8.42+559=8.5+27=8.0+5

The successive reminders of each division represents the binary expansion from right to left

525258

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free