Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). What is the outcode of point (75,250)?

A. 110
B. 1
C. 10
Answer» E.
2.

Following are coordinates of clipping window : Lower Left Corner (10,10) and Upper Right Corner (1,1). What is the outcode of point (150,50)?

A. 10
B. 10
C. 1
D. 110
Answer» B. 10
3.

Following are coordinates of clipping window : Lower Left Corner (10,10) and Upper Right Corner (1,1). Whether a point at (75,90) is visible or not?

A. visible
B. partially visible
C. completely exterior
D. none of the above
Answer» B. partially visible
4.

Following are coordinates of clipping window : Lower Left Corner (10,10) and Upper Right Corner (1,1). Whether a point at (5,50) is visible or not?

A. visible
B. partially visible
C. completely exterior
D. none of the above
Answer» D. none of the above
5.

What will be the input set for clipping right and for clipping top respectively?

A. 1’ 2 3 4 6 7 8 9 10 11 11’ and 2 3 4 5’ 6’ 7 8 9 10 11 11’ 1’
B. 1 2 3 4 6 7 8 9 10 11 11’ and 1’2 3 4 5’ 6’ 7 8 9 10 11 11’
C. 1’ 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
D. 1 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
Answer» B. 1 2 3 4 6 7 8 9 10 11 11’ and 1’2 3 4 5’ 6’ 7 8 9 10 11 11’
6.

What will be clipped polygon vertices?

A. 4’ 4 ‘5’ 6’ 7 7’ 8’ 9 9’ 10’ 11 11’ 1’ 2 3’
B. 1’2 3’ 4’4 5’6’ 7 7’8’ 9’ 10’ 11 11’
C. both a and b
D. neither a or b
Answer» D. neither a or b
7.

What will be input set to clipping top and clipping bottom respectively?

A. 2 3 4 5’ 6’ 7 8 9 10 11 11’ 1’ and 3’ 4’ 4 5’ 6’ 7 8 9 10 11 11’ 1’ 2
B. 1 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
C. 2 3 4 5’ 6’ 7 8 9 10 11 11’ 1’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
D. 1 1’ 2 3 4 6 7 8 9 10 11 11’ and 3’ 4’ 4 5’ 6’ 7 8 9 10 11 11’ 1’ 2
Answer» B. 1 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
8.

In 8 connected region if one pixel is (x,y) then remaining neighboring pixels

A. (x+1, y ) (x-1,y) (x,y+1) (x,y-1) (x-1,y-1) (x-1, y+1) (x+1, y-1) (x+1, y+1)
B. (x+1, y ) (x-1,y) (x,y+1) (x,y) (x-1,y-1) (x-1, y+1) (x+1, y-1) (x+1, y+1)
C. (x-1,y-1) (x-1, y+1) (x+1, y-1) (x+1, y+1)
D. (x+1, y ) (x-1,y) (x,y+1) (x,y-1) (x-1,y-1)
Answer» B. (x+1, y ) (x-1,y) (x,y+1) (x,y) (x-1,y-1) (x-1, y+1) (x+1, y-1) (x+1, y+1)
9.

What will be the input set for clipping left and clipping right respectively?

A. 1 2 3 4 6 7 8 9 10 11 and 1’ 2 3 4 6 7 8 9 10 11 11’
B. 1 2 3 4 6 7 8 9 10 11 and 1’2 3 4 5’ 6’ 7 8 9 10 11 11’
C. 1’ 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
D. 1 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
Answer» B. 1 2 3 4 6 7 8 9 10 11 and 1’2 3 4 5’ 6’ 7 8 9 10 11 11’
10.

What will be the output set after clipping left and clipping right?

