# BIT 2301A BAC 3206 – COMPUTER GRAPHICS KCA Past Paper

UNIVERSITY EXAMINATIONS: 2019/2020
EXAMINATION FOR THE BACHELOR OF SCIENCE DEGREES IN
INFORMATION TECHNOLOGY/ APPLIED COMPUTING
BIT 2301A/ BAC 3206: COMPUTER GRAPHICS
FULLTIME/ PART TIME
ORDINARY EXAMINATIONS
DATE: MAY, 2020 TIME: 6 HOURS

QUESTION ONE [20 MARKS]
Consider the polygon below. Showing your workings, calculate the new vertices after the
following:

a) A translation of (5, 4) [2 Marks]
b) A translation of (3, 5) [2 Marks]
c) A scaling of (1.5, 2) [2 Marks]
d) A scaling of (0.5, 3) [2 Marks]
e) A rotation of 90 degrees clockwise [3 Marks]
f) A rotation of 90 degrees anti-clockwise [3 Marks]
g) A reflection with the mirror line cutting through (6, -2) (6,8) [3 Marks]
h) A clipping operation using a window with vertices (0, 0) (0, 8) (7, 8) (7, 0) [3 Marks]
QUESTION TWO [20 MARKS]
Using the DDA algorithm and Bresenham algorithm, find the intermediate points that can be
drawn between the following sets of points:
a) (5,7) and (16,14) [5 Marks]
b) (4,3) and (9,12) [5 Marks]
c) (5,9) and (14,16) [5 Marks]
d) (3,3) and (8,14) [5 Marks]

(Visited 144 times, 1 visits today)