Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 13
Q461:
Fill in the blank: Drawing primitives are basic ________ tools in graphics.
A. Output
B. Input
C. Data
D. Memory
Correct Answer:
A
Chapter: 13
Q462:
Fill in the blank: The center of the screen in example is at ________, ________.
A. 640480
B. 320240
C. 233247
D. 310330
Correct Answer:
B
Chapter: 14
Q463:
What is the purpose of clipping in computer graphics?
A. To enlarge the canvas
B. To restrict graphics to a sub-region
C. To animate graphics
D. To rotate objects
Correct Answer:
B
Chapter: 14
Q464:
The default clipping rectangle is the _______.
A. Red box
B. Canvas screen
C. Drawing object
D. Polygon
Correct Answer:
B
Chapter: 14
Q465:
Which shape is commonly assumed for a simple clipping region?
A. Circular
B. Rectangular
C. Triangular
D. Elliptical
Correct Answer:
B
Chapter: 14
Q466:
Point clipping saves a point if it satisfies which condition?
A. x and y are both zero
B. x and y are both negative
C. x and y are within minimum and maximum values
D. x and y are greater than 100
Correct Answer:
C
Chapter: 14
Q467:
In point clipping, a point at (X, Y) lies inside the clip rectangle if _______.
A. X > Xmax and Y > Ymax
B. Xmin < X < Xmax and Ymin < Y < Ymax
C. X < Xmin or Y > Ymax
D. X = 0 and Y = 0
Correct Answer:
B
Chapter: 14
Q468:
In line clipping, if both endpoints lie inside the clip rectangle, what happens?
A. Line is ignored
B. Line is trivially rejected
C. Line is trivially accepted
D. Line is inverted
Correct Answer:
C
Chapter: 14
Q469:
What does "trivial reject" mean in line clipping?
A. Line must be redrawn
B. Line is fully accepted
C. Line is discarded without further testing
D. Line is divided into parts
Correct Answer:
C
Chapter: 14
Q470:
In parametric representation of a line, x = ________.
A. x2 + u(x1 - x2)
B. x1 + u(x2 - x1)
C. x1 - u(x2 - x1)
D. x2 - u(x1 - x2)
Correct Answer:
B
Chapter: 14
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
Correct Answer:
B
Chapter: 14
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
Correct Answer:
A
Chapter: 14
Q473:
The Cohen-Sutherland algorithm primarily uses _______ to perform initial tests.
A. Outcodes
B. In-codes
C. Bitmaps
D. Shaders
Correct Answer:
A
Chapter: 14
Q474:
In Cohen-Sutherland algorithm, how many bits are used for outcodes?
A. 2 bits
B. 3 bits
C. 4 bits
D. 5 bits
Correct Answer:
C
Chapter: 14
Q475:
In Cohen-Sutherland, Bit 1 corresponds to being outside which edge?
A. Bottom edge
B. Top edge
C. Right edge
D. Left edge
Correct Answer:
B
Chapter: 14
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
Correct Answer:
A
Chapter: 14
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
Correct Answer:
B
Chapter: 14
Q478:
The Liang-Barsky algorithm is based on _________.
A. Matrix transformation
B. Parametric equations
C. Trigonometric formulas
D. Bit manipulation
Correct Answer:
B
Chapter: 14
Q479:
Liang-Barsky algorithm is generally _______ than Cohen-Sutherland.
A. Slower
B. More complex
C. Faster
D. Less accurate
Correct Answer:
C
Chapter: 14
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
Correct Answer:
C