0% found this document useful (0 votes)
51 views3 pages

SCS 411 Computer Graphics Exam 2

This document outlines the examination details for the SCS411: Computer Graphics course at Murang’a University of Technology for the 2023/2024 academic year. It includes instructions for candidates, a breakdown of questions in two sections, and topics covering various aspects of computer graphics such as clipping, geometric primitives, and OpenGL functions. The exam consists of theoretical questions and practical applications related to computer graphics concepts.

Uploaded by

Shalom Mira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views3 pages

SCS 411 Computer Graphics Exam 2

This document outlines the examination details for the SCS411: Computer Graphics course at Murang’a University of Technology for the 2023/2024 academic year. It includes instructions for candidates, a breakdown of questions in two sections, and topics covering various aspects of computer graphics such as clipping, geometric primitives, and OpenGL functions. The exam consists of theoretical questions and practical applications related to computer graphics concepts.

Uploaded by

Shalom Mira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MURANG’A UNIVERSITY OF TECHNOLOGY

SCHOOL OF COMPUTING AND INFORMATION


TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE

UNIVERSITY ORDINARY EXAMINATION

2023/2024 ACADEMIC YEAR


FOURTH YEAR SECOND SEMESTER EXAMINATION FOR BACHELOR
OF SCIENCE IN MATHEMATICS AND COMPUTER SCIENCE

SCS411: COMPUTER GRAPHICS

DURATION: 2 HOURS

INSTRUCTIONS TO CANDIDATES:

1. Answer Question one and any other two questions.


2. Mobile phones are not allowed in the examination room.
3. You are not allowed to write on this examination question paper.

Page 1 of 3
SECTION A: ANSWER ALL QUESTIONS IN THIS SECTION
QUESTION ONE (30 MARKS)
a) Distinguish between the following terms
i) Emissive and non-emissive displays (2marks)
ii) Image processing and image synthesis (2marks)
iii) Interlacing scan and progressive scan (2marks)
b) Suppose RGB raster system is to be designed using a 12inch X 20 inch screen with a
resolution of 100 pixels per inch. In the frame buffer, how much storage (In Kilobytes) do we
need for frame buffer?
(4marks)
c) Identify and explain three types of geometric primitives used in open GL. (3marks)
d) Given a mangle with coordinates A(2,2) B(0,0) and C(2,0) apply shearing factor 2 on x-axis
and 2 on y-axis. Find the new coordinates of the triangle. (4marks)
e) Explain any three factors you would consider before selecting a display technology (4marks)
f) Briefly discuss the basic principles in displaying polygon under open GL (3marks)
g) Describe the steps to be followed in Digital Differential Analyzer (DDA) scan conversion
algorithm. (6marks)

SECTION B: ANSWER ANY TWO QUESTIONS IN THIS SECTION


QUESTION TWO (20 MARKS)
a) Clipping is an important concept used in computer graphics and computer vision in this
context.
i) Define clipping (1mark)
ii) Highlight any four types of clipping (4marks)
b) Digitize a line with end points (20,10) and (30,18) using Bresenham’s line drawing
aligorithm and provide a sketch for the resulting pixel
(10marks)
c) Explain the need of homogeneous coordinates and give the homogeneous coordinate for
translation, rotation and scaling. (5marks)

QUESTION THREE (20 MARKS)


a) An OpenGL call back function is different from the normal function as it is never called
directly by the application.
i) Briefly explain the purpose of the glutDisplayFunc ( ) call back function (2marks)
ii) Write a program to demonstrate how the glutDisplayFunc( ) call back function is
used in openGL programs (8marks)
b) Study the openGL snippet below and sketch the graphic that will render when executed.
glBegon (GL-TRIA NGLE – STRIP)
glColour3ʄ (1,1,1); ʺ colour
glVertex2 (0,0,0); ʺ Y1
glVertex2 (0,1) ;ʺy2
glVertex2 (1,0) ;ʺy3
glVertex2 (1,1) ; ʺy4
glVertex2 (2,0); ʺy5
ghend( ); (7 marks)

Page 2 of 3
c) Translate a mangle with vertices at original coordinates A(10,25,5), B(5,10,5) and
C(20,10,10) by tx=15, ty= 5, tz= 5
(5marks)

QUESTION FOUR (20 MARKS)


a) Rotate a line CD whose end points are (3,4) and (12,15) about origin through a
45oanticlockwise direction (6marks)
b) Consider two raster systems with the resolutions of 1280 x 720 and 2048 x 1536
i. How many pixels could be accessed per second in each of these systems by a
display controller with a refresh rate of 120HZ. (2marks)
ii. What is the Access time per pixel in each system? (2marks)
c) Discuss the architecture of a virtual reality system (5marks)
d) With aid of a diagram, explain the functionality of video monitor base on the standard
Camode-Ray tube (CRT)
(5marks)

Page 3 of 3

You might also like