Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q481: In Liang-Barsky, if p < 0, the line proceeds from _______.
- A: Inside to outside
- B: Outside to inside
- C: Bottom to top
- D: Top to bottom
View Answer
B
Q482: In Liang-Barsky, the clipping decision depends on values of _______.
- A: p and q
- B: x and y
- C: a and b
- D: u and v
View Answer
A
Q483: Liang-Barsky algorithm uses initial values of ______.
- A: u1 = 1, u2 = 0
- B: u1 = 0, u2 = 1
- C: u1 = 0.5, u2 = 1.5
- D: u1 = -1, u2 = 1
View Answer
B
Q484: In Liang-Barsky, if u1 > u2 after calculations, the line is _______.
- A: Accepted
- B: Rejected
- C: Extended
- D: Animated
View Answer
B
Q485: A line completely inside the clip rectangle is _______.
- A: Trivially rejected
- B: Trivially accepted
- C: Divided
- D: Ignored
View Answer
B
Q486: Which is NOT a step in Cohen-Sutherland algorithm?
- A: Check for trivial accept/reject
- B: Divide line into segments if needed
- C: Always redraw the entire canvas
- D: Clip iteratively until fully inside
View Answer
C
Q487: The Cohen-Sutherland algorithm divides the plane into ______ regions.
- A: 4
- B: 9
- C: 5
- D: 7
View Answer
B
Q488: In Cohen-Sutherland algorithm, if outcodes of two endpoints ANDed result in nonzero, line is _______.
- A: Completely inside
- B: Completely outside
- C: Partially inside
- D: Partially outside
View Answer
B
Q489: The Liang-Barsky algorithm calculates intersections using _______.
- A: u = q/p
- B: u = p/q
- C: u = x+y
- D: u = x1+x2
View Answer
A
Q490: In Liang-Barsky, p1 is defined as _______.
- A: -Δy
- B: Δx
- C: -Δx
- D: Δy
View Answer
C