Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 40
Q1341:
The process of constructing a fractal like the Koch curve is ______.
A. infinite
B. finite
C. bounded
D. random
Correct Answer:
A
Chapter: 40
Q1342:
Fractal objects can be infinitely detailed even when viewed at any ______.
A. scale
B. angle
C. distance
D. moment in time
Correct Answer:
A
Chapter: 41
Q1343:
What does a viewing transformation in computer graphics resemble?
A. Creating a 3D model
B. Positioning and aiming a camera
C. Transforming an object in space
D. Scaling an object
Correct Answer:
B
Chapter: 41
Q1344:
In the transformation process, which matrix is used to combine viewing and modeling transformations?
A. Modelview matrix
B. Projection matrix
C. Viewport matrix
D. Identity matrix
Correct Answer:
A
Chapter: 41
Q1345:
Which OpenGL function positions the camera in a scene?
A. gluLookAt()
B. gluPerspective()
C. gluOrtho2D()
D. gluLookFrom()
Correct Answer:
A
Chapter: 41
Q1346:
In the OpenGL transformation pipeline, which matrix is applied to an object to perform the viewing transformation?
A. Modelview matrix
B. Projection matrix
C. Viewport matrix
D. Identity matrix
Correct Answer:
A
Chapter: 41
Q1347:
Which transformation command is used to scale an object in OpenGL?
A. glScalef()
B. glTranslatef()
C. glRotatef()
D. glLoadIdentity()
Correct Answer:
A
Chapter: 41
Q1348:
What is the role of the gluLookAt() function in OpenGL?
A. It defines the light source position
B. It transforms object vertices
C. It specifies the camera position and orientation
D. It sets the window size
Correct Answer:
C
Chapter: 41
Q1349:
In 3D graphics, what happens if an object lies outside the defined clipping volume?
A. It is projected on the screen
B. It is ignored and not drawn
C. It is clipped and distorted
D. It is scaled automatically
Correct Answer:
B
Chapter: 41
Q1350:
Which transformation affects the camera's position in the scene?
A. Modeling transformation
B. Viewing transformation
C. Projection transformation
D. Viewport transformation
Correct Answer:
B
Chapter: 41
Q1351:
Which function in OpenGL specifies how the scene is projected onto a 2D screen?
A. gluLookAt()
B. glFrustum()
C. glLoadIdentity()
D. glScalef()
Correct Answer:
B
Chapter: 41
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
Correct Answer:
C
Chapter: 41
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
Correct Answer:
A
Chapter: 41
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
Correct Answer:
B
Chapter: 41
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
Correct Answer:
A
Chapter: 41
Q1356:
In the transformation process, after projection, what operation is performed on the coordinates?
A. Clipping
B. Translation
C. Normalization
D. Perspective division
Correct Answer:
D
Chapter: 41
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
Correct Answer:
B
Chapter: 41
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
Correct Answer:
B
Chapter: 41
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
Correct Answer:
A
Chapter: 41
Q1360:
Which OpenGL function is used to change the position of an object in 3D space?
A. glTranslatef()
B. glRotatef()
C. glScalef()
D. glLookAt()
Correct Answer:
A