<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Brush Script MT"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style><style>
<!--
p.MsoNormal
        {margin-left:7.5pt}
-->
</style>
</head>
<body 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>You have found the correct number of bytes, but there are 8 bits in each byte so the key is correct.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:75%; color:#575757">Sent via the Samsung GALAXY S®4 Active™, an AT&amp;T 4G LTE smartphone</div>
</div>
<br>
<br>
<br>
-------- Original message --------<br>
From: Sandy Graham &lt;sandyg@gvtc.com&gt; <br>
Date: 03/05/2014 9:35 AM (GMT-06:00) <br>
To: 'Alice educators' &lt;alice-teachers@lists.andrew.cmu.edu&gt; <br>
Subject: Re: alice-teacher question regarding bits and bytes! <br>
<br>
<br>
<div>
<div class="WordSection1">
<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:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 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?”</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’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?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</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, “How many bits are there in 12 KB?”</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’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?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</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’t know where else I could get a reliable answer to this!</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></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">&nbsp;</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</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">&nbsp;</span></p>
</div>
</div>
</div>
</body>
</html>