Review each question and reveal answers to strengthen your understanding
1Can you specify the location of a light source in OpenGL?
✅ Correct Answer: 3
2What is a VA or VAO?
✅ Correct Answer: 3
3What should be done to rotate around a point that is not the origin?
✅ Correct Answer: 1
4What does Open GLSL stand for?
✅ Correct Answer: 3
5What does glMaterialf(…) do?
✅ Correct Answer: 2
6In OpenGL, what is a “stencil buffer�
✅ Correct Answer: 2
7What kind of polygons work best in a VBO intended for modeling a solid?
✅ Correct Answer: 1
8What components make up a light source in OpenGL?
✅ Correct Answer: 2
9What kind of data is stored in a VBO?
✅ Correct Answer: 2
10When animating, OpenGL provides:
✅ Correct Answer: 3
11What are the valid operations provided to glStencilOp?
✅ Correct Answer: 1
12What is transformation?
✅ Correct Answer: 3
13Generally, what primitive polygon is used for creating a mesh to represent a complex object?
✅ Correct Answer: 3
14If lighting is disabled, which function specifies the color of the vertex?
✅ Correct Answer: 3
15What is the difference between glColor3d and glColor3f?
✅ Correct Answer: 3
16What is an FBO?
✅ Correct Answer: 4
17Which function call sets up the size of the output area?
✅ Correct Answer: 1
18Why are many functions deprecated in the OpenGL specification?
✅ Correct Answer: 2
19Is ambient light possible in OpenGL?
✅ Correct Answer: 1
20What are “texture coordinates†used for?
✅ Correct Answer: 3
21OpenGL stands for:
✅ Correct Answer: 2
22What kind of data is stored in a VAO?
✅ Correct Answer: 4
23What happens to variables that aren’t used in outputs of a GLSL fragment shader?
✅ Correct Answer: 2
24What is the use of a shared context?
✅ Correct Answer: 1
25If a coordinate system (CS1) is transformed into another coordinate system (CS2) using a matrix M, is it possible to go from CS2 to CS1 and how?
✅ Correct Answer: 2
26If a coordinate system (CS1) is transformed into another coordinate system (CS2) using a matrix M, is it possible to go from CS2 to CS1 and how?
✅ Correct Answer: 2
27What is a VBO?
✅ Correct Answer: 2
28What is a “depth buffer†and what does it accumulate?
✅ Correct Answer: 1
29Does OpenGL provide modeling primitives such as a cube, cone, pyramid?
✅ Correct Answer: 3
30Does OpenGL use a client-server model and a state machine?
✅ Correct Answer: 2
31What are the “red†book, “blue†book and “orange†book?
✅ Correct Answer: 3
32What organization is currently responsible for OpenGL’s standardization and development?
✅ Correct Answer: 1
33What is the purpose of GL_REPEAT?
✅ Correct Answer: 1
34In order to obtain correct calculations for shading, what is the best length for normals of an object?
✅ Correct Answer: 2
35Why clear a buffer?
✅ Correct Answer: 3
36What are the four major types of shaders available in OpenGL 4.0?
✅ Correct Answer: 2
37What does glViewport do?
✅ Correct Answer: 3
38What are the two types of shaders?
✅ Correct Answer: 2
39In the best practice, what code should appear at the top of a GLSL shader?
✅ Correct Answer: 3
40What are X,Y,Z,S,T,U and V?
✅ Correct Answer: 3
41What is the use of glGet?
✅ Correct Answer: 2
42What do the values “Râ€, “Gâ€, “B†and “A†mean in the context of color in OpenGL?
✅ Correct Answer: 3
43What are GLUT, GLU, GLEW, GLFW, SFML, GLX, GLEE?
✅ Correct Answer: 4
44What kind of vertex array is NOT provided by OpenGL?
✅ Correct Answer: 1
45What happens when an object to be drawn is not within the current viewport?
✅ Correct Answer: 4
46What are the four types of clearable buffers?
✅ Correct Answer: 4
47What function is required in every GLSL shader program?
✅ Correct Answer: 3
48What is glVertextPointer(…) used for?
✅ Correct Answer: 3
49What are the dimensions of a 2D transformation matrix?
✅ Correct Answer: 1
50What are EXT and ARB?
✅ Correct Answer: 3
51What do the letters “ARB†mean in the context of OpenGL?
✅ Correct Answer: 4
52How do you activate a shader program in OpenGL?
✅ Correct Answer: 2
53When do you use glFlush and glFinish?
✅ Correct Answer: 3
54What are the primitive types available to a glBegin statement? Note: this question is often flagged by test takers. Read carefully and choose wisely, there is only one correct answer.
✅ Correct Answer: 1
55Which is better to use for dynamic drawing?
✅ Correct Answer: 3
56Once shading is enabled, what happens to glColor() calls?
✅ Correct Answer: 2
57What is the purpose of a MIPMAP?
✅ Correct Answer: 4
58What kind of argument is expected in a function ending with a “v�
✅ Correct Answer: 1
59Is it possible to perform a reflection of an object across a specified axis?
✅ Correct Answer: 3
60The current version of OpenGL does support materials?
✅ Correct Answer: 2
61What kind of coordinates are used in order to represent a transformation as a matrix multiplication operation?
✅ Correct Answer: 1
62What is glTexCoord*() used for?
✅ Correct Answer: 2
63What happens in immediate mode?
✅ Correct Answer: 3
64What purpose does the “Scissor Test†serve?
✅ Correct Answer: 4
65How many texture units are there in OpenGL?
✅ Correct Answer: 2
66Which is a function NOT used for rendering vertex arrays?
✅ Correct Answer: 3
67What does the Blend Equation do?
✅ Correct Answer: 2
68How many cycles does it theoretically take for a single OpenGL call?
✅ Correct Answer: 4
69Does function deprecation stop older applications from working with newer versions of OpenGL?
✅ Correct Answer: 4
70What do you have to do to get “compatibility mode†in OpenGL?
✅ Correct Answer: 4
71Which is better to use for static drawing?
✅ Correct Answer: 1
72What is the “workshop†name for the type of geometry and texture effects used in commercial gaming as part of OpenGL (and DirectX)?
✅ Correct Answer: 4
73What is the use of glOrtho?
✅ Correct Answer: 4
74What is “immediate mode�
✅ Correct Answer: 3
75What is the purpose of calls to glLogicOp(GLenum opcode)?
✅ Correct Answer: 1
76What is the non-official name for glBlendFunc(GL_SRC_ALPHA, GL_ONE)?
✅ Correct Answer: 4
77Is a new coordinate system created with every transformation applied, e.g., translate or rotate?
✅ Correct Answer: 3
78What are the native image formats supported by OpenGL?
✅ Correct Answer: 2
79Let us scale a straight, horizontal line by a factor of 2 through using glScale(2.0f,0.0f,0.0f). This line consists of only 2 points, left and right point. Which point(s) moves due to the scale transformation?