Computer Graphics Questions & Answers – Color and Grayscale Levels

This section of our 1000+ Computer Graphics multiple choice questions focuses on Color and Grayscale Levels.

1. The color options are numerically coded with the following values.
a) Ranging from 0 through the positive integer
b) Ranging from 0 to 1
c) Ranging from 0 to -0
d) Only c

Explanation: Color options can have any value from 0 to any positive number.

2. In color raster system, the number of color choices available depends on
a) colors in frame buffer
b) Amount of storage provided per pixel in frame buffer
c) RGB color
d) Neither a nor b

Explanation: The amount of storage provided per pixels in frame buffer provides verity range of colors.

3. The color code “000” is for
a) White
b) Black
c) Blue
d) Green

Explanation: All zero means it is black color (the mixture of red, green and blue).

4. Color information can be stored in
a) Main memory
b) Secondary memory
c) Graphics card
d) Frame buffer

Explanation: The frame buffer is a space that is used to store the color information.

5. Whenever a particular color code is specified in an application program, the corresponding binary value is placed in?
a) Color look-up table
b) Directly in frame buffer
c) a or b
d) Video lookup table

Explanation: With the direct storage scheme, the binary values of color are stored in frame buffer.

6. The range that specifies the gray or grayscale levels is
a) The value range from -1 to 1
b) The value range from 0 to -1
c) The value range from 0 to 1
d) Any one of the above

Explanation: Any value ranging from 0 to 1 can specify grayscale levels.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

7. With 3 bits per pixel, we can accommodate 8 gray levels. If we use 8 bits per pixel then what is the value of gray levels?
a) 18 gray levels
b) 128 gray levels
c) 256 gray levels
d) No color

Explanation: 8 bits per pixel means 2 power 8 i.e. 256.

8. With the display intensity corresponding to a given color index ci calculated as
a) Intensity=0.5[max(r, g, b)+ max(r, g, b)]
b) Intensity=0.5[min(r, g, b)+ min(r, g, b)]
c) Intensity=0.5[max(r, g, b)- max(r, g, b)]
d) Intensity=0.5[min(r, g, b)+ max(r, g, b)]

Explanation: None.

9. A user can set color-table entries in a PHIGS application program with the function
a) setColourRepresentation (ws, ci, colorptr)
b) setColorRepresentation (ws, ci, colorptr)
c) setColour (ws, ci, colorptr)
d) setColourRepresentation ()

Explanation: By using setColourRepresentation (ws, ci, colorptr) we can set the color-table.

10. If any intensity input value near 0.33 would be stored as the binary value 1 in the frame buffer, then it displays
a) Dark green color
b) Light gray color
c) Dark gray color
d) White or black

Explanation: The intensity value 0.0 and 1 for black white respectively, and it is 0.33 for dark gray and 0.67 for light gray.

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]