Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q441: In rotate() function, angle is applied using ________.
- A: Addition
- B: Multiplication
- C: Trigonometric functions
- D: Random functions
View Answer
C
Q442: In the given code, after scaling, legLength is updated using ________.
- A: Addition
- B: Subtraction
- C: Multiplication
- D: Division
View Answer
C
Q443: The table top is drawn by connecting ________ lines.
- A: Two
- B: Three
- C: Four
- D: Five
View Answer
C
Q444: Drawing four vertical lines from corners is used to draw ________.
- A: Table top
- B: Table legs
- C: Screen borders
- D: Floor
View Answer
B
Q445: Rotation of a point requires ________ operations.
- A: 1
- B: 2
- C: 3
- D: 4
View Answer
B
Q446: Code for scaling multiplies the difference of coordinates with ________.
- A: 1
- B: sx, sy
- C: tx, ty
- D: angle
View Answer
B
Q447: In translation, new coordinates are calculated by ________.
- A: Multiplication
- B: Addition
- C: Subtraction
- D: Division
View Answer
B
Q448: Line between (x1, y1) and (x2, y2) represents ________.
- A: Top of table
- B: Bottom of table
- C: Left leg
- D: Right leg
View Answer
A
Q449: In drawing a table, which primitive is used for legs?
- A: Rectangle
- B: Circle
- C: Line
- D: Polygon
View Answer
C
Q450: Which transformation involves both cos() and sin() functions?
- A: Translation
- B: Rotation
- C: Scaling
- D: Filling
View Answer
B