alice-teacher question regarding bits and bytes!

Rafael Serrano serrano.rafael1 at gmail.com
Wed Mar 5 10:41:50 EST 2014


Hi for the second question the answer should be (8 * 1024)* 12. 8 is the
number of bits in a byte.  Then 1024 is the number of bytes in a KB and 12
of course is the number of KB.
On Mar 5, 2014 9:31 AM, "Sandy Graham" <sandyg at gvtc.com> wrote:

> The book I just started has this question:
>
> "If a picture was made up of 64 possible colors, how many bits would be
> needed to store each pixel of the picture?"
>
> 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?
>
>
>
> Then the next question asks, "How many bits are there in 12 KB?"
>
> 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?
>
>
>
> Thanks! I didn't know where else I could get a reliable answer to this!
>
> Your sister in Christ,
>
>
>
> Sandy Graham
>
>
>
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140305/8cdff43d/attachment-0001.html 


More information about the alice-teachers mailing list