0% found this document useful (0 votes)
3 views2 pages

CG Exam 2024

The document outlines the structure and requirements for a Computer Graphics exam consisting of 15 multiple-choice tasks, each with three questions. Students earn points based on correct answers and need at least 30 points to pass. The exam duration is 60 minutes.

Uploaded by

avara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

CG Exam 2024

The document outlines the structure and requirements for a Computer Graphics exam consisting of 15 multiple-choice tasks, each with three questions. Students earn points based on correct answers and need at least 30 points to pass. The exam duration is 60 minutes.

Uploaded by

avara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name: ....................................................... 01.02.2024 r.

Computer Graphics – Exam

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!

Task 1. Complementary color to (1, 1, 0) in RGB model is

□ (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

□ Depth sort is an algorithm with image precision


□ In backface removal algorithm if the angle between the normal vector to a face of an object
and the vector to the viewer is between 0 and 90 degrees, then we do not remove this face

□ In object precision algorithms we compare objects with themselves


Task 4. Point (1, −2, 4) has the same homogeneous coordinates as a point

□ (3, −6, 12)


□ (−1, 2, −4)
□ (2, −1, 5)
Task 5. In homogeneous coordinates:

□ translation is a linear transformation


□ scaling is not a linear transformation
□ perspective projection is a linear transformation
Task 6. Consider the following lines in the program:
x+=3*cos(a);
y+=3*sin(a);

where (x, y) is a position and a some fixed angle. Then

□ equations define the move along a circle


□ the distance between current and the next position is 9
□ if a = 0, then the position does not change
Task 7. 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

□ to compute angle of incidence and reflection of a light


□ to use shading algorithms
□ to distinguish between front and the baco of a face
Task 9. To draw a triangle in OpenGL 2.1 we may use

□ GL_TRIANGLES
□ GL_QUADS
□ GL_POLYGON
Task 10. If p = (1, 2, 3) and we apply tranfsormation glTranslatef(-1, -1, 2) to p, then

□ the new position of p is (0, 1, 1)


□ the new position of p is (0, 1, 5)

□ the distance between new and old positions of p is 15
Task 11. The following is true

□ we use orthographic projection mainly for 3D graphics


□ we use perspective projection mainly for 2D graphics
□ orthographic projection may project cube to a rectangle
Task 12. Consider the following list of vertices: v1 (0,0,0); v2 (1,0,0); v3 (0,1,0); v4 (0,0,1). Then

□ the following list of faces: f1 1 2 3; f2 1 2 4; f3 1 3 4; f4 2 3 4; represents tetrahedron


□ The list: f 1 3 4 made of one face represents a triangle
□ The following list of lines: l1 1 2; l2 1 3; l3 1 4; represents edges of a triangle
Task 13. Let T be a translation by a nonzero vector and R a rotation by an angle 30o around some
vector. 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

□ glTranslatef(-1,0,2); DrawCube(); draws a cube centered at (0, 1, 3)


□ glRotatef(30,0,1,1); DrawCube(); draws a cube centered at (0, 0, 0)
□ glScalef(2,2,2); DrawCube(); draws a cube centered at (1, 1, 1)
Task 15. The following is true

□ In raster graphics image is made of rectangular pixels


□ Scaling changes the quality of an image in vector graphics
□ Rotation may change the quality of an obiect in raster graphics

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy