Skip to main content

Computer Graphics MCQs with Answers

Practice important Computer Graphics MCQs with answers and explanations.

Chapter: 4
Q121:
MOV AH,0Ch sets which of the following?
A. Color value
B. Service number
C. Mode number
D. Intensity
Correct Answer: B
Chapter: 4
Q122:
To directly write pixel to memory, we must access ______.
A. ROM
B. Video Memory
C. Cache
D. Processor
Correct Answer: B
Chapter: 5
Q123:
What does the incremental line algorithm use to draw a line?
A. Circle equation
B. Ellipse equation
C. Line equation y = mx + b
D. Sine function
Correct Answer: C
Chapter: 5
Q124:
The incremental line algorithm works only in the ______ direction.
A. both
B. horizontal
C. vertical
D. incremental
Correct Answer: D
Chapter: 5
Q125:
What is the main disadvantage of the incremental line algorithm?
A. Requires integer math
B. Too fast
C. Works for only curves
D. Requires floating-point calculations repeatedly
Correct Answer: D
Chapter: 5
Q126:
What is calculated in the DDA algorithm after choosing the step?
A. Line slope
B. xIncrement and yIncrement
C. Area under curve
D. Intersections
Correct Answer: B
Chapter: 5
Q127:
What is the main criticism of DDA algorithm?
A. Too accurate
B. Uses float calculations
C. Doesn't work on integers
D. No loops used
Correct Answer: B
Chapter: 5
Q128:
Which line drawing algorithm uses only integer calculations?
A. DDA
B. Midpoint circle
C. Incremental
D. Bresenham
Correct Answer: D
Chapter: 5
Q129:
Which of the following is TRUE for Bresenham’s algorithm?
A. Uses floating-point math
B. Works for slope > 1 only
C. Uses only integer math
D. Requires dx < dy
Correct Answer: C
Chapter: 5
Q130:
In Bresenham’s algorithm, what determines the next pixel to plot?
A. Midpoint rule
B. Decision variable pi
C. Angle of rotation
D. Tangent of slope
Correct Answer: B
Chapter: 5
Q131:
In Bresenham’s algorithm, if pi < 0, what happens?
A. y is incremented
B. y is decremented
C. pi is reset
D. x is incremented only
Correct Answer: D
Chapter: 5
Q132:
In the incremental algorithm, if the line’s slope is greater than 1, what is incremented?
A. x
B. y
C. dx
D. dy
Correct Answer: B
Chapter: 5
Q133:
The point (10,10) to (20,18) has a slope of:
A. 0.8
B. 1.2
C. 2
D. 0.6
Correct Answer: A
Chapter: 5
Q134:
The point (10,10) to (16,20) has a slope of:
A. 1.2
B. 1.8
C. 0.6
D. 0.9
Correct Answer: A
Chapter: 5
Q135:
The equation used in line drawing is:
A. y = m + b
B. x = m*y + b
C. y = m*x + b
D. x = y*b
Correct Answer: C
Chapter: 5
Q136:
A line with slope = 1 means what about x and y increments?
A. x and y increment unequally
B. x increases, y is fixed
C. x and y increment equally
D. Only y increments
Correct Answer: C
Chapter: 5
Q137:
DDA stands for:
A. Digital Drawing Algorithm
B. Discrete Differential Algorithm
C. Digital Differential Analyzer
D. Direct Drawing Analyzer
Correct Answer: C
Chapter: 5
Q138:
The decision variable in Bresenham’s algorithm is used to:
A. Change colors
B. Decide next y-value
C. Decide next x-value
D. Skip pixels
Correct Answer: B
Chapter: 5
Q139:
In line drawing, the line connecting two points is the:
A. Longest route
B. Shortest distance
C. Midpoint average
D. Quadratic path
Correct Answer: B
Chapter: 5
Q140:
A slope < 1 means:
A. y changes more than x
B. x changes more than y
C. No change in y
D. Vertical line
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Computer Graphics

🚀 Start Quiz Now