0% found this document useful (0 votes)
154 views2 pages

CG MR

This document is a mid-semester test for a computer graphics course. It contains 15 multiple choice and short answer questions testing concepts related to computer graphics algorithms like DDA line drawing, midpoint circle algorithm, 2D transformations, and OpenGL functions. The test has three sections (A, B, C) worth different point values and covers topics such as line and circle algorithms, transformations, coordinate systems, and OpenGL functions. Students are instructed to show their work and answer all parts of questions consecutively.

Uploaded by

somnathghoshal85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
154 views2 pages

CG MR

This document is a mid-semester test for a computer graphics course. It contains 15 multiple choice and short answer questions testing concepts related to computer graphics algorithms like DDA line drawing, midpoint circle algorithm, 2D transformations, and OpenGL functions. The test has three sections (A, B, C) worth different point values and covers topics such as line and circle algorithms, transformations, coordinate systems, and OpenGL functions. Students are instructed to show their work and answer all parts of questions consecutively.

Uploaded by

somnathghoshal85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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
: COMPUTER GRAPHICS
: Closed Book

Weightage

: 30 %

Duration

: 90 minutes

Date of Exam
AM )

: Dec 08, 2013

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

Session : FN ( 9 to 10:30

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 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 ___________.
(A)PDCS
(B) WCS
(C) NDC
(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
(B) NOT
(C) AND
(D) XOR
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
preserved
XXXX

You might also like