Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

University of Aden

Faculty of Engineering
Odd Semester Examination (2014-2015)
Subject: Computer Graphics
Date: / 1/2015
Class: B4CS/B4CSE Even
Time: 2 hours
---------------------------------------------------------------------------------------------------------------------------ANSWER ANY FOUR QUESTIONS
1# (a) TRUE or FALSE
(i) Fluorescence is the light given off by a phosphor while it is being exposed to electron beam.
(ii) The GIF is 16 million colors and suitable for animation.
(iii) Lossy compression reduces the file size with no loss of image quality.
(iv) Chromaticity is the color quality of light defined by its wavelength, but Luminance is the
amount of light.
2
3
(v) To identify the GIF file, the first three bytes of the file should be; Byte 1
Hex 47

(b) Name the transformation process and explain ONE of them with example?

a
b
c
d
e
2# (a) What steps are required to generate a circle using polynomial equation.
(b) What are the effect of the applying the following Color Matrices to an image?
(i)
(ii)
0

-1

-1

-1

0.59 0.59 0.59

-1

-1

-1

0.11 0.11 0.11

-1

-1

-1

0.3

0.3

0.3

3# (a) Write the general form of the matrix of :


(i) Translation factor Tv,
(ii) Reflection factor My about Y axis.
(b) Describe the Halftone Approximation technique as used in the printer.

49

46

4# (a) What steps are required to plot dotted line


(b) Consider the following 10 x 10 pixels image. Compare the compression of this image
using Run length encoding.
A
B
C
D
C
B
C
C
B
D

A
B
C
C
C
B
C
B
B
A

A
B
C
C
B
C
C
B
A
C

A
B
A
C
B
C
C
C
A
C

A
C
A
D
B
C
C
C
A
C

C
C
A
C
D
A
C
C
A
C

B
C
A
D
A
A
C
C
A
C

C
C
A
C
A
A
C
C
A
C

A
C
A
C
A
C
C
C
B
C

A
C
D
C
B
C
C
C
C
C

5# (a) Define the following :


(i) the Aspect Ratio, (ii) the Fluorescence, (iii) the Contrast.
(b) Find the rotation matrix, to rotate the LAMP shape 30o about the point A(6,5).

30o
A(6,5)

6# (a) Develop a code segment to calculate the total number of RED pixels in a 1000 x1000 raster.
(b) Write short notes on TWO of :
(i) Dithering algorithm,
(ii) Double Data Rate Synch Dynamic ram DDR_SDRAM ,
(iii) Plasma display,
(iv) Interlacing, or
(v) Joint Photographic Experts Group JPEG.


University of Aden
Faculty of Engineering
Odd Semester Re-Examination (2014-2015)
Subject: Computer Graphics
Date: / 1/2015
Class: B5CS/B5CSE
Time: 2 hours
---------------------------------------------------------------------------------------------------------------------------ANSWER ANY FOUR QUESTIONS
1# (a) TRUE or FALSE
(i) Horizontal Line has a slope of zero value, i.e. m = 0
(ii) The RGB coordinates of a color (0.15, 0.75, 0) in CMY space is (0.85,0.25,1).
(iii)High resolution camera record 8 megapixels (MP) where 1 MP = 106 pixels.
(iv) An image has a height of 2 inches and an aspect ratio of 1.5 will has a width of 3 inches.
(b) Describe the Bresenham algorithm for drawing lines. Using it to find out the intermediate
screen coordinates of a line whose end coordinates are (3, 5) and (10, 16).
2# (a) Digitize the line between (18,10) and (24, 22) using DDA algorithm.
(b) Name the transformation process and explain ONE of them with example?
3# (a) Perform a 90 degree rotation of triangle A(1, 1), B(7, 1), C(4, 4) about the point (1, 1).
(b) Consider a raster system with resolution of 640 by 480. How many pixels could be accessed per
second by a display controller that refreshes the screen at a rate of 60 frames per second? What is
the access time per pixel?
4# (a) Explain various types of printers.
(b) Give the grid patterns for the following dither matrix.

4 1 0

3 2 8
7 5 6

5# (a) Write a short note about Error Diffusion Floyd Steiberg technique.
(b) Develop a code to replace any Blue color in the 840 by 600 raster by the Green color.
6# (a) Compare between the graphic file formats PNG and JPEG.
(b) Write a short note. Attempt any TWO
(i) LCD monitor,
(ii) Color Spaces in CIE, or HSL.
(iii) Image file format,
(iv) Double Data Rate Synch Dynamic ram DDR_SDRAM ,

You might also like