Computer Science 455
Instructor: R. P. Burton
Second Quiz

February 2-3, 2003


Name _________________________________________ Score ____________/42

  1. Suppose you wish to draw a line from (100, 200) to (52, 27) using the simple DDA algorithm. How many distinct x values are plotted? Pick the range in which the answer lies. (b)

  2. What is the answer if, instead, the symmetric DDA is used? (b)

  3. For the line of the previous two questions, how much does x change with each iteration (presumably of a for loop) of the simple DDA? (b)

  4. For the line of the previous three questions, how much does x change with each iteration (presumably of a for loop) of the symmetric DDA? (a)

  5. The simple DDA algorithm can be either more efficient (by using trunc instead of round) or more accurate by selecting pixels with midpoints as close as possible to the true line (as opposed to pixels all of which lie on or below the true line), but not both. (b)

  6. What's so cool about the Bresenham algorithm? (d)

  7. Suppose time t is required to compute the location in the frame buffer (a 2D array) of the first pixel of a DDA or Bresenham line. About how much time is required to compute the location in the frame buffer of the second pixel of a DDA or Bresenham line? (a)

  8. Both the implicit form of a circle and the polar parametric form of a circle suffer from (b)

  9. The circle-generating DDA algorithm, as discussed in class and without the efficiency enhancements facilitated by the symmetry of a circle, produces (c)

  10. In most cases, calculating the coordinates of one point on the circumference of a circle centered at the origin permits ___ other point(s) to be calculated using only simple operations such as compliments and swaps. (c)

  11. In most cases, calculating the coordinates of one point on the circumference of an ellipse centered at the origin permits ___ other point(s) to be calculated using only simple operations such as compliments and swaps. (b)

  12. Simple addition (or subtraction) is sufficient to calculate points on the circumference of a circle/ellipse even if the circle/ellipse (a)

  13. The most accurate line between (x1,y1) and (x2,y2) is produced if these coordinates refer to (b)

  14. Geometric properties of a circle are maintained by displaying only those pixels which are (b)

  15. Suppose you have the following polygon which you hope to fill using the scan-line algorithm:
        A
            B
            C    D         J
                 E    F
                      G    H
    Assume vertices are connected in alphabetical order, with J connected to H. Assume, too, that vertices E & F are on the same scan line, as are vertices G and H. How many intersection points are determined at point F? (b)

  16. Continuing the previous question, how many intersection points are at point H? (a)

  17. Continuing the previous questions, intersection points are generated by using the DDA algorithm and always stepping in (b)

  18. Which of the following is the LEAST important consideration for determining edge position in the active edge list? (b)

  19. Using the "odd-even" rule, is an inflexion point (a vertex on the boundary which is neither a local maximum nor a local minimum) in or out? (c)

  20. A nonzero winding number for a point and a nonselfintersecting polygon means the point is (a)

  21. For selfintersecting polygons, the "odd-even" rule and the "nonzero winding number" rule (c)

  22. Which of the following works for nonselfintersecting polygons with one or more holes? (c)

  23. Which of the following can be expected to produce the (significantly) larger stack during the filling process? (c)

  24. When filling a polygon with cells ("tiles") which of the following constraints MUST be observed? (e)

  25. By tradition (in the printing industry) if the width of a stroke is 15% of the width of the character, this ratio is preserved independent of the size of the character. (b)

  26. What's a marker symbol? (d)

  27. The number of pixels required to draw a line from (0,0) to (p,0) is p. The number of pixels required to draw a line from (0,0) to (0,p) is p. What is the number of pixels required to draw a line from (0,0) to (p,p)? (a)

  28. The DDA line drawing algorithm can be used or modified easily to draw lines of (c)

  29. Suppose a particular system is capable of presenting any (or all) of 8192 colors (from a pallet of 224) on a 480 x 525 display. How many bits are required for the color look-up table? (e)

  30. Which of the following is most likely to result from using a linear soft-fill algorithm? (d)

  31. Pick the best statement: (c)

  32. What is the purpose of bundling attributes? (b)

  33. The primary purpose of an inquiry function is to "leave things the way you found them." (a)

  34. Computing intensities at subpixel grid positions and then combining them to obtain pixel intensities is known as (b)

  35. When supersampling is used to draw a one-pixel-wide line with a positive slope of less than 45 degrees, all of the following are possible EXCEPT (c)

  36. Which is likely to give higher precision? (b)

  37. Suppose some of the boundary pixels between a red polygon and a blue polygon are represented in the frame buffer using purple. What is the best potential visual effect? (c)

  38. Relative to the needs of other antialiasing techniques, pixel-phasing's most critical need is (d)

  39. An adaptation of the Bresenham algorithm by Pitteway and Watkinson is used for (b)

  40. All of the following transformations can be done conveniently using matrix techniques without homogeneous coordinates EXCEPT (a)

  41. After doing scaling (with a scaling factor other than 1) or rotation (by other than a multiple of 360 degrees), discretionarily preceded or followed by other transformatin(s), a single point can remain fixed (c)

  42. When an entity described by its vertices is transformed (translated, rotated, and/or scaled), an identical transformation is applied to all its vertices. (a)
  43. Back to Quizzes page