# Education In Pakistan

## VU CS602 – COMPUTER GRAPHICS (Session – 6 ) MIDTERM EXAMINATION FALL 2007

MIDTERM EXAMINATION

FALL 2007

CS602 – COMPUTER GRAPHICS (Session – 6 )

Marks: 35

Time: 120min

Student Name: ______________________________

Center Name/Code: ______________________________

Exam Date: Tuesday, November 20, 2007

1. Attempt all questions. Marks are written adjacent to each question.

2. Do not ask any questions about the contents of this examination

from anyone.

a. If you think that there is something wrong with any of the

questions, attempt it to the best of your understanding.

b. If you believe that some essential piece of information is

missing, make an appropriate assumption and use it to solve the

problem.

c. Write all steps, missing steps may lead to deduction of marks.

**WARNING: Please note that Virtual University takes serious note of unfair means.

Anyone found involved in cheating will get an `F` grade in this course.

For Teacher’s use only

Question

Marks

1 2 3 4 5 6 7 8 Total

Question No: 1

.

( Marks: 10 )

Suppose an RGB raster system is to be designed using an 10*8 inch screen with a

resolution of 100 pixels per inch in each direction. If we want to store 12 bits in per pixel in

the frame buffer, how much storage (in bytes) do we need for the frame buffer?

Question No: 2

( Marks: 10 )

Which algorithm finds the closest integer coordinates to the actual line. Summarize this

algorithm and suggest some improvements.

Question No: 3

( Marks: 10 )

What could be the ways to implement area filling on raster systems? Summarize scan line

polygon filling algorithm in your own words.

Question No: 4

( Marks: 1 )

Intensity of the electron beam is controlled by setting _________ levels on the control

grid, a metal cylinder that fits over the cathode.

► Amplitude

► Current

► Voltage

► electron

Question No: 5

( Marks: 1 )

True or false. Using Cohen-Sutherland line clipping, it is impossible for a vertex to be

labeled 1111.

► true

false

Question No: 6

( Marks: 1 )

► Small

► Wide

► Random

► crazy

Question No: 7

( Marks: 1 )

Which one of the following step is not involved to write pixel using video BIOS services.

► Setting desired video mode

► Using bios service to set color of a screen pixel

► Calling bios interrupt to execute the process of writing pixel.

► Using OpenGL service to set color of a screen pixel

Question No: 8

( Marks: 1 )