practiceExam1a

practiceExam1a - 12. what is the difference between...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Anything covered in lecture or workshop is fair game for the exam. 2. which of the following variable names are legal? word 5guysBurgers day2 image2 my picture myPicture 3. what is the name of the indented code after a colon (:) 4. why is it a good thing to have some information (like a picture oject for example) to be passed in as a parameter? 5. is jython case sensitive? 6. IMAGE SIZE: if a 200 x 300 pixel image uses 24-bit encoding, how many bits are used to save that image? 7. how much space in bytes does the above image take? 8. what encoding scheme is used to store color in JES? (meaning, is it CMYK, HSV, RGB?) 9. how many colors are possible when using 24-bit encoding? 10. when using 8 bits to store the amount of red, what is the highest value of red possible? 11. what is the lowest amount of red possible?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 12. what is the difference between getPixel and getPixels? 13. how can you calculate the distance between two colors? (Give the actual equation.) 14. what is the difference between show and repaint? 15. there is a good rule of thumb for when you need to return the image from a function. What is that rule of thumb? 16. how do you create the negative of a picture? ie., what is the calculation to perform at every pixel? 17. how do you create a grayscale version of a picture? ie., what is the calculation to perform at every pixel? 18. what is the difference between a lossy versus a loss-less transformation? 19. if you posterize an image so that you have only 2 amounts of red combined with 2 amounts of green combined with 2 amounts of blue, how many different colors are possible?...
View Full Document

Ask a homework question - tutors are online