Comp 414: Computer Graphics 2010 Question Paper
Comp 414: Computer Graphics 2010
Course:Bachelor Of Science In Computer Science
Institution: Kabarak University question papers
Exam Year:2010
KABARAK UNIVERSITY
UNIVERSITY EXAMINATIONS
2010/2011 ACADEMIC YEAR
FOR THE DEGREE OF BACHELOR OF SCIENCE
IN COMPUTER SCIENCE
COURSE CODE: COMP 414
COURSE TITLE: COMPUTER GRAPHICS
STREAM: Y4S1
INSTRUCTIONS:
Question ONE is compulsory. Answer Any TWO Questions from Sections B.
SECTION A: 30 MARKS
QUESTION 1:
i) Explain the following terms. (10marks)
a) Computer graphics
b) Persistence
c) Resolution
d) Pixel
e) Clipping
ii) Briefly discuss any FIVE Applications of computer graphics. (10 marks)
iii) Write a code of a C++ program to draw a Line, Circle, Rectangle and ellipse
(10 marks)
SECTION B 40 MARKS
QUESTION 2
(i) Explain the principle and working of CRT with a neat sketch of diagram.
(14 marks)
(ii) Explain the Sutherland-Hodgeman polygon clipping procedure. (6 marks)
QUESTION 3
Discuss the:-
(i) The Bresenham’s line drawing algorithm (10 marks)
(ii) Write a c++ program to implement the Bresenham’s algorithm
(10 marks)
QUESTION 4
a) Briefly discuss the basic attributes of a straight line segment (10 marks)
b) Explain the principle and working of any five graphical input devices. (10 marks)
QUESTION 5
a) Explain the basic Transformations below
i. Translation
ii. Rotation
iii. Scaling
iv. Reflection
v. Shear
(20 marks)
More Question Papers