Skip to main content

Computer Graphics MCQs with Answers

Practice important Computer Graphics MCQs with answers and explanations.

Multiple Choice Questions

Q1351: Which function in OpenGL specifies how the scene is projected onto a 2D screen?
  • A: gluLookAt()
  • B: glFrustum()
  • C: glLoadIdentity()
  • D: glScalef()
View Answer
B

Q1352: What does the projection transformation in OpenGL define?
  • A: The camera's position
  • B: The object's position
  • C: The viewable volume
  • D: The object's rotation
View Answer
C

Q1353: Which of the following transformations is applied last in the OpenGL pipeline?
  • A: Viewport transformation
  • B: Projection transformation
  • C: Viewing transformation
  • D: Modeling transformation
View Answer
A

Q1354: In the code example, the 'glScalef()' function is used for which purpose?
  • A: Positioning the camera
  • B: Scaling the object
  • C: Rotating the object
  • D: Translating the object
View Answer
B

Q1355: What does the 'glFrustum()' function do in OpenGL?
  • A: It defines the viewable volume
  • B: It specifies the camera's position
  • C: It scales the objects
  • D: It rotates the objects
View Answer
A

Q1356: In the transformation process, after projection, what operation is performed on the coordinates?
  • A: Clipping
  • B: Translation
  • C: Normalization
  • D: Perspective division
View Answer
D

Q1357: Which matrix is used in OpenGL to define the 3D scene's viewable area?
  • A: Modelview matrix
  • B: Projection matrix
  • C: Viewport matrix
  • D: Transformation matrix
View Answer
B

Q1358: If two vertices have the same x and y values but different z values, OpenGL uses the z value to determine what?
  • A: Which vertices are drawn
  • B: Which surfaces are obscured
  • C: Which vertices are in front
  • D: Which vertices are visible
View Answer
B

Q1359: What happens if the 'gluLookAt()' function is omitted in the code example?
  • A: The camera will have a default position
  • B: The object will not be visible
  • C: The projection will be distorted
  • D: The model will be rotated incorrectly
View Answer
A

Q1360: Which OpenGL function is used to change the position of an object in 3D space?
  • A: glTranslatef()
  • B: glRotatef()
  • C: glScalef()
  • D: glLookAt()
View Answer
A

Test Your Knowledge

Take a timed quiz on Computer Graphics

🚀 Start Quiz Now