Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 8
Q261:
Unfilled polygons display only the ______.
A. Inside pixels
B. Boundary lines
C. Scan-lines
D. Color fills
Correct Answer:
B
Chapter: 8
Q262:
What is the initial value of parity when filling a polygon using the scan-line algorithm?
A. Odd
B. Even
C. Zero
D. Undefined
Correct Answer:
B
Chapter: 8
Q263:
What is selected as the initial scan-line in the scan-line polygon fill algorithm?
A. Highest Y value
B. Zero
C. Y value = 10
D. Y value = 20
Correct Answer:
C
Chapter: 8
Q264:
Which table contains edges to be processed for a given scan-line?
A. Vertex Table
B. Scan-Line Table
C. Active Edge Table
D. Global Point Table
Correct Answer:
C
Chapter: 8
Q265:
What does the value 1/m represent in the active edge table?
A. Inverse slope
B. Length of edge
C. Height of edge
D. X-coordinate of midpoint
Correct Answer:
A
Chapter: 8
Q266:
The polygon is filled between intersections on a scan-line where the parity is ______.
A. Even
B. Odd
C. Zero
D. None of these
Correct Answer:
B
Chapter: 8
Q267:
To compute the next x value in the edge table, which formula is used?
A. x1 = x0 * m
B. x1 = x0 - m
C. x1 = x0 + 1/m
D. x1 = x0 + m
Correct Answer:
C
Chapter: 8
Q268:
When does an edge get removed from the active edge table?
A. When its x value is minimum
B. When y-min > current scan-line
C. When max y = scan-line
D. When slope = 0
Correct Answer:
C
Chapter: 8
Q269:
Which edge values are updated after each scan-line pass?
A. Only max y
B. Only x and 1/m
C. X and max y
D. Only y-min
Correct Answer:
B
Chapter: 8
Q270:
If two edges have the same y-min, how are they sorted in the active edge table?
A. By slope
B. By x value
C. By y-max
D. By midpoint
Correct Answer:
B
Chapter: 8
Q271:
The scan-line algorithm starts from scan-line = 10 because _______.
A. The polygon has 10 edges
B. The initial edge lies there
C. The lowest y-min is 10
D. 10 is the default scan-line
Correct Answer:
C
Chapter: 8
Q272:
Which rule is used to toggle the drawing mode in scan-line filling?
A. Even-odd rule
B. Clockwise rule
C. Back-face culling rule
D. Z-buffer rule
Correct Answer:
A
Chapter: 8
Q273:
Which of the following is NOT required in the active edge table?
A. Y-max
B. X value
C. 1/m
D. Y-min
Correct Answer:
D
Chapter: 8
Q274:
In scan-line algorithm, when parity changes from even to odd, it means ______.
A. Start drawing
B. Stop drawing
C. Change edge
D. Delete edge
Correct Answer:
A
Chapter: 8
Q275:
What does reordering in active edge table depend on?
A. Slope values
B. X values
C. Y values
D. Y-max values
Correct Answer:
B
Chapter: 8
Q276:
The scan-line polygon filling algorithm updates x value using ______.
A. x1 = x0 + 1/m
B. x1 = x0 + m
C. x1 = x0 + y1
D. y1 = y0 + m
Correct Answer:
A
Chapter: 8
Q277:
During scan-line = 12, what is the x value for index 2 in the active edge table?
A. 25
B. 24.4
C. 26.8
D. 23.2
Correct Answer:
B
Chapter: 8
Q278:
During scan-line = 13, what is the updated x value for index 1?
A. 23.2
B. 24.4
C. 26
D. 22.8
Correct Answer:
A
Chapter: 8
Q279:
During scan-line = 14, what is the x value of the third edge in the active edge table?
A. 25
B. 27
C. 28
D. 26
Correct Answer:
B
Chapter: 8
Q280:
The polygon fill ends when ______.
A. All scan-lines are processed
B. All y values are checked
C. Active edge table is empty
D. All vertices are used
Correct Answer:
C