Computer Hardware and Networking — Learn

Opengl Multiple Choice Questions.

Review each question and reveal answers to strengthen your understanding

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