WorksheetsCG Test unit 2
Total questions: 97
Worksheet time: 49mins
Name
Class
Date
1.
If the pixel is already filled with desired color then leaves it otherwise fills it. this is called
a)
Flood fill algorithm
b)
Boundary fill algorithm
c)
c.Scan line polygon filling algorithm
d)
d. None of these
2.
The function of scan line polygon fill algorithm are
a)
Find intersection point of the boundary of polygon and scan line
b)
Find intersection point of the boundary of polygon and point
c)
.Both a & b
d)
none of these
3.
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
4.
Phosphorus are of various types depending on
a)
color
b)
persistence
c)
both a and b
d)
none of these
5.
Bresanham circle algorithm uses the approach of
a)
midpoint
b)
point
c)
line
d)
none of these
6.
a chain of connected line segments is called a
a)
polyline
b)
polysegment
c)
polychain
d)
polygon
7.
The basic approach to represent polygon is ______.
a)
polygon drawing primitive approach
b)
trapezid primitive approach
c)
line and point approach
d)
all of these
8.
scan line algorithm for filling polygon is _______algo
a)
recursive
b)
non-recursive
c)
both a and b
d)
none of these
9.
the getpixel function gives the __________of specified pixel
a)
intensity
b)
color
c)
size
d)
shape
10.
Polygon filling algorithms those fill boundary defined regions are called _____algorithms.
a)
Flood fill algorithm
b)
Boundary fill algorithm
c)
edge fill algorithm
d)
both a and b
11.
_______ is a method for testing a pixel inside of a polygon
a)
even-odd method
b)
winding number method
c)
both a and b
d)
none of these
12.
How many types of polygon filling
a)
1
b)
2
c)
3
d)
4
13.
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
14.
The function of scan line polygon fill algorithm are
a)
Find intersection point of the boundary of polygon and scan line
b)
Find intersection point of the boundary of polygon and point
c)
both a and b
d)
none of these
15.
The process of coloring the area of a polygon is called
a)
Polygon filling
b)
Polygon flow
c)
aliasing
d)
none of these
16.
. A technique by which the vertical and /or horizontal scan frequency of video signal can be changed for different purpose and applications is called
a)
Scan conversion
b)
Polygon filling
c)
2 D Graphics
d)
none of these
17.
The putpixel function draws the pixel with specified _______.
a)
intensity
b)
color
c)
size
d)
shape
18.
Seed line algorithm for filing polygon is ______ algo
a)
recursive
b)
non-recursive
c)
both a and b
d)
none of these
19.
a polygon in which the line segment joining any two points within the polygon may not lie completely inside the polygon is called______ polygon.
a)
convex
b)
concave
c)
closed
d)
complete
20.
a polygon in which the line segment joining any two points within the polygon lies completely inside the polygon is called______ polygon.
a)
convex
b)
concave
c)
closed
d)
complete
21.
In a boundary fill algo for filling polygon, boundary defined regions may be either _____connected or _____connected.
a)
2,4
b)
4,8
c)
8,16
d)
8,6
22.
. A translation is applied to an object by
a)
Repositioning it along with straight line path
b)
Repositioning it along with circular path
c)
both a and b
d)
none of these
23.
. We translate a two-dimensional point by adding
a)
Translation distances
b)
Translation differences
c)
both a and b
d)
none of these
24.
To generate a rotation , we must specify
a)
rotation angle theta
b)
distance dx and dy.
c)
rotation distance
d)
all of these
25.
In translation process, the translation distance pair (tx,ty) is called a______
a)
translation vector
b)
shift vector
c)
distance parameter
d)
both a and b
26.
if a polygon with coordinates A(2,5), B(7,10) and C(10,2) is translated 3 units in x direction and 4 units in y direction,then the resultant coordinates of a polygon are_____.
a)
A'(5,9) ,B'(10,14),C'(13,6)
b)
A'(2,5) ,B'(7,10),C'(10,2)
c)
A'(9,5) ,B'(14,10),C'(6,13)
d)
A'(-1,1) ,B'(4,6),C'(7,-2)
27.
The translation distances (dx, dy) is called as
a)
translation vector
b)
shift vector
c)
both a and b
d)
none of these
28.
. _________ is a rigid body transformation that moves objects without deformation.
a)
rotation
b)
Scaling
c)
Translation
d)
all of these
29.
A straight line segment is translated by applying the transformation equation
a)
P’=P+T
b)
Dx and Dy
c)
P’=P+P
d)
all of these
30.
. Polygons are translated by adding __________ to the coordinate position of each vertex and the current attribute setting.
a)
Straight line path
b)
Translation vector
c)
Differences
d)
all of these
31.
. To change the position of a circle or ellipse we translate
a)
Center coordinates
b)
Center coordinates and redraw the figure in new location
c)
Outline coordinates
d)
all of these
32.
The basic geometric transformations are
a)
Translation
b)
Scaling
c)
rotation
d)
all of these
33.
. The transformation in which an object can be shifted to any coordinate position in three dimensional plane are called
a)
Translation
b)
Scaling
c)
rotation
d)
all of these
34.
The transformation in which an object can be rotated about origin as well as any arbitrary pivot point are called
a)
Translation
b)
Scaling
c)
rotation
d)
all of these
35.
. The transformation in which the size of an object can be modified in x-direction ,y-direction and z-direction
a)
Translation
b)
Scaling
c)
rotation
d)
all of these
36.
Apart from the basic transformation ,________are also used
a)
Shearing
b)
reflection
c)
both a and b
d)
none of these
37.
. In which transformation ,the shape of an object can be modified in any of direction depending upon the value assigned to them
a)
Shearing
b)
reflection
c)
scaling
d)
none of these
38.
. In which transformation ,the mirror image of an object can be seen with respect to x-axis, y-axis ,z-axis as well as with respect to an arbitrary line
a)
Shearing
b)
reflection
c)
scaling
d)
none of these
39.
________refers to the result obtained by multiplying the matrix of the individual transformation representation sequences
a)
. Wire frame model
b)
Constructive solid geometry methods
c)
Composite transformation
d)
none of these
40.
If scaling factors are Sx=3 and Sy=2, then the transformation matrix for scaling is _______.
a)
|3 0| |0 2|
b)
|2 0| |0 3|
c)
|3 0| |2 0|
d)
none of these
41.
The equation of scaling transformation will be
a)
X1=x+Tx,y1=y+Ty,z1=z+Tz
b)
X1=x.sx,y1=y.sy,z1=z.sz
c)
both a and b
d)
none of these
42.
. The equation of translation transformation will be
a)
X1=x+Tx,y1=y+Ty,z1=z+Tz
b)
X1=x.sx,y1=y.sy,z1=z.sz
c)
both a and b
d)
none of these
43.
. ______is one of the function that is used to specify a single plane surface
a)
Meta-ball model
b)
. Fill area
c)
reflection
d)
none of these
44.
If the coordinates of a vertex of a polygon are (x,y)and scaling factors are Sx and Sy then after scaling tansformations, the transformed coordinaes become x'=_____ and y'=______.
a)
x+Sx, y+Sy
b)
X.Sx, Y.Sy
c)
X/Sx, Y/Sy
d)
Sx/X, Sy/y
45.
In 2D-translation, a point (x, y) can move to the new position (x’, y’) by using the equation
a)
x’=x+dx and y’=y+dx
b)
x’=x+dx and y’=y+dy
c)
X’=x+dy and Y’=y+dx
d)
X’=x-dx and y’=y-dy
46.
A________ is a transformation that produces a mirror image of an object.
a)
Shearing
b)
reflection
c)
scaling
d)
none of these
47.
The scaling transformation alters the size of an_________.
a)
vector
b)
edge
c)
side
d)
object
48.
The translation vector also called as _______ vector.
a)
shear
b)
geometric
c)
shift
d)
object
49.
A matrix with a single row or a single column represents a__________.
a)
vector
b)
square
c)
row vector
d)
column vecto
50.
Translation is a _________ transformation that moves objects without deformation.
a)
Rigid body
b)
polygon
c)
text
d)
line
51.
The two-dimensional viewing transformation is simply referred to as the window-to-viewport transformation or the____________.
a)
viewing pipeline.
b)
transformation.
c)
windowing transformation.
d)
world coordinate
52.
The rotation point is also called as _______ point.
a)
pivot
b)
axis
c)
frame
d)
shear
53.
Positive values for the rotation angle define _____ rotations about the pivot point.
a)
clockwise
b)
counter clockwise
c)
uniform scaling.
d)
uniform translation
54.
In rotation transformation, the _______ values rotate objects in the clockwise direction.
a)
positive
b)
negative
c)
scaled
d)
unsigned
55.
___________ procedure accepts the coordinates of an inter point.
a)
scan fill
b)
boundary fill
c)
poly fill
d)
area fill
56.
Changes in orientation, size and shape are accomplished with ________.
a)
geometric transformation
b)
antialiasing
c)
Translation
d)
transposition
57.
The location of the scaled object can be controlled by choosing a position called_________.
a)
vector position.
b)
scalar position
c)
variable point.
d)
fixed point
58.
___________________ is obtained by calculating the matrix product of individual transformations.
a)
Matrix transformation.
b)
finite transformation matrix
c)
Composite transformation matrix.
d)
infinte transformation matrix.
59.
Successive scaling operations are __________.
a)
additive
b)
multiplicative
c)
subtractive
d)
infinite
60.
______transformation changes the size of an object.
a)
Rotation
b)
Translation
c)
Scaling
d)
Reflection
61.
.________ function give the color of specified pixel.
a)
getpixel
b)
putpixel
c)
both a and b
d)
none of these
62.
Translation vectors tx and ty are also called as ______
a)
Translation vector
b)
shift vector
c)
none of these
63.
.[x’,y’] are called as____________
a)
Transform co-ordinates
b)
Translation vector
c)
shift vector
d)
Original co-ordinates
64.
The types of the transformation are
a)
Translation
b)
scaing
c)
Rotation
d)
all of the above
65.
____is a method of testing a pixel inside of a polygon
a)
even_odd method
b)
winding no method
c)
Both A&B
d)
none of these
66.
.Whats are the types of polygons________
a)
convex
b)
concave
c)
both a and b
d)
none of these
67.
The 2D transiation matrix is__________
a)
[x,y]
b)
[x’,y’]
c)
[tx,ty]
d)
[ty,tx]
68.
two 2D rotation about origin commute that R1R2-----
a)
R2R1
b)
R1R1
c)
R2R2
d)
R1R2
69.
The translation distance pair(tx,ty)is called as_______
a)
Transform co-ordinates
b)
Translatio vector
c)
Shift vector
d)
Both B&C
70.
The seed fill algorithm for filling polygon is classfiied as__________fill algorithm &_________fill algorithm
a)
Flood,boundary
b)
even,odd
c)
edge,flood
d)
boundary,scan
71.
Highlighting all the pixels which lie inside the polygon with any color other than background color is called ____________.
a)
Seed filling
b)
polygon filling
c)
Flood filling
d)
None
72.
To find the intersection points on the scan line with polygon boundry is important task in ____________algorithm.
a)
Scan line
b)
Flood fill
c)
both
d)
none
73.
Algorithm that fill interior defined regions are called _________ algorithm.
a)
Edge fill
b)
Boundry fill
c)
Polygon fill
d)
Flood fill
74.
The positive values for rotation angle define ________ rotation.
a)
Clockwise
b)
Anticlockwise
c)
Counterclockwise
d)
None
75.
A transformation that slants the shape of an object is called ___________ tansformation.
a)
Reflection
b)
Scaling
c)
Translation
d)
Shear
76.
.__________ transformation uses the matrix inverse of transformation matrix to get original point.
a)
inverse
b)
Reflection
c)
Translation
d)
Shear
77.
The translation is a process of changing the position of an object in a______________from one co-ordinate location to another
a)
Angular path
b)
change in the size of object
c)
straight line path
d)
none f these
78.
Translate a polygon with co-ordinates A(5,3)by 3units in x-direction & 4units in y-direction.
a)
[8,6]
b)
[6,8]
c)
[9,7]
d)
[10 ,14]
79.
A point(4,3)is rotated counter clockwise by an angle of 90.Find the rotation matrix R
a)
|0 1|
|-1 0|
b)
|1 0|
| 0 1|
c)
|0 -1|
|1 0|
d)
|0 1|
|1 1|
80.
The scaling matrix is
a)
|0 Sx|
|Sy 0|
b)
|Sx 0|
|Sy 0|
c)
|Sx 0|
|0 Sy|
d)
|0 -Sx|
|-Sy 0|
81.
shear transformation may be expressed in terms of --------and-----------
a)
rotation and scalling
b)
rotation twice
c)
Scalling thrice
d)
none of these
82.
.SQUARE a(1,0),b(0,0),c(0,1),d(1,1) rotate square by 45 deg anticlock direction followed by reflection about Xaxis
a)
(0.707,-0.707)
b)
(0,0),
c)
(-0.707,-0.707),
d)
(0,1.414)
83.
a 2D rotation rotation is applied to an object by repositioning it along ----------path in xy plane
a)
triangular
b)
circular
c)
straight
d)
none of these
84.
graphics system allow programmer to define picture that include a variety of ----------------
a)
translation
b)
transformations
c)
scaling
d)
rotation
85.
the rotation matrix for colckwise rotation by an angle of 90degree
a)
|0 -1|
|1 0|
b)
|1 0|
|0 1|
c)
|0 1|
|1 0|
d)
|0 1|
|1 1|
86.
The translation matrix for translation is
a)
|1 0 0|
|0 1 0|
|0 ty 1|
b)
|1 0 0|
|0 1 0|
|tx ty 1|
c)
|-1 0 0|
|0 1 0|
|-tx -ty 1|
d)
|1 0 0|
|tx ty 0|
|0 0 1|
87.
The transformayion matrix for reflection about y-axis is
a)
|1 0 0|
|0 -1 0|
|0 0 1|
b)
|0 -1 0|
|0 1 0|
|0 0 1|
c)
|0 1 0|
|1 0 0|
|0 0 1|
d)
|-1 0 0|
|0 1 0|
|0 0 1|
88.
The translation matrix for X-shear is given as
a)
|1 0 0|
|Shx 10|
|0 0 1|
b)
|1 Shx 0|
|0 1 0|
|0 0 1|
c)
|1 0 0|
|1 -Shx 0|
|0 0 1|
d)
|1 0 0|
|0 -1 0|
|0 0 Shx|
89.
3*3 identity matrix is given as
a)
|-1 0 0|
|0 -1 0|
|0 0 -1|
b)
|1 0 0|
|0 -1 0|
|0 0 1|
c)
|1 0 0|
|0 1 0|
|0 0 1|
d)
|0 0 1|
|0 1 0|
|1 0 0|
90.
To turn on a particular pixel on screen we have to use_______________command
a)
setpixel()
b)
getpixel()
c)
putpixel()
d)
turonpixel()
91.
One way to fill polygon is start from the point called as____________
a)
Seed
b)
boundry
c)
flood
d)
edge
92.
The boundry fill algorithm is also called as_______
a)
edge fill
b)
seed fill
c)
flood fill
d)
none of these
93.
The homogenous matrix for scaling
a)
|Sx 0 0|
|0 Sy 0|
|0 0 1|
b)
|0 0 Sx|
|0 Sy 0|
|1 0 0|
c)
|0 0 Sx|
|0 -Sy 0|
|0 0 0|
d)
|0 Sx 0|
|0 -1 0|
|Sy 0 0|
94.
A closed polychain is called a___________
a)
polychain
b)
polygon
c)
polyclosed
d)
closed chain
95.
Seed line algorithm for filing polygon is ______ algorithm
a)
recursive
b)
non-recursive
c)
both a and b
d)
none
96.
Transformation matrix for a reflection about a line Y=Xis equivalent to reflection to --------
a)
Xaxis followed by counterclockwise rotationof 90 deg
b)
Xaxis followed by counterclockwise rotation of 60 deg.
c)
Xaxis followed by counterclockwise rotation of 45 deg.
d)
Xaxis followed by counterclockwise rotation of 65 deg
97.
The rotation about origion can be done by how many shearing transformations
a)
3
b)
8
c)
6
d)
2
100 %
