Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 12
Q421:
The translation matrix T(tx, ty) in homogeneous form is _______.
A. 10tx;01ty;0011 0 tx; 0 1 ty; 0 0 110tx;01ty;001
B. 01tx;10ty;0010 1 tx; 1 0 ty; 0 0 101tx;10ty;001
C. 100;tx1ty;0011 0 0; tx 1 ty; 0 0 1100;tx1ty;001
D. 1tx0;ty10;0011 tx 0; ty 1 0; 0 0 11tx0;ty10;001
Correct Answer:
A
Chapter: 12
Q422:
The scaling matrix S(sx, sy) in homogeneous form is _______.
A. sx00;0sy0;001sx 0 0; 0 sy 0; 0 0 1sx00;0sy0;001
B. 1sx0;sy10;0011 sx 0; sy 1 0; 0 0 11sx0;sy10;001
C. sx10;0sy1;001sx 1 0; 0 sy 1; 0 0 1sx10;0sy1;001
D. 10sx;01sy;0011 0 sx; 0 1 sy; 0 0 110sx;01sy;001
Correct Answer:
A
Chapter: 12
Q423:
The rotation matrix R(θ) in homogeneous form is _______.
A. cosθsinθ0;−sinθcosθ0;001cosθ sinθ 0; -sinθ cosθ 0; 0 0 1cosθsinθ0;−sinθcosθ0;001
B. cosθ−sinθ0;sinθcosθ0;001cosθ -sinθ 0; sinθ cosθ 0; 0 0 1cosθ−sinθ0;sinθcosθ0;001
C. cosθsinθ1;−sinθcosθ0;001cosθ sinθ 1; -sinθ cosθ 0; 0 0 1cosθsinθ1;−sinθcosθ0;001
D. cosθsinθ0;−cosθsinθ0;001cosθ sinθ 0; -cosθ sinθ 0; 0 0 1cosθsinθ0;−cosθsinθ0;001
Correct Answer:
B
Chapter: 13
Q424:
What is the main purpose of using drawing primitives?
A. Display output
B. Input handling
C. Memory allocation
D. File saving
Correct Answer:
A
Chapter: 13
Q425:
In screen coordinates, where is y=0 located?
A. Bottom edge
B. Center
C. Top edge
D. Left edge
Correct Answer:
C
Chapter: 13
Q426:
The screen dimensions used in the table example are ________.
A. 800×600
B. 640×480
C. 320×240
D. 1024×768
Correct Answer:
B
Chapter: 13
Q427:
The width of the table in the example is ________.
A. 10
B. 14
C. 20
D. 24
Correct Answer:
C
Chapter: 13
Q428:
The height of the table in the drawing example is ________.
A. 10
B. 14
C. 20
D. 24
Correct Answer:
A
Chapter: 13
Q429:
The x-coordinate of the left edge of the table is set at ________.
A. 300
B. 310
C. 320
D. 330
Correct Answer:
B
Chapter: 13
Q430:
The y-coordinate of the top edge of the table is ________.
A. 233
B. 247
C. 240
D. 250
Correct Answer:
A
Chapter: 13
Q431:
The length of the legs of the table in the example is ________.
A. 14
B. 10
C. 20
D. 12
Correct Answer:
B
Chapter: 13
Q432:
In translation, we have to move ______ points one by one.
A. Only x
B. Only y
C. All
D. No
Correct Answer:
C
Chapter: 13
Q433:
What is the purpose of the translate() function?
A. Rotate the object
B. Move the object
C. Scale the object
D. Delete the object
Correct Answer:
B
Chapter: 13
Q434:
In rotation, the pivot point is located at the ______ of the screen.
A. Top
B. Bottom
C. Center
D. Left
Correct Answer:
C
Chapter: 13
Q435:
In scaling, which parameter is multiplied after transformation?
A. Width
B. Height
C. legLength
D. Screen size
Correct Answer:
C
Chapter: 13
Q436:
After translation, the table must be ______.
A. Redrawn
B. Rotated
C. Deleted
D. Saved
Correct Answer:
A
Chapter: 13
Q437:
Rotation requires calculation for ______ point(s).
A. Only one
B. Two
C. Each
D. None
Correct Answer:
C
Chapter: 13
Q438:
In scaling, which step comes first?
A. Scaling
B. Translation
C. Rotation
D. Redrawing
Correct Answer:
B
Chapter: 13
Q439:
In the coordinate system, y-axis increases from ______ to ______.
A. Top to bottom
B. Bottom to top
C. Left to right
D. Right to left
Correct Answer:
A
Chapter: 13
Q440:
The function used to rotate the table is ________.
A. rotate()
B. scale()
C. move()
D. shift()
Correct Answer:
A