Quiznetik

Computer Graphics | Set 2

1. An M shaped closed figure is an example of ____ Polygon

Correct : B. concave

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

Correct : B. line segments

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

Correct : B. segmented

4. 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.

Correct : A. concave

5. A concave polygon is one which is not ___

Correct : C. convex

6. 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

Correct : A. also inside

7. 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

Correct : B. convex

8. 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

Correct : D. inside, inside

9. One of the representation of Polygon is using

Correct : B. trapizoid primitive

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

Correct : B. lines and points

11. Polygon can be drawn as series of ______

Correct : D. trapizoids

12. Operation code _____ is used to draw a polygon

Correct : A. 3 or greater

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

Correct : A. unit

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

Correct : B. scan lines & line segments

15. Scaling factor Sx in Viewing transformation is given by ____

Correct : A. (xvmax-xvmin)/(xwmax-xwmin)

16. Scaling factor Sy in Viewing transformation is given by ____

Correct : A. (yvmax-yvmin)/(ywmax-ywmin)

17. Scaling factor Sx in Viewing transformation is given by ____

Correct : C. viewport x extent / window x extent

18. Scaling factor Sy in Viewing transformation is given by ____

Correct : B. viewport y extent / window y extent

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

Correct : B. viewing transformation

20. The clipping window is mapped into a

Correct : D. viewport

21. Representation of an object measured in some physical units

Correct : A. modelling coordinate system

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

Correct : B. world coordinate system

23. The space within the image is displayed

Correct : C. screen coordinate system

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

Correct : B. viewing transformation

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

Correct : C. decreases

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

Correct : B. relative

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

Correct : C. relative, position

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

Correct : C. position

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

Correct : B. size

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

Correct : A. viewport

31. 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=

Correct : B. xvmin +( xw-xwmin )sx

32. 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=

Correct : B. yvmin +( yw-ywmin )sy

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

Correct : C. scaling

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

Correct : A. window, viewport

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

Correct : B. translate

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

Correct : A. generalised

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

Correct : C. generalised

38. Generalised clipping algorithm deals with clipping against _____ line.

Correct : C. arbitrary

39. Generalised clipping algorithm deals with clipping against _____ line.

Correct : C. arbitrary

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

Correct : 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’

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

Correct : A. 1 2 3 4 6 7 8 9 10 11 and 1’ 2 3 4 6 7 8 9 10 11 11’

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

Correct : 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)

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

Correct : 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

44. What will be clipped polygon vertices?

Correct : C. both a and b

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

Correct : 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’

46. 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?

Correct : C. completely exterior

47. 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?

Correct : A. visible

48. 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)?

Correct : A. 10

49. 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)?

Correct : D. 10

50. Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). A line has end coordinates as (5,50) and (75,90). What will be the outcodes associated with line segment?

Correct : B. 0001, 0000

51. Following are coordinates of clipping window : Lower Left Corner (10,10) and Upper Right Corner (1,1). A line has end coordinates as (50,5) and (150,50). What will be the outcodes associated with line segment?

Correct : A. 01 , 0010

52. Following are coordinates of clipping window : Lower Left Corner (10,10) and Upper Right Corner (1,1). A line has end coordinates as (50,5) and (150,50). The given line segment is ___________. Use Cohen – Sutherland Outcode Algorithm.

Correct : B. partially visible

53. Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). A line has end coordinates as (5,50) and (75,90). The given line segment is ___________. Use Cohen – Sutherland Outcode Algorithm.

Correct : B. partially visible

54. Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). A line has end coordinates as (25,50) and (175,190). The given line segment is ___________. Use Cohen – Sutherland Outcode Algorithm.

Correct : A. completely visible

55. A clipping window has coordinates as A(50,10), B(80,10), C(80,40), D(50,40). A line segment has end coordinates (40,15) and (75,45). What will be the end points of clipped line? Use Cohen – Sutherland Outcode Algorithm.

Correct : B. (50,23.67) and (69.06, 40)

56. A clipping window has coordinates as A (50, 10), B (80, 10), C (80, 40), D (50, 40). A line segment has end coordinates (70, 20) and (1, 10). What will be the end points of clipped line? Use Cohen – Sutherland Outcode Algorithm.

