Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q1301: In OpenGL, what would happen if you used `glLineStrip` instead of `glLineLoop` for drawing a closed polygon?
- A: The first and last vertices might not connect properly
- B: Both vertices would be connected correctly
- C: The rendering time would decrease
- D: The rendering quality would increase
View Answer
A
Q1302: When subdividing an icosahedron to approximate a sphere, the new vertices should be _______ after being normalized.
- A: On the surface of the sphere
- B: Outside the sphere
- C: Inside the sphere
- D: Unchanged
View Answer
A
Q1303: Which of the following is used to calculate the normalized cross product of two vectors in OpenGL?
- A: `normcrossprod()`
- B: `glNormal3fv()`
- C: `glVertex3fv()`
- D: `glBegin(GL_TRIANGLES)`
View Answer
A
Q1304: In the code for drawing an icosahedron, what does `vdata[tindices[i][0]]` represent?
- A: The vertex data for a triangle
- B: The index of a triangle's vertex
- C: Normal vector for a surface
- D: The color for a surface
View Answer
A
Q1305: What happens when you avoid T-intersections in polygonal modeling?
- A: It prevents cracks from appearing in the surface
- B: It makes the surface render faster
- C: It improves lighting effects
- D: It reduces memory usage
View Answer
A
Q1306: When subdividing a surface, smaller polygons are used in regions of _______.
- A: High curvature
- B: Flat regions
- C: Low texture resolution
- D: Low lighting intensity
View Answer
A
Q1307: For high-quality 3D models, which area of the surface should be subdivided more?
- A: The silhouette edges
- B: The interior edges
- C: The back face
- D: The bottom face
View Answer
A
Q1308: To calculate the normal vector of a triangular surface, what is the first step?
- A: Find the cross product of two vectors on the surface
- B: Calculate the angle between the vectors
- C: Find the centroid of the triangle
- D: Normalize the surface
View Answer
B
Q1309: In the example code, `glBegin(GL_TRIANGLES)` is used to _______.
- A: Draw the vertices for a triangle
- B: Render a circle
- C: Define the color of a vertex
- D: Initialize the OpenGL pipeline
View Answer
A
Q1310: Which method would you use to increase the accuracy of a polygonal approximation to a sphere?
- A: Subdivide the triangles multiple times
- B: Increase the number of polygons
- C: Increase the resolution of textures
- D: Use a higher precision color model
View Answer
A