<p dir="ltr">Hello again. For the first question. <br>
I will ask yo to see imagine that you have a list of the RGB value for 64 colors in a list and you want to make a reference to one of them. <br>
Then you need 6 bits "say" which color you need.<br>
God bless you</p>
<div class="gmail_quote">On Mar 5, 2014 9:31 AM, "Sandy Graham" <<a href="mailto:sandyg@gvtc.com">sandyg@gvtc.com</a>> wrote:<br type="attribution"><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,<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"><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></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>