Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q1511: What does glMapGrid1f() define in OpenGL?
- A: The number of control points
- B: A grid that goes from u1 to u2 in n steps
- C: A texture mapping grid
- D: The boundary for the Bézier curve
View Answer
B
Q1512: The glEvalMesh1() function is used to apply a grid to all enabled evaluators. Which parameter does it require?
- A: u1, u2
- B: p1, p2
- C: mode, steps
- D: n, order
View Answer
B
Q1513: What is the result when glEvalCoord1f() is called in the provided example?
- A: It draws a control point
- B: It draws a curve based on the control points
- C: It draws a mesh
- D: It sets up texture coordinates
View Answer
B
Q1514: Fill in the blank: The function glEvalCoord2f() is used for ________ in OpenGL.
- A: 1-dimensional evaluation
- B: 2-dimensional evaluation
- C: Texture mapping
- D: Setting the model view matrix
View Answer
B
Q1515: What does the function glMap2f() do in the context of 2-dimensional evaluators?
- A: Defines a grid for mesh evaluation
- B: Defines a 2D evaluator for vertex data
- C: Draws the curve
- D: Sets up color mapping
View Answer
B
Q1516: What does the command glOrtho() do in the reshape() function?
- A: Sets up an orthogonal projection matrix
- B: Initializes the viewport size
- C: Defines the texture coordinates
- D: Resizes the control points
View Answer
A
Q1517: Which function is used to evaluate a two-dimensional map in OpenGL?
- A: glMap1f
- B: glMap2f
- C: glEvalCoord1f
- D: glEvalCoord2f
View Answer
B
Q1518: In a two-dimensional evaluator, which function is used to apply the currently defined map grid?
- A: glEvalCoord2f
- B: glEvalMesh2
- C: glMap2f
- D: glEvalCoord1f
View Answer
B
Q1519: Fill in the blank: The function glMap2f() requires the ________ parameter for specifying control points.
- A: order
- B: target
- C: stride
- D: points
View Answer
D
Q1520: What is the main advantage of animation in relation to time?
- A: Compressing time
- B: Expanding time
- C: Both compressing and expanding time
- D: Ignoring time
View Answer
C