Worksheetsunit2_Computer Graphics MCQs
Total questions: 25
Worksheet time: 12mins
Which type of clipping is used to remove parts of a line outside the viewing window?
Polygon Clipping
Line Clipping
Curve Clipping
Text Clipping
What is windowing in computer graphics?
Dividing the screen into multiple panels
Displaying only the part of the scene inside a specified region
Setting the size of the application window
Enabling drag-and-drop functionality
Which of the following is NOT a line clipping algorithm?
Cohen-Sutherland
Liang-Barsky
Bresenham’s Algorithm
Midpoint Subdivision
The Cohen-Sutherland algorithm divides the space into how many regions?
2
4
6
9
Which parameter is used in the Liang-Barsky algorithm to clip lines?
Direction cosines
Parametric equations
Cartesian coordinates
Slope-intercept form
The Midpoint Subdivision method works by:
Iteratively halving the line segment
Using slope equations
Dividing polygons into triangles
Calculating line intersections
In Midpoint Subdivision, what is the termination condition?
Line is completely outside the window
Line segment becomes very small
Line intersects the window diagonals
None of the above
What is the main purpose of clipping in computer graphics?
To hide objects outside a certain boundary
To zoom into objects
To adjust object color
To change the object orientation
The Sutherland-Hodgeman algorithm is primarily used for:
Line Clipping
Polygon Clipping
Text Clipping
Curve Clipping
What happens to a vertex inside the clipping window in the Sutherland-Hodgeman algorithm?
It is discarded
It is added to the output list
It is divided into sub-vertices
It is projected onto the edges
What is the output of the Sutherland-Hodgeman algorithm when the polygon is entirely inside the window?
A null set
The same polygon
A smaller polygon
A clipped polygon
Viewing transformation is the process of:
Changing object size
Mapping world coordinates to screen coordinates
Rotating objects
Removing hidden objects
Which matrix is primarily used for 2D viewing transformations?
Translation Matrix
Rotation Matrix
Viewing Transformation Matrix
Scaling Matrix
Which input technique allows the user to position a graphical object?
Rubber Band Technique
Dragging
Positioning Technique
OCR
Rubber band technique is commonly used for:
Text input
Drawing straight lines or shapes interactively
Applying textures
Scaling objects
Positional constraints are used to:
Restrict object movement
Control lighting effects
Highlight polygons
Change object colors
Event handling involves:
Handling hardware interrupts
Managing user interactions like mouse clicks or key presses
Data compression
Rendering graphics
Polling is used in event handling to:
Continuously check for user events
Stop the program execution
Reset the program state
Generate random events
An event queue stores:
Object data
User actions in chronological order
Color palettes
Window sizes
Dragging and fixing refers to:
Animating objects
Moving objects interactively and placing them
Zooming into objects
Applying filters
Hit detection is used to determine:
The speed of animations
If a user-selected point overlaps an object
Clipping regions
Memory usage of graphics
Which algorithm is commonly used for hit detection?
Bresenham’s Algorithm
Cohen-Sutherland Algorithm
Bounding Box Algorithm
Midpoint Circle Algorithm
OCR is used for:
Recognizing and interpreting text from images
Object detection
Rasterization
Texture mapping
Which input function is related to OCR?
Text parsing
Pixel-to-character mapping
Object rotation
Zoom interaction
The main advantage of OCR in graphical input is:
Faster rendering
Interactive object selection
Converting scanned text into editable digital text
Smoothing edges
