Daffodil International University
Department of Computer Science and Engineering
Faculty of Science & Information Technology
Final Exam Examination, Fall 2020 @ DIU Blended Learning Center
Course Code: CSE421 (Day), Course Title: Computer Graphics
Level: 4 Term: 2 Section: PC-B
Instructor: ZTS Modality: Open Book Exam
Date: Tuesday 22 Dec, 2020 Time: 02:00-06:00pm
Four hours (4:00) to support online open/case study based assessment Marks: 40
Directions:
Students need to go through the CASE STUDY shown in this exam paper.
Analyze and answer specific section based on your own thinking and work.
Do not share as this will be treated as plagiarism by Blended Learning Center.
1. Show that the order in which transformations are performed is important by applying the 6
transformation of the triangle ABC by:
i) Rotating by xy about the origin and then translating in the direction of the vector (1,0), and
ii) Translating first in the direction of the vector (1,0), and then rotating by 45o about the origin,
where A = (1, 0) B = (0 ,1) and C = (1, 1).
2. Find the new coordinates of a triangle A(0,0),B(1,1),C(5,2) after it has been (a) magnified to twice 4
its size and (b) reduced to half its size.
3. Consider the following image: 10
i) In the following diagram, the shape defined by the points a,b,c,d,e,f is to be clipped to the viewing
region A,B,C,D using the Sutherland-Hodgman algorithm. The order of clipping will be AB then
CD then BC then DA. Give details of the result of clipping at each of these four stages and state
whether the final result is correct or incorrect.
ii) Clip the polygon using Weiler-Atherton algorithm. Compare the result with the previous result.
4. 7+3
=10
i) What kind of projection is shown in the picture? Describe each of its kinds with example.
ii) How can we represent a 3D object on a 2D screen? Describe briefly.
5. Use Cohen-Sutherland algorithm to clip the lines: 6
AB{(-6,4), (4,2)} , CD{(-5,4),(2,6), EF{(-2,5),(6,0}} where Xmin = -3.5, Ymin = 2, Xmax = 2.5,
Ymax = 6.5.
6. What do you understand by additive color model and subtractive color model? Write the comparison 4
between both models.