0% found this document useful (0 votes)
18 views

Quiz, Surprise N Assignment Question

Suprise

Uploaded by

tusarkant2005
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Quiz, Surprise N Assignment Question

Suprise

Uploaded by

tusarkant2005
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

School of Computing

Quiz test &Surprise test

1.Types of Computer Graphics are

I. Vector and raster


II. Scalar and raster
III. Vector and scalar
IV. None of these

2. On raster system, lines are plotted with

I. Lines
II. Dots
III. Pixels
IV. None of the mentioned

3. If the boundary is specified in a single color, and if the algorithm proceeds pixel by pixel
until the boundary color is encountered is called

I. Scan-line fill algorithm


II. Boundary-fill algorithm
III. Flood-fill algorithm
IV. Parallel curve algorithm

4.Positive values for the rotation angle theta(θ) defines

I. Counter-clockwise rotations about the end points


II. Counter-clockwise translation about the pivot point
III. Counter-clockwise rotations about the pivot point
IV. Negative direction

5.General pivot point rotation can be expressed as


a)R(xr,yr,θ)=T(zr,yr).R(θ).T(-zr,-yr)
b)R(xr,yr,θ)=T(xr,yr).R(θ).T(-xr,-yr)
c)R(zr,yr,θ)=T(xr,yr).R(θ).T(-xr,-yr)
d) R(xr,yr,Q)= T(xr,yr).R(θ).T(-xr,-yr)
Surprise Test

1. What are the different polygon filling algorithms.


2. Define “Concave Polygon”.
3. Write the region codes used in Cohen-Sutherland line clipping algorithm.
4. If the seed given in 4-connected boundary fill algorithm is (x,y), write the co-ordinates of
its neighboring pixels.
5. Write the matrix for reflection against x – axis.

Assignment Test

1. Given the centre point coordinates (10, 10) and radius as 10, generate all the points to form
a circle.
2. Given a triangle with coordinate points A(3, 4), B(6, 4), C(5, 6). Apply the reflection on the Y
axis and obtain the new coordinates of the object.

You might also like