Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q121: MOV AH,0Ch sets which of the following?
- A: Color value
- B: Service number
- C: Mode number
- D: Intensity
View Answer
B
Q122: To directly write pixel to memory, we must access ______.
- A: ROM
- B: Video Memory
- C: Cache
- D: Processor
View Answer
B
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
View Answer
C
Q124: The incremental line algorithm works only in the ______ direction.
- A: both
- B: horizontal
- C: vertical
- D: incremental
View Answer
D
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
View Answer
D
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
View Answer
B
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
View Answer
B
Q128: Which line drawing algorithm uses only integer calculations?
- A: DDA
- B: Midpoint circle
- C: Incremental
- D: Bresenham
View Answer
D
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
View Answer
C
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
View Answer
B