Computer Science 455
Instructor: R. P. Burton
Second Quiz
February 6-7, 2006
Name _________________________________________ Score ____________/47
Some mechanism (shutters, colored filters, polarized filters, etc.) must be provided to separate the left-eye and right-eye components on an image to produce a stereo effect. The eye (and mind) simply cannot look at a computer screen and, unaided, separate the presentation into left- and right-eye images.
true
false
(b)
(Continuing the previous question) Not only must some mechanism be provided, but the mechanism must have either mechanically moving or electrically changing parts (think “liquid crystal). A passive device, such as a box sitting in front of a screen, falls short of the mark.
true
false
(b)
The 3D movies of the 1950s become unpopular (and disappeared all together) when the citizenry of America began to realize that the technology used in 3D movies was carcinogenic, especially considering that the citizenry was already sensitized by the link between asbestos and cancer.
true
false
(b)
The notion of taking a “goo” or a mist and solidifying regions of it to produce 3D output remains one of the pipe dreams from the 1980s that is yet to be realized in any commercially viable form.
true
false
(b)
The use of “glowing seaweed” for a 3D output device was doomed
by the vocal environmentalists of the early 1970s
by the long persistence of the glow
by the seasonal availability of the seaweed
by the toxic spores produced by the seaweed
because the idea lacked serious merit
because the Loch Ness monster ate all the seaweed
(e)
A computer properly programmed and connected to a numerically controlled milling machine can produce true 3D output.
true
false
(a)
A head-mounted display is capable of
producing left- and right-eye images for a stereo effect
determining the position and orientation of the user’s head, and producing a corresponding view
both (a) and (b)
(c)
The real strength of the Bresenham line-drawing algorithm lies in the fact that
it capitalizes on the fact that after plotting a pixel, there are only two possible successor pixels
the successor pixel can be determined with simple (and hence fast) operations
(b)
Parallel line algorithms are designed for
thick lines
multiple parallel (but not touching) lines
multiple processors
(c)
When loading the frame buffer with the pixels that approximate a line,
approximately the same amount of time is required to calculate the memory location of the first, the last, or an intermediate pixel
different amounts of time are needed to calculate the memory locations of different pixels
(b)
When the implicit equation for a circle is used to determine pixels which approximate the circle, the result is
slow and nonuniform
slow, but uniform
fast, but nonuniform
fast and uniform
(a)
When the parametric equation for a circle is used to determine pixels which approximate the circle, the result is
slow and nonuniform
slow, but uniform
fast, but nonuniform
fast and uniform
(b)
The circle-generating DDA algorithm discussed in class
produces a helix
produces an oval
produces a circle and is fast and uniform
(b)
When the Bresenham algorithm is used to generate a circle, typically, as each point is computed, _____ more point(s) is/are determined with relatively minimal computation.
1
3
7
15
(c)
All the (steps and values in) Bresenham algorithms for generating lines, circles, and ellipses are
intuitively meaningful
not meaningful intuitively
(b)
Suppose that a line is to be drawn from mathematical point (0,0) to (10,0). The space of the intended points is exactly the same scale as the pixel grid. How many total pixels should be plotted?
9
10
11
(b)
When using the odd-even rule to do inside-outside tests, vertices should be counted as
one intersection
two intersections
depends
(c)
When using the winding number rule to do inside-outside tests,
negative means in and positive means out
odd means in and even means out
zero means in and nonzero means out
(c)
The odd-even rule and the winding number rule always make the same inside-outside determinations.
true
false
(b)
A boundary-fill algorithm requires the interior of the polygon to be filled to be either void, or of homogeneous content.
true
false
(b)
21. A flood fill algorithm requires the interior of the polygon to be filled to be either void, or of homogeneous content.
true
false
(b)
“8-connect” fill can “seep” through a “4-connect” boundary, but “4-connect” fill cannot “seep through an “8-connect” boundary.
true
false
(b)
When doing boundary-fill across pixel spans, how large can the stack become?
never more than 1
at most 2
arbitrarily large
(c)
Which of the following operations is most likely to be used when tiles are used to fill a polygon?
trunc
round
mod
(c)
The width of a stroke, as a percentage of the width of a character, is independent of the point size of the character.
true
false
(b)
The possible disadvantages of run-length encoding include
more decoding time
more storage
both (a) and (b)
(c)
By what means are markers typically connected?
line segments
dashed line segments
(they are not typically connected)
(c)
The equations Ax + By + Cz + D = 0 and –Ax – By – cZ – D = 0 represent
one plane with one normal
two distinct planes
two coincident planes with different normals
(c)
As represented on a computer screen ______ have attributes of position, width, and length.
points
lines segments
neither points nor line segments
both points and line segments
(d)
As measured in pixels, the horizontal line drawn along the base of a square is ______ the 45 degree line drawn between opposite corners of the square
shorter than
longer than
the same length as
(c)
The slope of the line is m. What is the slope of the butt cap?
m
1/m
–m
-1/m
(d)
If a manufacturer told you that he can offer you 4096 out of more than 16 million colors, how wide is the color look-up table?
24 bits
16 bits
12 bits
8 bits
(c)
“Soft fill” refers to
antialiasing by including adjacent pixels which may be partially overlapped
antialiasing by diminishing the intensity of pixels
mixing background and foreground colors
(c)
Attributes are bundled to
facilitate their interpretations, depending on the output device
prevent the use of conflicting attributes
avoid aesthetically displeasing or information-diminishing combinations
(a)
Which typically produces the more accurate information?
postfiltering /supersampling
prefiltering/area sampling
(they produce equivalent results)
(b)
How is pixel phasing achieved?
using pixel-weighting masks
micropositioning of the electron beam
area sampling
(b)
To antialias the boundary between a red polygon and a blue polygon.
make sure that each pixel along the boundary is either red or blue
allow the pixels along the boundary to be purple
(there is no need to antialias; the eye & brain will smooth the boundary)
(b)
Matrices are _____ for doing translation, scaling, and rotation.
necessary
useful
both necessary and useful
(b)
All of the following 2D transformations can be represented (functionally) in a 2 x 2 matrix except _____.
translation
scaling
rotation
(no exceptions here)
(a)
Which of the following transformations does not always facilitate subsequent inversion?
translation
scaling
rotation
(all facilitate subsequent inversion)
(b)
All of the following anticipate transformation relative to a fixed point except ____.
translation
scaling
rotation
(no exceptions here)
(a)
Scaling in 2D can take place
only along the positive x- and y-axes.
only along the positive or negative x- and y-axes
in any direction in the 2D plane
(c)
How many points in homogeneous coordinate space correspond to an arbitrary point (x,y) in 2D space?
just 1
exactly two
infinitely many
(c)
Suppose you have several matrices to be composed, representing a translation, a scaling, a rotation, and the data. Which matrix should NOT be part of the first composition (i.e. matrix multiplication)?
the translation
the scaling
the rotation
the data
(any is appropriate for the first composition)
(d)
If TSR represents a composition of transformations, what represents the inverse?
RST
R-1 S-1 T-1
T-1 S-1 R-1
(there is no inverse)
(b)
46. The most desirable approach for inverting a matrix involves
Cramer’s rule
b. Gauss elimination with partial pivoting
c. Gauss elimination with full pivotint
(b)
47. A matrix for doing translation of nD data likely is
a. n x n
b. n+1 x n+1
(b)