midterm1_f08

midterm1_f08 - Name: UVA Computing ID: CS445 Graphics:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: UVA Computing ID: CS445 – Graphics: First Midterm Monday, October 27 This test has five questions, all of equal weight. Do all of your work on these pages (using the back for scratch space), giving the answer in the space provided. This exam is closed book, but you are allowed one 8.5”x11” cheat sheet . Please answer each of the questions concisely. In most cases, a single phrase or sentence will suffice. On my honor as a student, I have neither given nor received aid on this examination. Signature___________________________________________________________ Please write your name and your computing ID at the top of every page . Question Score 1 2 3 4 5 Total
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Name: UVA Computing ID: Question 1: Image Processing (20 points) a) (5 points) What visual artifact is present with ordered dithering that disappears with a Floyd-Steinberg dither? Explain why the artifact disappears. b) (5 points) Consider the code snippet: float x = 258.0f; unsigned char y = x; if (y < 0) y = 0; if (y > 255) y = 255; What is the final value of y? c)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

midterm1_f08 - Name: UVA Computing ID: CS445 Graphics:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online