CG Exam 2024
CG Exam 2024
Exam consist of 15 mulitchoice tasks, each chaving three questions with answers Yes or No. For
each correct answer you get 1 point and for three correct answers within one task there is 1 bonus
point. Thus, for each task it is possible to get 0, 1, 2, or 4 points. To pass the exam it is necessary
to get at least 30 points (half of all points).
Time: 60 minutes. Good luck!
□ (0, 0, 1)
□ (1, 1, 1)
□ (0, 0, 0)
Task 2. The following is true
□ In RGB model if we add a color with its complementary color we get white color
□ If (s,m,y) represents a color in CMY model, then (y,m,s) represents this color in RGB model
□ A gray color in RGB model has all components: red, green and blue of the same amount
Task 3. The following is true
□ There are two types of lights in computer graphics: ambient and diffuse
□ Ambient light has its source at (0, 0, 0)
□ Diffuse light is sourceless
Task 8. The normal vector to a face is neccesary
□ GL_TRIANGLES
□ GL_QUADS
□ GL_POLYGON
Task 10. If p = (1, 2, 3) and we apply tranfsormation glTranslatef(-1, -1, 2) to p, then
□ T R = RT
−1
□ the inverse transformation T is a translation
−1
□ the inverse transformation R is a rotation
Task 14. If DrawCube() is a function drawing a cube centered at (1, 1, 1), then