Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q471: In the parametric equation x = x1 + u(x2 - x1), what is the range of u?
- A: 1 ≤ u ≤ 2
- B: 0 ≤ u ≤ 1
- C: -1 ≤ u ≤ 0
- D: 0 < u < 2
View Answer
B
Q472: In line clipping, if u is outside 0 to 1, the intersection is _______.
- A: Outside the clip window
- B: Inside the clip window
- C: On the boundary
- D: Undefined
View Answer
A
Q473: The Cohen-Sutherland algorithm primarily uses _______ to perform initial tests.
- A: Outcodes
- B: In-codes
- C: Bitmaps
- D: Shaders
View Answer
A
Q474: In Cohen-Sutherland algorithm, how many bits are used for outcodes?
- A: 2 bits
- B: 3 bits
- C: 4 bits
- D: 5 bits
View Answer
C
Q475: In Cohen-Sutherland, Bit 1 corresponds to being outside which edge?
- A: Bottom edge
- B: Top edge
- C: Right edge
- D: Left edge
View Answer
B
Q476: In Cohen-Sutherland, if Y > Ymax, which bit is set to 1?
- A: Bit 1
- B: Bit 2
- C: Bit 3
- D: Bit 4
View Answer
A
Q477: If a line is trivially accepted in Cohen-Sutherland, what does it mean?
- A: It crosses the clip window
- B: It lies entirely inside the clip window
- C: It is discarded
- D: It needs further processing
View Answer
B
Q478: The Liang-Barsky algorithm is based on _________.
- A: Matrix transformation
- B: Parametric equations
- C: Trigonometric formulas
- D: Bit manipulation
View Answer
B
Q479: Liang-Barsky algorithm is generally _______ than Cohen-Sutherland.
- A: Slower
- B: More complex
- C: Faster
- D: Less accurate
View Answer
C
Q480: In Liang-Barsky, a line is represented as x = x1 + uΔx and y = ______.
- A: y1 + uΔx
- B: y2 + uΔx
- C: y1 + uΔy
- D: y2 + uΔy
View Answer
C