Invitation to Computer Science 8th Edition

Published by Cengage Learning
ISBN 10: 1337561916
ISBN 13: 978-1-33756-191-4

Chapter 4 - 4.2 - The Binary Numbering System - Practice Problems - Page 166: 2

Answer

\begin{equation} \begin{array}{l}{\text { To answer this question, you must represent the decimal value as a sum }} \\ {\text { of powers of } 2 \text { and then convert that representation to binary. }} \\ {99=64+32+2+1} \\ {\quad=2^{6}+2^{5}+2^{1}+2^{0}} \\ {\quad=1100011} \\ {\text { However, this is only } 7 \text { bits and we need } 8, \text { so we must add one leading }} \\ {\text { 0 to fill out the answer. }} \\ {\qquad=01100011}\end{array} \end{equation}

Work Step by Step

\begin{equation} \begin{array}{l}{\text { To answer this question, you must represent the decimal value as a sum }} \\ {\text { of powers of } 2 \text { and then convert that representation to binary. }} \\ {99=64+32+2+1} \\ {\quad=2^{6}+2^{5}+2^{1}+2^{0}} \\ {\quad=1100011} \\ {\text { However, this is only } 7 \text { bits and we need } 8, \text { so we must add one leading }} \\ {\text { 0 to fill out the answer. }} \\ {\qquad=01100011}\end{array} \end{equation}
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.