Computer Science 455
Instructor: R. P. Burton
Second Quiz
February 5-6, 2007
Name _________________________________________ Score ____________/39
If you have a tablet with 1024 horizontal wires and 1024 vertical wires embedded in its surface, what is the minimum number of bits needed in a signal (in a wire) which permits the determination of an x,y position on the surface of the tablet?
1
10
20
1024
2048
(a)
If a tablet consists of two surfaces, one conductive and one resistive, and touching the surface is enough to bring the surfaces into contact with each other at the point of touch, the associated voltage drop is sufficient to communicate x and y position.
true
false
(a)
If you wish to use microphones and a “point” sound source to determine the 3D location of the “point” sound source, all of the following can be made to work EXCEPT
three mutually perpendicular strip microphones
two parallel strip microphones (one on each side of the tablet) and a perpendicular strip microphone (at the front or back of the tablet)
three point microphones and corners of the tablet
three point microphones along any one edge of the tablet
(no exceptions in this list)
(e)
The Twinklebox had four spinning disks (with slits), each with two photomultiplier tube sensors. As a disk spun, it swept out a plane. When an LED was in the plane, light from the LED could pass through the slit and strike a photomultiplier tube. Even though eight planes were sweeping the room simultaneously, only three planes needed to be determined to learn the 3D location of the LED. Three photomultiplier tube sensors associated with a single disk would, in theory, be sufficient to make a determination of the LED’s 3D position.
true
false
(b)
Which of the following touch panels is likely to be least accurate?
optical
electrical
acoustical
(a)
How was it possible for a light pen to leave a trail of light on the screen?
the light pen wrote on a storage grid and a flood gun maintained the image
the position of the light pen was sensed by infrared LEDs and sensors mounted along the edges of the screen
the light pen responded to light from the screen which could be used to determine positions which could be stored
(c)
The “Rolls Royce” of graphics input systems is a voice input system, albeit expensive. It is superior to all other input systems for a majority of the logical graphics input activities.
true
false
(b)
The “writing utensil” in a mechanical plotter was
a ballpoint or felt-tipped pen
a laser pointer
a carbide-tipped scribe
any of the above
(d)
How is the ink in an inkjet printer deflected?
by mechanically aiming the jet
by electrically deflecting the ink
by magnetically deflecting the ink
it isn’t deflected; it simply plots a pixel at a time
(b)
What is the original source of the dominant contemporary (i.e. current) graphics standard?
the SIGGRAPH Core
PHIGS
Silicon Graphics’ library
(c)
With the advent of raster displays, it was necessary, for the first time, to pick discrete points with which to represent a line segment on a graphics display.
true
false
(b)
A significant deficiency of the DDA line drawing algorithm is that fact that the programmer must choose between a line that may sit “underneath” or on the true line, or the expense of “round” (as opposed to “trunk”) operations and each pixel.
true
false
(b)
Which is likely to take more steps?
the simple DDA
the symmetric DDA
(both take the same number of steps)
(b)
The starting decision parameter for the Bresenham line-drawing algorithm is p0 = 2Δy – xΔ. What is the intuitive meaning of this expression?
It represents the difference between the distance from the true line to the pixel center above and the distance from the true line to the pixel center below
It represents the ratio of the distance from the true line to the pixel center above and the distance from the true line to the pixel center below
Neither (a) nor (b)
(c)
If you have multiple parallel processors which can be used to scan-convert a line segment, it is probably not efficient to find an exploit cycles in the Bresenham decision variables. It’s probably better simply to divide the line segment into pieces of about the same size, assigning each to one of the processors.
true
false
(a)
The time involved to find the location in the frame buffer representing the starting pixel of a line segment is probably _____ the time involved to find the location in the frame buffer representing the next pixel of a line segment.
less than
the same as
greater than
(c)
What’s wrong with using the explicit equation for a circle to determine points around its circumference?
nothing
it slow, even though it’s uniform
it’s fast, but not uniform
it’s slow and it’s not uniform
(d)
What’s wrong with using the parametric polar equations for a circle to determine points along its circumference?
nothing
it’s slow, even though it’s uniform
it’s fast, but not uniform
it’s slow and it’s not uniform
(b)
If a DDA algorithm is used to determine points along the circumference of a circle, the lesser of two evils is
a figure that doesn’t close
a figure that isn't a true circle
(b)
To calculate points along the circumference of a circle, only _____ of the circumference needs to be processed; the rest can be implied.
one half
one fourth
one eighth
one sixteenth
(c)
The pixels representing the circumference should be ____ the true circumference.
immediately inside
on
immediately outside
(a)
Which quadrant of a circle requires the least adjustment in pixel positions to achieve the intent of the previous question? Assume a pixel’s position is the lower left corner of its bounding box.
upper right
lower right
lower left
upper left
(c)
Unlike the Bresenham line-drawing algorithm, the Bresenham circle-drawing algorithm requires more than additions, shifts, and subtractions to calculate successive decision variables.
true
false
(b)
Ellipses, parabolas, and hyperbolas, while standard geometric shapes, are not particularly useful in most graphics applications because shapes are rarely elliptical, parabolic, or hyperbolic.
true
false
(b)
The methods discussed in class for drawing ellipses, parabolas, and hyperbolas using the Bresenham approach are applicable ONLY if the shape is in “standard position,” i.e. aligned with the axes.
true
false
(b)
Suppose a particular polygon (to be scan-converted using the scan-line algorithm) consists of n vertices. Those n vertices function as either the starting point or the ending point of ____ spans of pixels.
n-1
n
n + 1
2n
(can’t say in general)
(e)
The ends of spans of pixels (to be used by the scan-line algorithm) can be found by “DDAing” along the edges, unit stepping in the
x direction
y direction
direction of the axis of greatest excursion
(b)
This question was so ambiguous it was not graded and has been removed.
A recursive boundary-fill algorithm, processing a span of pixels at a time, must
look horizontally for points along a boundary
look vertically for points along a boundary
either (a) or (b)
both (a) and (b)
(d)
A recursive flood-fill algorithm _____ accommodate holes in the interior of the polygon.
does
does not
(a)
Which of the following poses the least problems:
a 4-connect boundary and a 4-connect fill
a 4 connect boundary and an 8-connect fill
an 8 connect boundary and an 8-connect fill
an 8 connect boundary and a 4-connect fill
(b)
If a point is “inside” a polygon, it’s inside, independent of whether the “edge crossings” test or the “winding number” rule is used.
true
false
(b)
A polygon consists on n vertices. Into how many polygons does it need to be split so that each polygon lies entirely in plane? Assume n >= 3.
n
n-1
n-2
n-3
(can’t say in general)
(c)
When finding the equation of a plane using the technique discussed in class, the same equation results independent of which n (n > 3) vertices of a polygon are used, provided they are taken in a clockwise order.
true
false
(b)
When finding the equation of a plane using the technique discussed in class, the same equation results independent of whether the vertices of a polygon are taken in a clockwise order or counterclockwise order.
true
false
(b)
When filling a polygon with a repeating pattern (think “tiles”), the starting point for the first tile can be anywhere EXCEPT
at a vertex
at a corner of the bounding rectangle
interior to the polygon
outside the bounding rectangle
(no exceptions here)
(e)
Characters can be generated from bit maps or from strokes. The approaches represent the classic trade-off between storage and processing.
true
false
(a)
What is a polymarker?
a multi-colored stroke device (“brush”)
a collection of unconnected vertices
a single bit used to indicate that a polygon (in a collection of several polygons) has been scan-converted
(b)
The DDA and Bresenham line drawing algorithms are easily adapted to lines of varying thicknesses when you don’t care about the end caps.
true
false
(a)