Computer Graphics Questions & Answers – Area Fill Attributes

This section of our 1000+ Computer Graphics multiple choice questions focuses on Area Fill Attributes.

1. A basic fill style is selected in a PHIGS program with the function
a) setInteriorStyle (fs)
b) setStyle (fs)
c) SetfillStyle (fs)
d) setInteriorStyleIndex (fs)
View Answer

Answer: a
Explanation: We can select the basic fill style by using setInteriorStyle (fs).

2. Which one is not a type of basic fill styles?
a) Hollow
b) solid color
c) Pattern
d) Dark
View Answer

Answer: d
Explanation: Dark fill is not a type of basic fill style, rest of them is the basic fill styles.

3. The process of filling an area with rectangular pattern is called
a) Tiling
b) Linear fill
c) Tint-fill
d) Soft-fill
View Answer

Answer: a
Explanation: Rectangular fill pattern is called tiling or tiling pattern.

4. The algorithm which repaints an area that was originally painted by merging a foreground color F and background color B where F!=B.
a) Tint fill
b) Flood fill
c) Linear soft-fill
d) Boundary fill
View Answer

Answer: c
Explanation: Linear soft-fill algorithm used to repaint the area.
advertisement
advertisement

5. The fill color that is combined with the background color is known as
a) Soft fill
b) Tint fill
c) Both a and b
d) None
View Answer

Answer: c
Explanation: soft fill is also called tint fill.

6. Hatch fill procedures are implemented to draw
a) Single hatching
b) Cross hatching
c) Either a or b
d) Only b
View Answer

Answer: c
Explanation: This procedure is used to draw either single or cross hatching.

7. When 2 background colors B1 and B2 are mixed with foreground color F, the resulting pixel color P is
a) P=t0*F+t1*B1+(1-t0-t1)B2
b) P=t0*F-t1*B1+(1-t0-t1)B2
c) P=t0*F+t1*B1+(1+t0+t1)B2
d) Only a
View Answer

Answer: d
Explanation: None.

8. The operator that is used for combining a fill pattern with a background pattern is
a) AND operator
b) OR operator
c) X-OR operator
d) All of these
View Answer

Answer: d
Explanation: The pattern and background colors can be combined using Boolean operators.
advertisement

9. Hollow areas are displayed using only the
a) Boundary outline
b) Line-drawing routine
c) Hatched patterns
d) Closed poly line
View Answer

Answer: a
Explanation: Using boundary outline the hollow areas can be displayed.

10. Options for filling a defined region include a choice between__________
a) Solid color or a pattern fill
b) Choices for particular colors and pattern
c) Both a and b
d) None
View Answer

Answer: c
Explanation: The filling options can be applied to polygon region and areas can be painted using various brush styles, colors, and transparency parameters.
advertisement

Sanfoundry Global Education & Learning Series – Computer Graphics.

To practice all areas of Computer Graphics, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.