CGM Solved Papers
CGM Solved Papers
ANS- Resolution indicates the number of pixels that are displayed per inch for an image (or pixels per
centimeter). Most computer monitors display at resolutions of 72 pixels per inch or 96 pixels per
inch.
PART-B
Q.1 Scan convert a straight line using DDA algorithm, where end points of line are (5,10) and (15,35).
ANS- Given-
Starting coordinates = (X0, Y0) = (5,10)
Ending coordinates = (Xn, Yn) = (15,35)
Step-01:
ΔX = Xn – X0 = 15 – 5 = 10
ΔY =Yn – Y0 = 35 – 10 = 25
M = ΔY / ΔX = 25 / 10 = 2.5
Step-02:
Step-03:
5 10 5.5 11 (6,11)
6 12 (6,12)
6.5 13 (7,13)
7 14 (7,14)
7.5 15 (8,15)
8 16 (8,16)
8.5 18 (9,18)
9 19 (9, 19)
10 21 (10,21)
10.5 22 (11,22)
11 23 (11,23)
11.5 24 (12,24)
12 25 (12,25)
12.5 26 (13,26)
13 27 (13,27)
13.5 28 (14,28)
14 29 (14,29)
14.5 30 (15,30)
15 31 (15,31)
15.5 32 (16,32)
16 33 (16,33)
16.5 34 (17,34)
17 35 (17,35)
17.5 36 (18,36)