Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q1151: What does glTranslated function do?
- A: Rotates objects
- B: Scales objects
- C: Translates objects
- D: Clears buffers
View Answer
C
Q1152: In gluPerspective, which parameter defines the near clipping plane?
- A: fovy
- B: aspect
- C: zNear
- D: zFar
View Answer
C
Q1153: glRotatef rotates objects about which point?
- A: Origin
- B: Center
- C: Texture
- D: Viewport
View Answer
A
Q1154: In OpenGL, the glClearColor function sets values for which buffer?
- A: Depth buffer
- B: Color buffer
- C: Stencil buffer
- D: Frame buffer
View Answer
B
Q1155: Which function initializes the OpenGL projection matrix to identity?
- A: glViewport
- B: glLoadIdentity
- C: glClear
- D: glRotatef
View Answer
B
Q1156: OpenGL uses ________ to store different transformations like translation, rotation, and scaling.
- A: Color buffers
- B: Matrix stacks
- C: Viewports
- D: Depth buffers
View Answer
B
Q1157: The field of view angle in gluPerspective is given in _________.
- A: Radians
- B: Degrees
- C: Pixels
- D: Bits
View Answer
B
Q1158: Calling glTranslatef(1.0, 0.0, 0.0) will move the object in which direction?
- A: Up
- B: Right
- C: Down
- D: Left
View Answer
B
Q1159: Which of the following is NOT a correct matrix mode for glMatrixMode?
- A: GL_MODELVIEW
- B: GL_TEXTURE
- C: GL_SHADING
- D: GL_PROJECTION
View Answer
C
Q1160: In glTranslated(2.0, 0.0, 0.0), which axis is affected?
- A: Y-axis
- B: X-axis
- C: Z-axis
- D: No axis
View Answer
B