Model
Model
Question 1
(a) Define the term multimedia and what are characteristics of multimedia
(10 marks)
(b) What are the two basic techniques for producing color displays? Explain each
technique with a diagram (15 marks)
1 of 5
Jan. – Apr. 2021 Final Examination CC206 Multimedia Programming
This type of CRT has 3 electron guns, one for each color dot and a shadow
mask grid just behind the phosphor coated screen.
Shadow mask grid is pierced with small round holes in a triangular pattern.
Figure shows the delta-delta shadow mask method commonly used in color
CRT system.
Question 2
Write the Bersenham’s line drawing algorithm and generate all raster points on the line
segment for the points(10,20) and (18,30). (25 marks)
2 of 5
Jan. – Apr. 2021 Final Examination CC206 Multimedia Programming
x y
10 20
11 21
12 22
12 13
13 24
14 25
15 26
16 27
16 28
17 29
18 30
[Total: 25 Marks]
Question 3
(a) Calculate the pixel position along the circle path with radius r=10 centered on the
origin (0,0) using midpoint circle drawing algorithm upto x=y. (12 marks)
x y p x + xc y + yc
0 10 -8.75 0 10
1 10 -4.75 1 10
2 10 1.25 2 10
3 9 -9.75 3 9
4 9 0.25 4 9
5 8 -4.75 5 8
6 8 9.25 6 8
7 7 10.25 7 7
(b) Calculate the pixel position along the circle path with radius r= 10 centered on the
origin (0,0) using Bersanham’s circle drawing alogithm from points (0,10) to
x=y. (13 marks)
3 of 5
Jan. – Apr. 2021 Final Examination CC206 Multimedia Programming
x y
0 10
1 10
2 10
3 10
4 9
5 9
6 8
7 7
[Total: 25 Marks]
Question 4
(a) Translate a polygon with coordinates A(2,5), B(7,10) and C(10,2) by 3 units in x
direction and 4 units in y direction (10 marks)
4 of 5
Jan. – Apr. 2021 Final Examination CC206 Multimedia Programming
(b) Scale the polygon with coordinates A(2,5),B(7,10) and C(10,2) by 2 units in x
direction and 2 units in y direction, also draw the polygon before scaling and after
scaling (15 marks)
5 of 5
Jan. – Apr. 2021 Final Examination CC206 Multimedia Programming
6 of 5