B.Sc. Computer Science V (Fifth) Semester Examination 2014-15

Course Code: CSC502 Paper ID: 0835102

Computer Graphics

Time: 3 Hours Max. Marks: 70 Max Marks: 75

Note: Attempt six questions in all. Q. No. 1 is compulsory.

1. Answer any five of the following (limit your answer in 50 words). (4x5=20)

a) Describe the role of pixel & frame buffer in computer graphics.

b) Write short note on the following:

i) Random scan and Raster scan display

ii) LED and LCD

c) Define Aspect ratio. Find out the aspect ratio of the raster system using 8X10 inches screen & 100 pixel per inch.

d) Prove that two scaling transformations are commute ie. S1*S2=S2*S1.

e) Explain the term “window” and “viewport”.

f) Derive perspective projection transformation matrix.

g) Write short notes on the following:

i) 3-D transformation

ii) 3-D clipping

h) What do you mean by Interactive & non interactive computer graphics?

2. Explain Sutherland Hodgeman polygon clipping algorithm with suitable example. (10)

3. Describe Cohen Sutherland line clipping algorithm and use the algorithm to clip a line P1 (70, 20) and P2 (100,10) against a window having lower left corner (50,10) and upper right corner (80,40). (10)

4. Write the properties of B Spline curves. Also write advantages of B Spline curve over Beizer curve. (10)

5. What do you understand by the term back face removal? Explain a back face removal algorithm, you find convenient to implement. Justify your answer. (10)

6. Write Bresenham’s algorithm of line and plot the line using bresenham’s algorithm having end points (-3, 0) and (4, 4). (10)

7. Write mid-point circle algorithm and predict the pixels in any octant of circle for radius=10 pixels with its centre at origin. (10)

8. Define the following terms: (2x5=10)

a) Vanishing point

b) Composite transformation

c) Specular reflection

d) Diffuse Illumination

e) Text Clipping