A. 1 2 3 4 6 7 8 9 10 11 11’ and 1’2 3 4 5’ 6’ 7 8 9 10 11 11’
B. 1’ 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
C. 1 2 3 4 6 7 8 9 10 11 11’ and 1 1’ 2 3 4 6 7 8 9 10 11 11’
D. 1’ 2 3 4 6 7 8 9 10 11 11’ and 2 3 4 5’ 6’ 7 8 9 10 11 11’ 1’
Answer» E.
11.

Generalised clipping algorithm deals with clipping against _____ line.

A. horizontal
B. veritical
C. arbitrary
D. both horizontal & vertical
Answer» D. both horizontal & vertical
12.

In _____ clipping , cliiping routine can be performed along any line.

A. viewport
B. window
C. generalised
D. none
Answer» D. none
13.

A window with 6 clipping boundaries can be considered under___ clipping.

A. generalised
B. window
C. viewport
D. none
Answer» B. window
14.

In viewing transformation _____the scaled window area to the position of the viewport.

A. rotate
B. translate
C. shear
D. scale
Answer» C. shear
15.

In viewing transformation perform scaling transformation that scales the _____ area to the size of the ______

A. window, viewport
B. viewport, window
C. window, screen
D. screen, viewport
Answer» B. viewport, window
16.

In viewing transformation perform _____ transformation that scales the window area to the size of the view port

A. translation
B. rotation
C. scaling
D. shear
Answer» D. shear
17.

In viewing transformation maintain relative size an position between clipping window and viewport. ie a point in window Xw, Yw is transformed to Xv, Yv where Yv=

A. yvmin +(yw+ywmin )sx
B. yvmin +( yw-ywmin )sy
C. xvmin -( yw+ywmin )sx
D. yvmin -( yw-xwmin )sy
Answer» C. xvmin -( yw+ywmin )sx
18.

In viewing transformation maintain relative size an position between clipping window and viewport. ie a point in window Xw, Yw is transformed to Xv, Yv where Xv=

A. xvmin +( xw+xwmin )sx
B. xvmin +( xw-xwmin )sx
C. xvmin -( xw+xwmin )sx
D. xvmin -( xw-xwmin )sx
Answer» C. xvmin -( xw+xwmin )sx
19.

An area on a display device to which a window is mapped, defines where it is to be displayed

A. viewport
B. size
C. window
D. none
Answer» B. size
20.

Maintain relative ____ and position between clipping window and viewport in viewing transformation

A. viewport
B. size
C. window
D. none
Answer» C. window
21.

In viewing transformation maintain relative size and ______ between clipping window and viewport

A. window
B. viewport
C. position
D. none
Answer» D. none
22.

In viewing transformation maintain ______ size and______ between clipping window and viewport

A. equal , position
B. non-equal, position
C. relative, position
D. un-equal , position
Answer» D. un-equal , position
23.

Maintain ______ size and position between clipping window and viewport in viewing transformation.

A. equal
B. relative
C. non_relative
D. non-equal
Answer» C. non_relative
24.

As the window increases in size, the image in the viewport_______ in size in viewing transformation

A. increases
B. doubles
C. decreases
D. remains the same
Answer» D. remains the same
25.

The process of going from a window in world coordinates to a viewport in screen coordinates

A. windowing
B. viewing transformation
C. window transformation
D. none
Answer» C. window transformation
26.

The space within the image is displayed

A. modelling coordinate system
B. world coordinate system
C. screen coordinate system
D. none
Answer» D. none
27.

Representation of a set of objects, all measured in the same physical units.

A. modelling coordinate system
B. world coordinate system
C. screen coordinate system
D. none
Answer» C. screen coordinate system
28.

Representation of an object measured in some physical units

A. modelling coordinate system
B. world coordinate system
C. screen coordinate system
D. none
Answer» B. world coordinate system
29.

The clipping window is mapped into a

A. window
B. clipping window
C. world coordinates
D. viewport
Answer» E.
30.

The mapping of the window (modeling coordinates) to viewport (device coordinates) is a 2D

A. windowing
B. viewing transformation
C. window transformation
D. none
Answer» C. window transformation
31.

