Skip to main content

Computer Graphics MCQs with Answers

Practice important Computer Graphics MCQs with answers and explanations.

Chapter: 13
Q441:
In rotate() function, angle is applied using ________.
A. Addition
B. Multiplication
C. Trigonometric functions
D. Random functions
Correct Answer: C
Chapter: 13
Q442:
In the given code, after scaling, legLength is updated using ________.
A. Addition
B. Subtraction
C. Multiplication
D. Division
Correct Answer: C
Chapter: 13
Q443:
The table top is drawn by connecting ________ lines.
A. Two
B. Three
C. Four
D. Five
Correct Answer: C
Chapter: 13
Q444:
Drawing four vertical lines from corners is used to draw ________.
A. Table top
B. Table legs
C. Screen borders
D. Floor
Correct Answer: B
Chapter: 13
Q445:
Rotation of a point requires ________ operations.
A. 1
B. 2
C. 3
D. 4
Correct Answer: B
Chapter: 13
Q446:
Code for scaling multiplies the difference of coordinates with ________.
A. 1
B. sx, sy
C. tx, ty
D. angle
Correct Answer: B
Chapter: 13
Q447:
In translation, new coordinates are calculated by ________.
A. Multiplication
B. Addition
C. Subtraction
D. Division
Correct Answer: B
Chapter: 13
Q448:
Line between (x1, y1) and (x2, y2) represents ________.
A. Top of table
B. Bottom of table
C. Left leg
D. Right leg
Correct Answer: A
Chapter: 13
Q449:
In drawing a table, which primitive is used for legs?
A. Rectangle
B. Circle
C. Line
D. Polygon
Correct Answer: C
Chapter: 13
Q450:
Which transformation involves both cos() and sin() functions?
A. Translation
B. Rotation
C. Scaling
D. Filling
Correct Answer: B
Chapter: 13
Q451:
The rotate() function uses ________ calculations for each point.
A. Simple
B. Trigonometric
C. Random
D. Graphical
Correct Answer: B
Chapter: 13
Q452:
The screen center coordinates used are ________.
A. -300300
B. -640480
C. -320240
D. (0,0)
Correct Answer: C
Chapter: 13
Q453:
Which function moves all points by the same amount?
A. rotate()
B. scale()
C. translate()
D. line()
Correct Answer: C
Chapter: 13
Q454:
The function used to change the size of the object is ________.
A. rotate()
B. scale()
C. line()
D. translate()
Correct Answer: B
Chapter: 13
Q455:
Legs of the table are drawn with ________ lines from each corner.
A. Horizontal
B. Vertical
C. Diagonal
D. Curved
Correct Answer: B
Chapter: 13
Q456:
In the code, angle for rotation is applied in ________ system.
A. Degrees
B. Radians
C. Minutes
D. Hours
Correct Answer: B
Chapter: 13
Q457:
Fill in the blank: In translation, ________ is added to x and y coordinates.
A. Angle
B. Scale
C. tx and ty
D. Length
Correct Answer: C
Chapter: 13
Q458:
Fill in the blank: The ________ function changes the dimensions of the table.
A. line()
B. scale()
C. rotate()
D. move()
Correct Answer: B
Chapter: 13
Q459:
Fill in the blank: The table’s four legs start from ________ corners of the top.
A. Top two
B. Bottom two
C. All four
D. Only one
Correct Answer: C
Chapter: 13
Q460:
Fill in the blank: In scaling, ________ changes but shape remains same.
A. Color
B. Size
C. Speed
D. Direction
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Computer Graphics

🚀 Start Quiz Now