Computer-Graphics (Set 1)
Computer-Graphics (Set 1)
1 of 7 sets
q M
Answer:B
c
3. In an inside test if numberM
of intersections is odd then point is ---------------- of
the polygon. Note : intersection point is not a vertex
A. inside
B. outside
C. color
D. can\t say
Answer:A
4. In an inside test if intersections point is a vertex and edges meeting at that vertex
lies on same side of constructed horizontal line then the number of intersections
are considered as ----------. Note : intersection point is a vertex
A. even number
B. odd number
C. infinite number
D. can\t say
Answer:A
5. In an inside test if intersections point is a vertex and edges meeting at that vertex
lies on ------------- side of constructed horizontal line then the number of
intersections are considered as even number . Note : intersection point is a vertex
A. same
B. opposite
C. on the
D. none of the above
Answer:A
7. The 8-Fill Polygon technique will correctly fill the triangle shown below when
seeded at the position shown with an X.
A. true
B. false
Answer:B
10. The total of the winding no. in winding number method of inside test is called
as
A. winding.
B. collective winding.
C. net winding.
D. summation winding.
Answer:C
11. Winding number method always gives correct answer for overlapping polygons
A. true
B. false
Answer:B
13. Even-odd method of inside test counts ----- to decide the position of a point.
A. edges
B. vertices
C. intersections
D. pixels
Answer:C
16. In winding number method an edge can have winding number as -----
A. zero
B. +1 or -1
C. only +1
D. only -1
Answer:B
17. If the pixel is already filled with desired color then does nothing, otherwise fills
it. This is called
A. flood fill algorithm
B. boundary fill algorithm
C. scan line polygon filling algorithm
D. none of these
Answer:B
18. The algorithm used for filling the interior of a polygon is called
A. flood fill algorithm
B. boundary fill algorithm
C. scan line polygon fill algorithm
D. none of these
Answer:A
28. Boundary fill algorithm uses -------- call to the fill function.
A. recursive
B. static
C. one
D. none of these
Answer:A
31. Which polygon fill algorithm needs following information - 1. Region Color
(RC), 2. Fill Color (FC) and 3. (x,y) coordinates of seed point.
A. flood fill
B. region fill
C. scan fill
D. dda fill
Answer:A
32. Horizontal lines are not considered in scan line fill algorithm.
A. true
B. false
Answer:A
33. Scan line fill algorithm is more efficient than flood fill algorithm.
A. true
B. false
Answer:A
36. The edge table contains pointers back to the ______________ to identify
vertices for each polygon edge.
A. vertex table.
B. polygon table.
C. edge table.
D. expanded vertex table.
Answer:A
41. Which of the following algorithms to fill polygons was the one used by real
rasterizers?
A. flood-fill polygons
B. scan-line polygon
C. boundary fill polygons
D. none of above
Answer:B
43. Scan line polygon filling algorithm uses series of ……………. To fill the
polygon.
A. scan lines
B. points
C. layers
D. none of above
Answer:A
44. In scan line algorithm, Scan lines are processed in increasing (upward) /
decreasing (downward) --------------------------.
A. y order
B. x order
C. pixel order
D. color order
Answer:A
46. The edges crossed by current scan line in Scan line polygon fill algorithm are
called as
A. active edges
B. inactive edges
C. marked edges
D. none of these
Answer:A
48. Following are the data structures used in Scan line algorithm to increase the
efficiency.
A. active edge list
B. active edge table
C. both a and b
D. neither a or b
Answer:C
50. Scan line polygon filling algorithm can be used for filling Convex polygon.
A. true
B. false
C. cant say
D. none of these
Answer:A
52. Which one is not valid out code to perform trivial accept / reject test in line
clipping
A. 1101
B. 11
C. 101
D. 10
Answer:A
54. If the x coordinate boundaries of the clipping rectangle are Xmin and Xmax,
and the y coordinate boundaries are Ymin and Ymax, then ___________ must be
satisfied for a point at (X,Y) to be inside the clipping rectangle
55. determine whether points (P1, P2 and P3) are clipped away or visible after
clipping by applying the rules
A. p1:clipped away, p2: clipped away, p3:clipped away
B. p1: visible, p2:visible, p3:clipped away
C. p1: visible, p2:visible, p3: visible
D. p1: clipped away, p2:visible, p3:clipped away
Answer:D
56. Outcode / Region Code used in Line Clipping is of size ____ bits.
A. 4
B. 3
C. 2
D. 1
Answer:A
57. In Line Clipping algorithm, the two dimensional space is divided into ___
regions.
A. 6
B. 7
C. 9
D. 10
Answer:C
58. Is 0011 valid region code / outcode used in Line Clipping algorithm?
A. yes
B. no
C. cannot say
D. none of these
Answer:B
61. In ________ operation eliminates objects or portions of objects that are not
visible through the window to ensure the proper construction of corresponding
image
A. clipping
B. windowing
C. viewing
D. transformation
Answer:A
64. Following are coordinates of clipping window : Lower Left Corner (20,20) and
Upper Right Corner (200,200). What is the outcode of point (150,50)?
A. 110
B. 1
C. 0
D. 10
Answer:C
65. The selection and separation of a part of text or image for further operation are
called
A. translation
B. shearing
C. reflection
D. clipping
Answer:D
68. The rectangle space in which the world definition of region is displayed are
called
A. screen coordinate system
69. ............. identifies the picture portions that are exterior to the clip window
A. interior clipping
B. exterior clipping
C. extraction
D. none of these
Answer:B
72. The region code of a point is 11. The point is in the ................. region of window.
A. top left
B. top right
C. bottom left
D. bottom right
Answer:A
73. The result of logical AND operation with endpoint region codes is a nonzero
value. Which of the following statement is true?
74. The left (L bit ) bit of the region code of a point (X,Y) is '1' if ......................
A. x > xwmin
B. x< xwmin
C. x< xwmax
D. x>xwmax
Answer:B
75. The right bit (R bit)of the region code of a point (X,Y) is '1' if ......................
A. x > xwmin
B. x< xwmin
C. x< xwmax
D. x>xwmax
Answer:D
76. The Most Significant Bit of the region code of a point (X,Y) is '1' if
......................
A. y >ywmin
B. y< ywmin
C. y< ywmax
D. y>ywmax
Answer:D
77. The bottom bit of the region code of a point is '0' if .......................
A. y >ywmin
B. y< ywmin
C. y< ywmax
D. y>ywmax
Answer:D
81. In a clipping algorithm of Cohen & Sutherland using region codes, a line is
already clipped if the ?
A. codes of the end point are same
B. logical or of the end points code is 0000
C. logical and of the end point code is 0000
D. only a
Answer:D
83. Which polygon clipping algorithm executed by clipping all polygon edges
against the viewing screen edges one viewing screen edge at a time?
A. cohen-sutherland
B. sutherland hodgman
C. both a and b
D. neither a or b
Answer:B
90. _______ is a ordered list of vertices where each vertex connected with the next
in the list.
A. line
B. polygon
C. parabola
D. none of the above
Answer:B
95. A region S is ____ , iff for any x1 and x2 in S, the straight line segment
connecting x1 and x2 is also contained in S.
A. concave
B. convex
C. self-intersecting
D. polygon with hole
Answer:B