Uploaded by Eman Mohammed Hassanin

lec 2

advertisement
Which of the following best describes a color model?
A) is an abstract mathematical model describing the way colors can be represented as
tuples of numbers
B) A model that uses light for displaying colors
C) A model that uses printing inks for displaying colors
D) A model that represents colors as combinations of red, green, and blue light
What are the two basic foundations of computer graphics?
A) Coordinate systems and color models
B) Color components and color models
C) Coordinate systems and color components
D) Coordinate systems and color intensity
Which color model is an example of an additive color model?
A) RGB
B) CMYK
C) HSL
D) HSV
Which color model is an example of a subtractive color model?
A) RGB
B) CMYK
C) HSL
D) HSV
What are the color components in the RGB color model?
A) Red, green, and blue
B) Cyan, magenta, yellow, and black
C) Hue, saturation, and lightness
D) Hue, saturation, and value
How are colors produced in the RGB color model?
A) By varying the intensity of red, green, and blue light
B) By mixing printing inks
C) By adjusting hue, saturation, and lightness
D) By adjusting hue, saturation, and value
Which color model uses light for displaying colors?
A) RGB
B) CMYK
C) HSL
D) HSV
Which color model uses printing inks for displaying colors?
A) RGB
B) CMYK
C) HSL
D) HSV
What does the term "24-bit color" represent?
A) The representation of RGB colors using 8 bits per color component
B) The representation of CMYK colors using 8 bits per color component
C) The representation of HSL colors using 8 bits per color component
D) The representation of HSV colors using 8 bits per color component
How many different values can be represented by an 8-bit number?
A) 256
B) 128
C) 64
D) 32
What is the range of intensity values in the RGB color model?
A) Zero to one
B) Zero to 255
C) One to 100
D) One to 256
What does the color representation (1, 0.5, 0.5) mean in the RGB color model?
A) Full intensity of red, half intensity of green and half intensity of blue
B) Half intensity of red, full intensity of green and blue
C) Full intensity of red, green, and blue
D) Half intensity of red, green, and blue
What does the "H" stand for in HSV and HSL color models?
a. Hue
b. Saturation
c. Value
d. Lightness
As the value of H increases in HSV and HSL color models, how does the color change?
a. From red to yellow to green to cyan to blue to magenta
b. From red to yellow to green to blue to cyan to magenta
c. From red to green to blue
d. From yellow to red to blue
What is the range of the H value in HSV and HSL color models?
a. 0 to 100
b. 0 to 360
c. 0 to 255
d. 0 to 1
What does the "S" stand for in HSV and HSL color models?
a. Hue
b. Saturation
c. Value
d. Lightness
What does a saturation of 0 represent in HSV and HSL color models?
a. Pure color
b. Shade of gray
c. Brightness
d. Transparency
What does a saturation of 1 represent in HSV and HSL color models?
a. Shade of gray
b. Pure color
c. Brightness
d. Transparency
What does the "V" stand for in HSV color model?
a. Hue
b. Saturation
c. Value
d. Lightness
What does the "L" stand for in HSL color model?
a. Hue
b. Saturation
c. Value
d. Lightness
In which color model do the pure spectral colors occur for V=1?
a. HSV
b. HSL
c. RGB
d. HSVA
In which color model do the pure spectral colors occur for L=0.5?
a. HSV
b. HSL
c. RGB
d. HSVA
What is the purpose of the alpha component in RGBA and HSVA color models?
a. Represent transparency
b. Determine hue
c. Control saturation
d. Specify brightness
What does maximal alpha value represent in RGBA and HSVA color models?
a. Fully opaque color
b. Completely transparent color
c. Shade of gray
d. Pure color
How many bits are used to represent a color in an RGBA color model with 8 bits per component?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
What happens when you draw with a fully opaque foreground color on top of a background color?
a. The foreground color replaces the background color
b. The foreground color blends with the background color
c. The background color becomes transparent
d. The background color becomes opaque
How is the color computed when the alpha component ranges from 0 to 1?
a. colornew = alpha * colorfore + (1 - alpha) * colorback
b. colornew = alpha * colorback + (1 - alpha) * colorfore
c. colornew = alpha * (colorfore + colorback)
d. colornew = (1 - alpha) * (colorfore + colorback)
Which process in computer graphics involves describing each object in the scene as a set of small
polygons?
A) Modeling
B) Rendering
C) Displaying
D) Constructing
What is the purpose of the rendering process in computer graphics?
A) Building and constructing the scene from graphic data and algorithms
B) Converting the image into pixels and storing them in the frame buffer
C) Converting the scene description into a 2D representation (image)
D) Displaying the image using graphic cards and display devices
Which process in computer graphics involves converting the image into pixels and storing them in the
frame buffer?
A) Modeling
B) Rendering
C) Displaying
D) Constructing
What happens as the number of polygons increases in the modeling process of computer graphics?
A) The resolution becomes higher
B) The resolution becomes lower
C) The scene becomes more complex
D) The scene becomes less detailed
What is the technique that relies on object order rendering?
A) Rasterization algorithm
B) Image order rendering
C) Nested loops
D) Pixel computation
In image order rendering, where is the "for each pixel" loop positioned?
A) Inside the nested loops
B) Outside the nested loops
C) It doesn't exist in image order rendering
D) It is positioned randomly
What is one difference between object order rendering and image order rendering?
A) They have different performance characteristics
B) They use different pixel computation methods
C) They have distinct nested loops
D) They produce different kinds of effects
What is the purpose of the "for each object" loop in object order rendering?
A) It computes the pixel values
B) It updates all the pixels influenced by an object
C) It determines the performance characteristics
D) It influences the rendering technique
Which rendering technique is simpler to work with and offers more flexibility in producing effects?
A) Object order rendering
B) Image order rendering
C) Pixel computation
D) Nested loops
What is the first stage of the graphics pipeline responsible for?
A) Describing geometric objects as primitives.
B) Applying transformations to each vertex.
C) Computing lighting per vertex.
D) Generating shaded screen-space polygons.
What does the rasterization stage in the graphics pipeline do?
A) Breaks each primitive into several fragments.
B) Enumerates the pixels covered by the primitive.
C) Converts primitives into a raster image.
D) Interpolates values of primitive attributes to fragments.
What is the main task of the fragment processing stage in the graphics pipeline?
A) Processing the color of pixels.
B) Discarding fragments.
C) Storing fragments in the frame buffer.
D) Computing a color and depth for each fragment.
What does the blending stage in the graphics pipeline do?
A) Combines the fragments for each pixel.
B) Computes the final color of the fragment.
C) Produces a 2D image.
D) All of the above.
What is ray tracing used for?
A) Rendering 3D scenes.
B) Generating shaders.
C) Computing pixel colors.
D) Intersecting viewing rays with objects.
Which part of a basic ray tracer computes the origin and direction of each viewing ray?
A) Ray generation.
B) Ray intersection.
C) Shading.
D) None of the above.
What does the ray intersection part of a ray tracer do?
A) Computes the origin and direction of each viewing ray.
B) Finds the closest object intersecting the viewing ray.
C) Computes the pixel color.
D) None of the above.
What is the purpose of the shading part in a ray tracer?
A) Computing the origin and direction of each viewing ray.
B) Finding the closest object intersecting the viewing ray.
C) Computing the pixel color based on intersection results.
D) None of the above.
What is the purpose of the vertex processing stage in the graphics pipeline?
A) To convert primitives into raster images
B) To describe geometric objects as sets of vertices
C) To process the color of pixels and perform hidden surface removal
D) To combine fragments corresponding to each pixel
What is the role of the fragment processing stage in the graphics pipeline?
A) To describe geometric objects as sets of vertices
B) To convert primitives into a raster image
C) To process the color of pixels and perform hidden surface removal
D) To combine fragments corresponding to each pixel
What is the purpose of the blending stage in the graphics pipeline?
A) To convert primitives into a raster image
B) To process the color of pixels and perform hidden surface removal
C) To combine fragments corresponding to each pixel
D) To describe geometric objects as sets of vertices
Download