Vous êtes sur la page 1sur 8

Group no.

5
Assignment-1
Date=9/06/2010

 Course code=CS3017
 Course Title=Computer graphics

TOPIC – Region Filling

(1-5)-Divyani Gureja(b080300006)
Q.1- What are the major adverse side effects of scan conversion?

1. staircase apperance 2.equal brightness of slanted line

3.pocket fence 4.all of these

Q.2- Suppose that in 3*3 matrix super-sampling a pixel has three of its subpixels in a red
area,three in a green area,and three in a blue area.What is the pixel’s overall color?

1. (1/3,3) 2. (3,1/3)

3.(1/3,1/3,1/3) 4.none of these

Q.3- Pixel phasing is an anti-aliasing technique based on

1. hardware
2. software
3. both hardware and software
4. none of these

Q.4-Which Pixel is better to define a region

1. 4-way connected 2. 8 way connected

3. both of these 4.none of these


Q.5- Is these pseudocode works or not?

BoundaryFill(intx,y,fill_color,boundary_color)

Int color;

getPixel(x,y,color);

if(color!=boundary color && color!=fill_color)

setPixel(x,y,boundary_color);

BoundaryFill(x+1,y,fill_color,boundary_color);

BoundaryFill(x,y+1,fill_color,boundary_color);

Boundaryfill(x-1,y,fill_color,boundary_color);

Boundaryfill(x,y-1,fill_color,boundary_color);

1. It will execute.
2. It will not execute.
3. It will compile but not execute.
4. None of these

(6-10)-Nitin(b080300018)

Q.6-Which Aliasing Effect occures when on object is not alinged with,or does not fit
into,the pixel grid property.

1. Staircase 2. Unequal Brightness

3. The Picket fence Problem 4.All of these

Q.7-Which function is call in boundary fill and fill algorithm


1. Call by value 2.Call by refrence

3.Simple call 4.Recursion

Q.8-Which technique we superimpose a pixel grid pattern onto the continuos object
definition.

1. Super Sampling 2.Area Sampling

3.Pixel Phasing 4.none of these.

Q.9-Which two representation are used for storing computer fonts.

1. Bitmap font and outline font 2. Bitmap font and out font

3.none of these

Q.10-The size of Bitmap font depends on

1. image resolution 2. Resolution

3.pixels 4.none of these

(11-15)-Rajkaran(i080300007)

Q.11 Area sampling is a

1. pre filtering technique 2.post filtering technique

3.none of these

Q.12 How much character size typically measure in height in inches,points

1.approximately 1/72 inch and picas (12 points)

2.approximately 2.67 inch and(12 points)

3. both 1 and 2

4. none of these

Q.13 Aliasing means

1.Rendering effect 2.Shading effect

3.Staircase effect 4.cueing effect


Q.14 A mask is a small ------------containing the relative locations of the pixels that are
used to represent the character

1.raster 2.vector

3.both 1 and 2 4.none of these

Q.15 -------------to determine pixel intensity by calculating the areas of overlap of each
pixel with the object to be displayed.

1.Area sampling 2. Pixel phasing

3.SuperSampling 4.none of these

(15-20)-Arun rawat(b080300003)

Q.16 Antialiasing is

1.changing the shape of aliasing 2.smoothing of image or sound roughness

3.changing the quality of sound 4.none the above

Q.17 The errors caused by aliasing are called------------

1. artefacts 2. Aircraft

3 artifacts 4. art-e-facts

Q.18 Flood fill is also known as ------------

1.Speed fill 2.speed fall

3.both 1and 2 4.none of these

Q.19 What are two types of general purpose of anti-aliasing techniques.

1. pre filtering and post filtering 2.pra filtering and post filtering

3.prefix and postfix 4. None of these

Q.20Picket Fencing problem of aliasing is resolved by ----------------

1.Super sampling 2. Area sampling

3. both 1 and 2 4. None of above


Answers:
1. 1(Staircase appearance)
2. 3 (1/3,1/3,1/3)
3. 1(hardware)
4. 2(8-way connected)
5. 2(it will not execute)
6. 3(Picket fence problem)
7. 4(Recursion)
8. 2(Area sampling)
9. 1(Bitmap font and outline font)
10. 1(image Resolution)
11. 1(pre filtering technique)
12. 1(approximately 1/72 inch and picas 12 points)
13. 3(staircase effect)
14. 1(Raster)
15. 1(Area sampling)
16. 2(smoothing of image or sound roughness
17. 1(artefacts)
18. 1(speed fill)
19.1(pre filtering and post filtering)
20. 4(none of above)

Vous aimerez peut-être aussi