Computer Graphics Questions and Answers Part-9

1. The function which references a single attribute that specifies how a primitive is to be displayed with that attribute setting is called
a) Individual attribute
b) Unbundled attribute
c) Bundled attribute
d) A or B

Answer: d
Explanation: Individual attribute are also known as unbundled attribute.

2. A particular set of attribute values for a primitive on each output device is chosen by specifying appropriate table index is known as?
a) Individual attribute
b) Unbundled attribute
c) Bundled attribute
d) A or B

Answer: c
Explanation: Bundle attributes specifies group of attribute values. And these values can be bundled into the workstation table.

3. A table for which, a primitive defines groups of attribute values to be used when displaying that primitive on a particular output device is called
a) Bundle table
b) Index table
c) Both a and b
d) None of these

Answer: a
Explanation: Bundle table

4. The choice between a bundled attribute or an unbundled attribute is made by
a) Setting switch
b) Setting bundle table
c) Index table
d) None of the above

Answer: a
Explanation: By setting switch the user can change their choice between bundled attribute or an unbundled attribute.

5. Entries in the bundle table for line attributes are set using the function
a) Setlineattributes ()
b) setPolylineRepresentation (ws, li, lt, lc)
c) setPolylineRepresentation()
d) only a

Answer: b
Explanation: Entries in the bundle table for line attributes are set using the function setPolylineRepresentation (ws, li, lt, lc).

6. A poly-line that is assigned a table index value of 3 would be displayed using
a) Dashed line
b) Dotted line
c) Same index
d) All of the mentioned

Answer: a
Explanation: Using dashed line at half thickness the index value of 3 would be displayed.

7. Table entries for bundled area-fill attributes are set using the function
a) setInteriorRepresentation (ws, fi, fs, pi, fc)
b) SetInteriorRepresentation ()
c) Only b
d) Both a and b

Answer: a
Explanation: The function setInteriorRepresentation (ws, fi, fs, pi, fc) can be used to set the bundled area-fill attributes.

8. The choice between a bundled attribute or an unbundled attribute is made by switch called?
a) Aspect flag
b) Aspect ratio
c) Aspect source flag
d) Aspect destination flag

Answer: c
Explanation: We can chose any one of the above attributes by setting switch for each of the attributes.

9. We can check the attribute values by
a) Stating the name of the attribute in the inquiry function
b) Setting attribute values
c) Both a and b
d) Neither a nor b

Answer: a
Explanation: We can check the attribute values by stating the name of the attribute in the inquiry function.

10. A particular text index value is chosen with the function
a) setTextIndex()
b) settextindex(ti)
c) SetTextIndex(ti)
d) setTextIndex(ti)

Answer: d
Explanation: The function setTextIndex(ti) is used to chose the particular text index value.