Scaling factor Sy in Viewing transformation is given by ____

A. (yvmax-yvmin)/(ywmax-ywmin)
B. (ywmax-ywmin)/(yvmax-yvmin)
C. (yvmin-xvmax)/(ywmax-xwmin)
D. (xvmin-xvmax)/(ywmin-ywmax)
Answer» B. (ywmax-ywmin)/(yvmax-yvmin)
32.

Scaling factor Sx in Viewing transformation is given by ____

A. (xvmax-xvmin)/(xwmax-xwmin)
B. (xwmax-xwmin)/(xvmax-xvmin)
C. (xvmin-xvmax)/(xwmax-xwmin)
D. (xvmin-xvmax)/(xwmin-xwmax)
Answer» B. (xwmax-xwmin)/(xvmax-xvmin)
33.

In one of the polygon representation ,Polygons are formed by two _____and two _____

A. scan lines & vertical lines
B. scan lines & line segments
C. vertical lines & line segments
D. horizontal lines & scan lines
Answer» C. vertical lines & line segments
34.

The devices which support polygons drawing primitive directly as Polygon shape, save the polygon as a ____

A. unit
B. drawing
C. rectangle
D. square
Answer» B. drawing
35.

Operation code _____ is used to draw a polygon

A. 3 or greater
B. 3 or lesser
C. 2 or greater
D. n or lesser
Answer» B. 3 or lesser
36.

Polygon can be drawn as series of ______

A. triangles
B. rectangles
C. squares
D. trapizoids
Answer» E.
37.

For Graphics devices who do not support polygon as a whole _____ approach is used to draw polygon

A. trapizoid
B. lines and points
C. rectangle
D. lines and circles
Answer» C. rectangle
38.

One of the representation of Polygon is using

A. rectangle primitive
B. trapizoid primitive
C. circle primitive
D. square primitive
Answer» C. circle primitive
39.

A convex polygon is a polygon such that for any two points ____ the polygon, all points on the line segment connecting them are also ____ the Polygon

A. inside, outside
B. outside, outside
C. outside, outside
D. inside, inside
Answer» E.
40.

A ______ polygon is a polygon such that for any two points inside the polygon, all points on the line segment connecting them are also inside the Polygon

A. concave
B. convex
C. complex
D. linear
Answer» C. complex
41.

A convex polygon is a polygon such that for any two points inside the polygon, all points on the line segment connecting them are __________the Polygon

A. also inside
B. outside
C. also partially inside
D. partially outside
Answer» B. outside
42.

A concave polygon is one which is not ___

A. non-linear
B. linear
C. convex
D. none
Answer» D. none
43.

A region S is ____, if for atleast 2 points x1 and x2 in S, the straight line segment connecting x1 and x2 is not contained entirely in S.

A. concave
B. convex
C. linear
D. polygon with hole
Answer» B. convex
44.

Polygons are formed by two ____ lines and two Line segments in polygon representation using trapizoid primitive.

A. vertical
B. segmented
C. scan
D. horizontal lines
Answer» C. scan
45.

Polygons are formed by two scan lines and two _____ in polygon representation using trapizoid primitive.

A. vertical lines
B. line segments
C. scan lines
D. horizontal lines
Answer» C. scan lines
46.

An M shaped closed figure is an example of ____ Polygon

A. convex
B. concave
C. complex
D. linear
Answer» C. complex
47.

Square is an example of ____ Polygon

A. convex
B. concave
C. complex
D. linear
Answer» B. concave
48.

Right angled Triangle is an example of ____ Polygon

A. concave
B. convex
C. complex
D. linear
Answer» C. complex
49.

___________ is not a Type of polygon

A. concave
B. convex
C. linear
D. complex
Answer» D. complex
50.

__________ is represented as a number of line segments connected end to end to form a closed figure.

A. circle
B. line
C. polygon
D. point
Answer» D. point