1. Coordinate references in the polyline function are stated as

a) Relative coordinate values

b) Absolute coordinate values

c) Current position

d) Real coordinate values

Explanation: Coordinate references in the polyline function are stated as absolute coordinate values.

2. To apply the midpoint method, we define

a) ?circle(x, y)= x ^{2}+ y ^{2}-? r?^{2}

b) ?circle(x, y)= x+ y ^{2}-? r?^{2}

c) ?circle(x, y)= x ^{2}– y ^{2}-? r?^{2}

d) ?circle(x, y)= x^{2}+ y ^{2}-? z?^{2}

Explanation: ?circle(x, y)= x

^{2}+ y

^{2}-? r?

^{2}

3. _______ is defined as set of points such that the sum of the distances is same for all points.

a) Ellipses

b) Lines

c) Circles

d) None of the above

Explanation: Ellipses is defined as set of points.

4. If the boundary is specified in a single color, and if the algorithm proceeds pixel by pixel until the boundary color is encountered is called

a) Scan-line fill algorithm

b) Boundary-fill algorithm

c) Flood-fill algorithm

d) Parallel curve algorithm

Explanation: This algorithm proceeds outward pixel by pixel until the boundary color is encountered.

5. If we want to recolor an area that is not defined within a single color boundary is known as

a) Boundary-fill algorithm

b) Parallel curve algorithm

c) Flood-fill algorithm

d) Only b

Explanation: We can paint such areas by replacing a specified interior color.

6. The basic attributes of a straight line segment are

a) Type

b) Width

c) Color

d) All of these

Explanation: Type, width and colors are the basic attributes of line.

7. A dashed line could be displayed by generating_________.

a) Inter dash spacing

b) Very short dashes

c) Both a and b

d) A or B

Explanation: The inter dash spacing that is equal to the length of the solid sections displays dashed line.

8. A dotted line can be displayed by generating

a) Very short dashes with spacing equal to and less than dash size

b) Very long dashes with spacing equal to or greater than dash size

c) Very short dashes with spacing equal to and greater than dash size

d) Dots

Explanation: Very long dashes with spacing equal to or greater than dash size can displays dotted line.

9. Which of the following is not a line-type?

a) Dashed line

b) Dark line

c) Dotted line

d) None of the above

Explanation: Except dark line those are the types of the line.

10. In an application program, to set line-type attributes the following statement is used.

a) SetLinetype(lt)

b) setLinetype(lt)

c) SETLINETYPE(lt)

d) SETLINE()

Explanation: setLinetype(lt)