Computer Hardware and Networking MCQ Quiz Hub

Opengl Multiple Choice Questions.

Choose a topic to test your knowledge and improve your Computer Hardware and Networking skills

Can you specify the location of a light source in OpenGL?





✅ Correct Answer: 3

What is a VA or VAO?





✅ Correct Answer: 3

What should be done to rotate around a point that is not the origin?





✅ Correct Answer: 1

What does Open GLSL stand for?





✅ Correct Answer: 3

What does glMaterialf(…) do?





✅ Correct Answer: 2

In OpenGL, what is a “stencil buffer”?





✅ Correct Answer: 2

What kind of polygons work best in a VBO intended for modeling a solid?





✅ Correct Answer: 1

What components make up a light source in OpenGL?





✅ Correct Answer: 2

What kind of data is stored in a VBO?





✅ Correct Answer: 2

When animating, OpenGL provides:





✅ Correct Answer: 3

What are the valid operations provided to glStencilOp?





✅ Correct Answer: 1

What is transformation?





✅ Correct Answer: 3

Generally, what primitive polygon is used for creating a mesh to represent a complex object?





✅ Correct Answer: 3

If lighting is disabled, which function specifies the color of the vertex?





✅ Correct Answer: 3

What is the difference between glColor3d and glColor3f?





✅ Correct Answer: 3

What is an FBO?





✅ Correct Answer: 4

Which function call sets up the size of the output area?





✅ Correct Answer: 1

Why are many functions deprecated in the OpenGL specification?





✅ Correct Answer: 2

Is ambient light possible in OpenGL?





✅ Correct Answer: 1

What are “texture coordinates” used for?





✅ Correct Answer: 3

OpenGL stands for:





✅ Correct Answer: 2

What kind of data is stored in a VAO?





✅ Correct Answer: 4

What happens to variables that aren’t used in outputs of a GLSL fragment shader?





✅ Correct Answer: 2

What is the use of a shared context?





✅ Correct Answer: 1

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

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

What is a VBO?





✅ Correct Answer: 2

What is a “depth buffer” and what does it accumulate?





✅ Correct Answer: 1

Does OpenGL provide modeling primitives such as a cube, cone, pyramid?





✅ Correct Answer: 3

Does OpenGL use a client-server model and a state machine?





✅ Correct Answer: 2

What are the “red” book, “blue” book and “orange” book?





✅ Correct Answer: 3

What organization is currently responsible for OpenGL’s standardization and development?





✅ Correct Answer: 1

What is the purpose of GL_REPEAT?





✅ Correct Answer: 1

In order to obtain correct calculations for shading, what is the best length for normals of an object?





✅ Correct Answer: 2

Why clear a buffer?





✅ Correct Answer: 3

What are the four major types of shaders available in OpenGL 4.0?





✅ Correct Answer: 2

What does glViewport do?





✅ Correct Answer: 3

What are the two types of shaders?





✅ Correct Answer: 2

In the best practice, what code should appear at the top of a GLSL shader?





✅ Correct Answer: 3

What are X,Y,Z,S,T,U and V?





✅ Correct Answer: 3

What is the use of glGet?





✅ Correct Answer: 2

What do the values “R”, “G”, “B” and “A” mean in the context of color in OpenGL?





✅ Correct Answer: 3

What are GLUT, GLU, GLEW, GLFW, SFML, GLX, GLEE?





✅ Correct Answer: 4

What kind of vertex array is NOT provided by OpenGL?





✅ Correct Answer: 1

What happens when an object to be drawn is not within the current viewport?





✅ Correct Answer: 4

What are the four types of clearable buffers?





✅ Correct Answer: 4

What function is required in every GLSL shader program?





✅ Correct Answer: 3

What is glVertextPointer(…) used for?





✅ Correct Answer: 3

What are the dimensions of a 2D transformation matrix?





✅ Correct Answer: 1

What are EXT and ARB?





✅ Correct Answer: 3

What do the letters “ARB” mean in the context of OpenGL?





✅ Correct Answer: 4

How do you activate a shader program in OpenGL?





✅ Correct Answer: 2

When do you use glFlush and glFinish?





✅ Correct Answer: 3

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

Which is better to use for dynamic drawing?





✅ Correct Answer: 3

Once shading is enabled, what happens to glColor() calls?





✅ Correct Answer: 2

What is the purpose of a MIPMAP?





✅ Correct Answer: 4

What kind of argument is expected in a function ending with a “v”?





✅ Correct Answer: 1

Is it possible to perform a reflection of an object across a specified axis?





✅ Correct Answer: 3

The current version of OpenGL does support materials?





✅ Correct Answer: 2

What kind of coordinates are used in order to represent a transformation as a matrix multiplication operation?





✅ Correct Answer: 1

What is glTexCoord*() used for?





✅ Correct Answer: 2

What happens in immediate mode?





✅ Correct Answer: 3

What purpose does the “Scissor Test” serve?





✅ Correct Answer: 4

How many texture units are there in OpenGL?





✅ Correct Answer: 2

Which is a function NOT used for rendering vertex arrays?





✅ Correct Answer: 3

What does the Blend Equation do?





✅ Correct Answer: 2

How many cycles does it theoretically take for a single OpenGL call?





✅ Correct Answer: 4

Does function deprecation stop older applications from working with newer versions of OpenGL?





✅ Correct Answer: 4

What do you have to do to get “compatibility mode” in OpenGL?





✅ Correct Answer: 4

Which is better to use for static drawing?





✅ Correct Answer: 1

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

What is the use of glOrtho?





✅ Correct Answer: 4

What is “immediate mode”?





✅ Correct Answer: 3

What is the purpose of calls to glLogicOp(GLenum opcode)?





✅ Correct Answer: 1

What is the non-official name for glBlendFunc(GL_SRC_ALPHA, GL_ONE)?





✅ Correct Answer: 4

Is a new coordinate system created with every transformation applied, e.g., translate or rotate?





✅ Correct Answer: 3

What are the native image formats supported by OpenGL?





✅ Correct Answer: 2

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