Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 22
Q721:
What is the first step in triangle rasterization?
A. Sort the triangle vertices by y
B. Sort the triangle by color
C. Calculate the normal vector
D. Find the centroid of the triangle
Correct Answer:
A
Chapter: 22
Q722:
Sub-pixel accuracy in triangle rasterization helps to avoid which visual artifact?
A. Pixel jumping
B. Aliasing
C. Blurring
D. Color distortion
Correct Answer:
A
Chapter: 22
Q723:
Smooth shading in triangle rasterization is used to simulate the effect of _______ over a surface.
A. Lighting
B. Transparency
C. Reflection
D. Rotation
Correct Answer:
A
Chapter: 22
Q724:
Texture mapping in triangle rasterization is used to interpolate _______ over the triangle.
A. Colors
B. Normals
C. Images
D. Shadows
Correct Answer:
C
Chapter: 22
Q725:
The technique of bilinear texture mapping uses the fractional component of the u, v coordinates to perform _______ of four adjacent texels.
A. Weighted average
B. Linear interpolation
C. Multiplication
D. Exponential calculation
Correct Answer:
A
Chapter: 22
Q726:
Which of the following is NOT a method of triangle rasterization?
A. Solid fill triangle rendering
B. Smooth shading
C. Texture mapping
D. Edge detection
Correct Answer:
D
Chapter: 22
Q727:
Sub-texel accuracy is particularly useful in which type of rasterization?
A. Texture mapping
B. Smooth shading
C. Flat shading
D. Line drawing
Correct Answer:
A
Chapter: 22
Q728:
Which function is used for linear interpolation in triangle rasterization?
A. f(X) = A + X * ((B-A) / steps)
B. f(X) = A + B * X
C. f(X) = A * X + B
D. f(X) = X * (B-A)
Correct Answer:
B
Chapter: 22
Q729:
The purpose of sorting triangle vertices in rasterization is to determine the _______ of the triangle.
A. Scanline order
B. Vertex color
C. Normal vector
D. Edge coordinates
Correct Answer:
A
Chapter: 22
Q730:
Sub-texel accuracy is most commonly used in which type of triangle rasterization?
A. Smooth shading
B. Texture mapping
C. Solid fill
D. Edge interpolation
Correct Answer:
B
Chapter: 22
Q731:
What is the fix-up distance used for in sub-pixel accuracy?
A. Distance of the vertex from the next scanline
B. Distance between edges
C. Distance between texels
D. Distance between color points
Correct Answer:
A
Chapter: 22
Q732:
In the Bilinear Sampling method for texture mapping, the coordinates u0 and v0 represent which values?
A. Floor values of u and v
B. Interpolated texture coordinates
C. Vertex coordinates
D. Final pixel color values
Correct Answer:
A
Chapter: 22
Q733:
The DDA algorithm for triangle rasterization uses the slope of the triangle edges to calculate _______.
A. Edge intersections with scanlines
B. X-coordinate of vertex positions
C. Position of texture coordinates
D. Lighting calculations
Correct Answer:
A
Chapter: 22
Q734:
What is the main advantage of using texture mapping in triangle rasterization?
A. Reduces the number of triangles needed for an object
B. Improves lighting calculations
C. Renders higher resolution images
D. Minimizes color distortions
Correct Answer:
A
Chapter: 22
Q735:
In the sub-texel accuracy method, fractional values of vertex coordinates are used to _______.
A. Prevent visible pixel jumps
B. Increase the speed of rendering
C. Reduce memory usage
D. Increase triangle count
Correct Answer:
A
Chapter: 22
Q736:
Which of the following techniques can be used to achieve smooth shading in triangle rasterization?
A. DDA interpolation for colors
B. Direct vertex coloring
C. Using shaders
D. Interpolation of normals
Correct Answer:
A
Chapter: 22
Q737:
The DDA algorithm can be modified to account for fractional vertex positions in the triangle using _______.
A. Sub-pixel accuracy
B. Sub-texel accuracy
C. Antialiasing
D. Edge detection
Correct Answer:
A
Chapter: 22
Q738:
The general method for flat filling triangles involves finding the points of intersection with edges using _______.
A. Linear interpolation
B. Cubic interpolation
C. Binary search
D. Recursive depth-first search
Correct Answer:
A
Chapter: 22
Q739:
Which of the following describes the purpose of the sub-texel accuracy technique?
A. To interpolate values accurately across small pixel distances
B. To speed up texture mapping
C. To create a more pronounced texture effect
D. To improve the speed of sub-pixel rendering
Correct Answer:
A
Chapter: 22
Q740:
In the pseudocode for bilinear sampling, which method is used to obtain the texel colors?
A. Weighted average lookup
B. Floor rounding
C. Rounding to the nearest texel
D. Linear interpolation
Correct Answer:
A