Correct : C. (80, 16.66) and (70, 20)

57. Clip a line starting from (-13, 5) and ending at (17, 11) against the window having lower left corner at (-8, -4) and upper right corner at ( 12,8). What will be the end points of clipped line? Use Cohen – Sutherland Outcode Algorithm.

Correct : A. (-8,6) and (2,8)

58. Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). A line has end coordinates as (5,50) and (15,150). The given line segment is ___________. Use Cohen – Sutherland Outcode Algorithm.

Correct : C. completely invisible

59. Following are coordinates of clipping window : Lower Left Corner (20,20) and Upper Right Corner (200,200). A line has end coordinates as (0,10) and (250,15). The given line segment is ___________. Use Cohen – Sutherland Outcode Algorithm.

Correct : C. completely invisible

60. A rectangular clipping window whose lower left corner is at (-3,1) and upper right corner is at (2,6). If line segment has end coordinates (-4,2) and (-1,7). What will the end coordinates of clipped line (use Cohen – Sutherland Outcode Algorithm)

Correct : A. (-3, 11/3) and (-8/5, 6)

61. In normalization transformation for window to viewport, window is lower left corner (1,1) and upper right corner at (3,5) to a view point with lower left corner at (0,0) and upper right corner at(1/2,1/2) .Scaling factor Sx =

Correct : A. 0.25

62. In normalization transformation for window to viewport, window is lower left corner (1,1) and upper right corner at (3,5) to a view point with lower left corner at (0,0) and upper right corner at(1/2,1/2) .Scaling factor Sy =

Correct : B. 0.125

63. In normalization transformation for window to viewport, window is lower left corner (1,1) and upper right corner at (3,5) to a view point with lower left corner at (0,0) and upper right corner at(1/2,1/2) .Scaling factors Sx =___ & Sy =___

Correct : A. 0.25 & 0.125

64. In normalization transformation for window to viewport, window is lower left corner (2,2) and upper right corner at (6,10) to a view point with lower left corner at (0,0) and upper right corner at(1, 1) .Scaling factor Sx =___

Correct : A. 0.25

65. In normalization transformation for window to viewport, window is lower left corner (2,2) and upper right corner at (6,10) to a view point with lower left corner at (0,0) and upper right corner at(1, 1) .Scaling factor Sy=___

Correct : B. 0.125

66. In normalization transformation for window to viewport, window is lower left corner (2,2) and upper right corner at (6,10) to a view point with lower left corner at (0,0) and upper right corner at(1, 1) .Scaling factors Sx =___ & Sy= ___

Correct : B. 0.25 & 0.125

67. In viewing from a window in world coordinates with x extent 3 to 12 & y extent 2 to 10 onto a viewport with x extent ¼ to 3/4and y extent 0 to ½ in normalized device space .Scaling factors Sx=

Correct : A. (1/18)

68. In viewing from a window in world coordinates with x extent 3 to 12 & y extent 2 to 10 onto a viewport with x extent ¼ to 3/4and y extent 0 to ½ in normalized device space .Scaling factor Sy=

Correct : B. (1/16)

69. In viewing from a window in world coordinates with x extent 3 to 12 & y extent 2 to 10 onto a viewport with x extent ¼ to 3/4and y extent 0 to ½ in normalized device space .Scaling factor Sx= & Sy = ___

Correct : D. 1/18 & 1/16

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

Correct : 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)

71. In 4 connected region if one pixel is (x,y) then remaining neighboring pixels are

Correct : D. (x+1, y ) (x-1,y) (x,y+1) (x,y-1)

72. ‘Scan-line coherence ‘ means

Correct : A. if a pixel on a scan line lies within a polygon, pixels near it will most likely lie within the polygon

73. The function of scan line polygon fill algorithm are

Correct : A. find intersection point of the boundary of polygon and scan line

74. In scan line algorithm, using Edge coherence property the next incremental x-intersection(xs+1) can be calculated as: ------------Note: Xs is the previous x-intersection.

Correct : C. xs+1= xs + 1/m

