Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q1171: If glLoadIdentity is called inside glBegin and glEnd, which error occurs?
- A: GL_INVALID_OPERATION
- B: GL_INVALID_ENUM
- C: Buffer overflow
- D: GL_DEPTH_ERROR
View Answer
A
Q1172: glPushMatrix and glPopMatrix are used to
- A: Save and restore matrix state
- B: Change viewport
- C: Change color buffer
- D: Clear depth buffer
View Answer
A
Q1173: Which function is responsible for initializing color and depth buffers?
- A: glBegin
- B: glEnd
- C: glClear
- D: glViewport
View Answer
C
Q1174: If aspect ratio is not maintained in gluPerspective, image appears
- A: Clear
- B: Distorted
- C: Zoomed
- D: Black
View Answer
B
Q1175: What kind of equations are used to define curves in geometric modeling?
- A: Linear equations
- B: Parametric equations
- C: Exponential equations
- D: Logarithmic equations
View Answer
B
Q1176: What is the independent variable called in parametric equations?
- A: Dependent variable
- B: Slope
- C: Parametric variable
- D: Constant
View Answer
C
Q1177: In parametric curves, which variables depend on the parametric variable?
- A: x, y, and z coordinates
- B: Only x coordinate
- C: Only y coordinate
- D: Time and speed
View Answer
A
Q1178: Which of the following curves are based on parametric equations?
- A: Bezier curves
- B: Hermite curves
- C: NURBS
- D: All of the above
View Answer
D
Q1179: Each point on a parametric curve is represented by a ________.
- A: Scalar
- B: Matrix
- C: Vector
- D: Line
View Answer
C
Q1180: The components of a point vector p are ________.
- A: x(u), y(u), z(u)
- B: u(x), u(y), u(z)
- C: p(u), q(u), r(u)
- D: x, y, z constants
View Answer
A