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 2013 - 2014 (September 2013 to March 2014)
Mid-Semester Test (Regular)
Course Number
Course Title
Type of Exam

: SEWP ZC472
: Closed Book


: 30 %


: 90 minutes

Date of Exam
AM )

: Dec 08, 2013

No. of Pages : 2
No. of Questions : 15

Session : FN ( 9 to 10:30

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 1 = 6 marks)
1. DDA is --------.
(A) Direct Differential Analyzer
(C) Digital Differential Analyzer

(B) Discrete Differential Analyzer.

(D) Different Digital Analyzer .

2. The initial decision factor d in the midpoint circle algorithm is equal to

(A) (5/4) r
(B) (4/5) r
(C) (4/5) + r
(D) (5/4) + r
3. Which of the following transformation do not change the shape of the object?
(A) Shear
(B) Translation
(C) Scaling
(D) Reflection
4. A picture is stored in the computers memory in ___________.
(D) None of these
5. If the logical __________of end codes of the line segment in Cohen Sutherland line
clipping is not zero, the line is totally invisible.
(A) OR
6. A line connecting the points (1,1) and (5,3) is to be drawn, using DDA algorithm. Find the
value of x and y increments
(A) x-increments = 1; y-increments =1
(B) x-increments = 0.5; y-increments =1
(B) x-increments = 1; y-increments =0.5
(D)x-increments = 1; y-increments =0

Section B ( 4 x 1 = 4 marks)
7. When four way symmetry is used to obtain a full ellipse from pixel coordinates generated
for the first quadrant, does overstrike occur? Where ?
8. What are the three major adverse side effects of scan conversion ?
9. Find the equation of the line y = mx + b in xy coordinates if the xy coordinate system
results from a 900 rotation of the xy coordinate system.
10. Is simultaneous shearing the same as a shearing in one direction followed by a shearing in
another direction ? Why ?
Section C ( 5 x 4 = 20 marks)
11. Scan convert the line with endpoints (10,5) and (15,9) using midpoint line algorithm.
12. Perform a rotation 450 of triangle A (0, 0), B (1, 1), C (5, 2)
(a) about the origin and
(b) about P (-1, -1).

13. Write matrices for a) scaling

b) Rotation

c) Translation d)Reflection about x axis

14.Explain the following OpenGL functions:

a) glvertex2i()

b) glutcreatewindow()

d) glcolor3f()

e) glutmailloop()

c) glutdisplayfunc()

15. Find a normalization transformation from the window whose lower left corner is at (0,0) and
upper right corner is at ( 4,3) onto the normalized device screen so that aspect ratios are