Graphics Attributes
1.

The basic attributes of a straight line segment are

A.  

Type

B.  

Width

C.  

Color

D.  

All of these

2.

A dashed line could be displayed by generating_________.

A.  

Inter dash spacing

B.  

Very short dashes

C.  

Botha a and b

D.  

A or B

3.

A dotted line can be displayed by generating

A.  

Very short dashes with spacing equal to and greater 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

4.

Which of the following is not a line-type?

A.  

Dashed line

B.  

Dark line

C.  

Dotted line

D.  

Only b

5.

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()

6.

The algorithm which displays line-type attributes by plotting pixel spans is

A.  

Raster line algorithm

B.  

Raster scan algorithm

C.  

Random line algorithm

D.  

Random scan algorithm

7.

Pixel mask means

A.  

A string containing only 1;s

B.  

A string containing only 0’s

C.  

A string containing 1 and 0

D.  

A string containing 0 and 0

8.

A heavy line on a video monitor could be displayed as

A.  

Adjacent perpendicular lines

B.  

Adjacent parallel lines

C.  

Both a and b

D.  

Neither a nor b

9.

To set the line-width attribute the following command is used.

A.  

SETLINEWIDTHSCALEFACTOR (lw)

B.  

Setlinewidth()

C.  

Setlinewidthscalefacto (lw)

D.  

setLineWidthScaleFactor (lw)

10.

The parameter to “setLineWidthScaleFactor (lw) “function specifies?

A.  

Standard width

B.  

Relative width of the line

C.  

Thickness of the line

D.  

All of the mentioned