<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"><<a href="mailto:sandyg@gvtc.com" target="_blank">sandyg@gvtc.com</a>></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:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d">“If a picture was made up of 64 possible colors, how many bits would be needed to store each pixel of the picture?”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I thought RGB values would be required so was trying to figure out an answer from that (though the book doesn’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’s where the 6 came from, but why is that the answer? How does 6 bits yield 64 possible colors? Don’t RGB values have to be considered?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Then the next question asks, “How many bits are there in 12 KB?”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So 12 * 2^10 = 12,288, right? I’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:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks! I didn’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:"Brush Script MT";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:"Brush Script MT";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">
<span style="font-size:14.0pt;font-family:"Brush Script MT";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:"Calibri","sans-serif";color:#1f497d"><u></u> <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>