Assignment 3

Due: Friday, Feburary 22, at start of class

Collaboration: Each student must work on and submit the assignment individually. Note: working with the peer mentor is acceptable.

Citations: If outside sources are consulted while preparing an answer, be sure to include a citation that lists at least the title, creator, date, and url if applicable.

1. Give a brief description of the GIF and JPEG image formats. What kinds of images are each of these formats most and least appropriate for, and why?

2. Suppose the following triple represents an RGB (red, green, blue) color: (230, 120, 230). What color does it represent? Briefly describe how you can tell from the three numbers.

3. Suppose we store an image that is 2112 pixels wide by 2816 pixels high without any file compression. Assuming each pixel is stored with 3 bytes—(R,G,B) –how much total space will an image need?

4. AF: slang abbreviation or number? Hint: in this context, it’s a number. What number is it in decimal? Show your work.

5. The hex code for Grinnell College Red is #DA291C. Convert this to binary representation. Show your work.

6. True of false: images are compressed by converting their colors into hexadecimal codes.

7. Provide a brief description (~100 words) of the Twine story you plan to create for Project 1. You do not need to provide technical specifics at this point.