BIT 2304  COMPUTER GRAPHICS KCA Past Paper

UNIVERSITY EXAMINATIONS: 2012/2013
EXAMINATION FOR THE BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 2304 COMPUTER GRAPHICS
DATE: AUGUST, 2013 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and Any Other TWO Questions

QUESTION ONE (30 MARKS)
a) Explain the following terms as used in Computer Graphics.
i) Interactive Computer Graphics
ii) Interactive Computer Modeling
iii) Animation
iv) Rendering
v) Texture Mapping (10 Marks)
b) Explain the application of Computer Graphics in the following fields.
i) Augmented Reality
ii) Automobile Navigation
iii) Medical Imaging
iv) Scientific Visualization
v) Information Visualization (10 Marks)
c) Consider a raster system with the resolution of 1024 x 768 pixels and the
color palette calls for 65,536 colors. What is the minimum amount of video
RAM that the computer must have to support the above-mentioned
resolution and number of colors? (10 Marks)
QUESTION TWO (20 MARKS)
b) Distinguish between he following Computer Graphics Output units.
i) CRT
ii) LED
iii) LCD
iv) OLED (10 Marks)
b) Computer Graphics Input units can be described by using their physical or
logical properties. For each of the following Physical input objects, explain
their logical properties as regards their operation.
i) Mouse
ii) Keyboard
iii) Trackball
iv) Light Pen
v) Data Tablet (10 Marks)
QUESTION THREE (20 MARKS)
a) What is OpenGL? Distinguish between the following related APIs as used in
OpenGL:GLU, GLUT, AGL, GLX, WGL (10 Marks)
b) Explain each of the components outlined in the OpenGL Architecture below.


(10 Marks)
QUESTION FOUR (20 MARKS)
a) Graphically illustrate the following one-dimensional objects.
i) Line Segment
ii) Polyline
iii) Non-simple polyline
iv) Simple closed polyline (10 Marks)
b) Graphically illustrate the following two-dimensional objects.
i) Simple Polygon
ii) Non-Simple Polygon
iii) Convex Polygon
iv) Region (10 Marks)
QUESTION FIVE (20 MARKS)
a) The following is a sample OpenGL program.
voi d mai n( i nt ar gc, char * * ar gv )
{
i nt mode = GLUT_RGB| GLUT_DOUBLE;
gl ut I ni t Di spl ayMode( mode ) ;
gl ut Cr eat eWi ndow( ar gv[ 0] ) ;
i ni t ( ) ;
gl ut Di spl ayFunc( di spl ay ) ;
gl ut ReshapeFunc( r esi ze ) ;
gl ut Keyboar dFunc( key ) ;
gl ut I dl eFunc( i dl e ) ;
gl ut Mai nLoop( ) ;
}
Explain the functions gl ut I ni t Di spl ayMode( ) and
gl ut Cr eat eWi ndow( )
(14 Marks)
b) Explain the following OpenGL commands.
i) GL_LINES
ii) GL_QUAD_STRIP
iii) GL_TRIANGLE_FAN
(6 Marks)

(Visited 90 times, 1 visits today)
Share this:

Written by