75. In scan line algorithm, Let an edge is represented by Formula y = mx + b and for scan_line s value of y = s. What will be the Xs ? Note : Scan line is intersecting with edge at (s,Xs)

Correct : C. xs = (s-b)/m

76. In winding number method if net winding is --------then point is outside otherwise it is inside.

Correct : D. zero

77. In winding number method if net winding is zero then point is ---------- otherwise it is inside.

Correct : A. outside

78. In winding number method if net winding is non-zero then point is --------.

Correct : B. inside

79. what will be the intersection points for current scan line as shown in figure using scan line polygon filling algorithm

Correct : A. (p0,p1,p2,p3)

80. What will be the intersection points for current scan line as shown in figure using scan line polygon filling algorithm.

Correct : D. (p0,p1,p1,p2)

81. In 4 connected region if one pixel is (2,3) then remaining neighboring pixels are

Correct : D. (3, 3 ) (1,3) (2,4) (2,2)

82. In 8 connected region if one pixel is (3,2) then remaining neighboring pixels are

Correct : A. (2, 2 ) (4,2) (3,3) (3,1) (4,3) (4,1) (2,3) (2, 1)

83. In 8 connected region if one pixel is (2,3) then remaining neighboring pixels are

Correct : A. (1, 3 ) (3,3) (2,4) (2,2) (3,4) (3,2) (1,4) (1, 2)

84. If one edge of the polygon has end coordinates (10,20) and (15,40) and current scan line is scanning at y=25. What will be the intersection point?

Correct : A. (11.2,25)

85. In 8 connected region if one pixel is (5,3) then remaining neighboring pixels are

Correct : A. (6, 3 ) (4,3) (5,4) (5,2) (6,4) (6,2) (4,4) (4, 2)

86. In 8 connected region if one pixel is (5,5) then remaining neighboring pixels are

Correct : D. (6, 5 ) (4,3) (5,6) (5,4) (6,6) (6,4) (4,6) (4, 4)

87. In 4 connected region if one pixel is (3,3) then remaining neighboring pixels are

Correct : D. (4, 3 ) (2,3) (3,4) (3,2)

88. In 4 connected region if one pixel is (5,5) then remaining neighboring pixels are

Correct : D. (6, 5 ) (4,5) (5,4) (5,6)

89. In scan line polygon filling algorithm for current scan line the x-intersections got are 20,10,50,30. How pairing will be formed?

Correct : A. (10,20)and (30,50)

90. In scan line polygon filling algorithm for current scan line the x-intersections obtained are 20,10,50,30. How these x-intersections are stored in intersection array?

Correct : A. (10,20,30,50)

91. One edge of the polygon has coordinates (10,20) and (15,40). In scan line polygon filling at the ith step x-value of the intersection point of the scan line ‘i’ and above mentioned edge is 12. What will be the x-value of the intersection point of the scan line in i+1 th step?

Correct : A. 12.2

92. One edge of the polygon has coordinates (10,20) and (15,40). In scan line polygon filling at the ith step x-value of the intersection point of the scan line ‘i’ and above mentioned edge is 14. What will be the x-value of the intersection point of the scan line in i+1 th step?

Correct : D. 14.2

93. In winding number method , constructed horizontal line between point Q and point P intersects two edges of the polygon with winding no. +1 and -1. Tell whether point Q is inside or outside and what is the net winding ? Note : Q is the point to be tested for inside test.P is point outside the polygon.

Correct : A. outside , zero

94. In winding number method , constructed horizontal line between point Q and point P intersects edge of the polygon with winding no. +1 . Tell whether point Q is inside or outside and what is the net winding ? Note : Q is the point to be tested for inside test. P is point outside the polygon.

Correct : D. inside , nonzero

95. ___________ is basic change in shape & size of object.

Correct : A. transformation

96. . Transformation is ___________ in nature.

Correct : B. rigid

97. There are ________________ basic transformations.

Correct : C. 3

98. There are total __________ types of transformations

Correct : C. 5

99. __________ is a process of changing position of an object in a straight line path.

Correct : A. translation

100. Translation distance pair is also called as ____________________.

Correct : D. shift vector