<div dir="ltr">No, the key is correct. You calculated BYTES correctly, 12,288. Since 8 bits per byte the 98,304 is correct for bits.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 1:30 AM, Sandy Graham <span dir="ltr">&lt;<a href="mailto:sandyg@gvtc.com" target="_blank">sandyg@gvtc.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u><u></u><div lang="EN-US" link="blue" vlink="purple" style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt">

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The book I just started has this question:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&ldquo;If a picture was made up of 64 possible colors, how many bits would be needed to store each pixel of the picture?&rdquo;<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I thought RGB values would be required so was trying to figure out an answer from that (though the book doesn&rsquo;t give much information on how to do that exactly), but the answer key says the answer is 6. I can see that 2^6 = 64 and assume that&rsquo;s where the 6 came from, but why is that the answer? How does 6 bits yield 64 possible colors? Don&rsquo;t RGB values have to be considered?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Then the next question asks, &ldquo;How many bits are there in 12 KB?&rdquo;<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">So 12 * 2^10 = 12,288, right? I&rsquo;m pretty confident of my answer, but I wanted to double check with a reliable source as the answer key says 98, 304 is the correct answer. The key is wrong, right?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks! I didn&rsquo;t know where else I could get a reliable answer to this!<u></u><u></u></span></p>

<div><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:14.0pt;font-family:&quot;Brush Script MT&quot;;color:#1f497d">Your sister in Christ,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p>

<span class="HOEnZb"><font color="#888888"><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:14.0pt;font-family:&quot;Brush Script MT&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">

<span style="font-size:14.0pt;font-family:&quot;Brush Script MT&quot;;color:#1f497d">Sandy Graham<u></u><u></u></span></p><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>

</font></span></div></div></div><br>_______________________________________________<br>
alice-teachers mailing list<br>
<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a><br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a><br>
<br></blockquote></div><br></div>