You are on page 1of 2

Birla Institute of Technology & Science, Pilani

Work Integrated Learning Programmes Division


M.S. Software Engineering at Wipro Technologies (WASE)
First Semester 2014 – 2015 (October 2014 to March 2015)
Mid-Semester Test (Regular)

Course Number : SEWP ZC472


Course Title : COMPUTER GRAPHICS
Type of Exam : Closed Book
Weightage : 30 % No. of Pages : 1
No. of Questions : 6
Duration : 90 minutes
Date of Exam : 21st December 2014 Session: FN

Note:
1. Please read and follow all the instructions given on the cover page of the answer script.
2. Start each answer from a fresh page. All parts of a question should be answered consecutively.
Section – A ( 6 x 5 = 30 marks)

1. Computer graphics has enhanced the quality of work in many areas. Support this statement
through a brief discussion on areas of application of computer graphics. Specify at least one
specific application in each area of application.

2. Consider a line with end points A (5, 8) and B(9, 11) whose slope m is 0<-m<1. Plot/Scan
convert the intermediate pixel positions of line AB, using Midpoint Line drawing technique
by showing all the deviations for the decision parameters, to scan convert a line.

3. As a part of graphic design application, you have to find the coordinate values of the triangle
A(10, 5), B(25, 10), C(10, 20) after rotating it by 90 degrees. The specific task is to find the
coordinate values of this triangle after rotation, keeping A(10, 5) fixed.

4. As a part of a machine design work, your team lead has assigned you the task of drawing a
white rectangle on a black background. Write an OpenGL program to develop this
application.

5. Let P(x,y) be a point inside a window. Find a normalization transformation matrix to


represent the point P(x,y) on a Viewport or on a normalized device screen so that aspect
ratios of window and viewport are preserved.

6. Briefly describe following OpenGL functions and under what circumstance you will use
them in developing an application.

a. glutInit() b. GL_LINE_STRIP()
c. gluInitDisplayMode() d. glOrtho()
e. glFlush()

************************************

You might also like