Game Programming Concepts Test Answer


What is a resource manager?
a. A system to free objects in a game
b. A system to add objects to a game
c. A system to load and free resources in a game
d. A system to simplify access to various resources in a game
e. A system to increase the loading speed
Which one in the following list is the usual correct game design for sound?
a. Music is played on the left speaker while sound effects are on the right one.
b. Music is played on the right speaker while sound effects are on the left one.
c. Music is played in stereo and sound effects are mixed above it.
d. None of the above
What is a state machine?
a. A programming language
b. A model of behavior composed of a finite number of states
c. A model of behavior composed of an infinite number of states
d. None of the above
What is pathfinding?
a. An algorithm used to find a route between A and B
b. An algorithm used to upload data rapidly
c. A client to server connection
d. None of the above
What is a quadric?
a. A 3D object which is hard coded
b. A D-dimensional hyper-surface defined as the locus of the zeros of a quadratic polynomial
c. A 3D object evaluated using tesselation
d. None of the above.
What is texture mapping?
a. A  technique to place a texture at a certain position
b. A method to create textures
c. A method to apply textures to a 3D model
d. A technique to adjust the perspective of textures
What is a singleton?
a. A design pattern that uses only static object methods
b. A design pattern that uses only non-static object methods
c. A design pattern that is used to restrict the instantiation of a class to one object
d. None of the above
The fundamental idea behind particles is that they are immune to physics laws (collisions, ...).
a. True
b. False
What is network endianess?
a. big endian
b. little endian
c. vax endian
d. None of the above
What is a particle system?
a. A technique consisting in using small chunks of memory
b. A technique to simulate certain phenomena like fire, smoke or dust
c. A rendering technique
d. A technique for generating particles
The UDP is an acknowledged protocol.
a. True
b. False
How many layers are there in the OSI model?
a. 1
b. 3
c. 5
d. 7
e. 9
What is back buffer?
a. It is a rendering mode for full screen interface
b. It is a graphic abstraction layer for rendering
c. It is a 3D display technology
d. It is the drawing target buffer in a double buffering system
e. None of the above
What is the base component of a 3D model?
a. Lines
b. Vertices
c. Surfaces
d. Cubes
e. Spheres
In a networked game, the client can be coded in C while the server is coded in Ruby.
a. True
b. False
A UDP client sends a packet to a server on port 80. The server responds using port 50'234 as source port. What will the result be?
a. It will always work.
b. The response packet might be blocked by state-full firewalls.
c. The server will crash when trying to use a different port.
d. None of the above
Which of the following is a good design?
a. Uploading a complete texture to the GPU for each frame
b. Uploading the texture once and, if part of it changes, uploading the changed sub textures
c. Uploading the texture once,and then, if it changes, uploading it again
d. Not using any texture for unfiltered images but drawing directly from the CPU at each frame (e.g. glDrawPixels)
What is true regarding lossy compression?
a. It has lower compression ratio than lossless compression
b. Compressing data and then decompressing it retrieves the same data
c. Compressing data and then decompressing it retrieves data that may well be different from the original
d. It removes most of the inaudible sounds to provide better compression
What does bump mapping do?
a. It flattens a texture
b. It adds a relief effect to a texture
c. It adds minor displacements to a surface
d. None of the above.
What is a data structure?
a. A list of values with names associated to them
b. An object array
c. An event list
d. None of the above
What is HDRR?
a. The application of multiple textures
b. The rendering of 3D scenes by using lighting calculations done in a larger dynamic range
c. A fast path to copy vertices to the video card
d. None of the above
What are the differences between anisotropic filtering and trilinear filtering?
a. Anisotropic filtering gives a better quality than trilinear filtering
b. Trilinear gives a better quality than Antisotropic filtering
c. Anisotropic filtering performs a linear interpolation
d. Trilinear filtering doesn't take the angle of vision into account
e. Trilinear filtering needs more bandwidth than anisotropic filtering
What is mipmapping?
a. A technique to increase the quality of textures
b. A technique that decreases or increases the resolution of a texture depending on the distance between the point of view and the textured object
c. A technique to resize textures
d. A technique to apply textures
What is the usual MTU for ethernet networks?
a. 1000
b. 1500
c. 2030
d. 9000
What is true regarding DirectX and OpenGL?
a. DirectX is a collection of API for games programming.
b. DirectX is much faster than OpenGL.
c. DirectX is more frequently used in professional graphics.
d. OpenGL is an open standard.
e. OpenGL is multi-platform.
What is a physics engine?
a. A piece of code regulating 3D models
b. A simulation using Newtonian physics models
c. A visual effect
d. None of the above
What is double buffering?
a. A technique to minimize flickering
b. A technique to make rendering faster
c. An image loading technique
d. None of the above
What is a GPU?
a. A random number generator
b. A dedicated graphic processor
c. A special memory used for network buffers
d. None of the above
Why is the TCP protocol considered a reliable protocol?
a. Because it is widely used
b. Because it is acknowledged by routers
c. Because it is acknowledged by both peers
d. TCP is not reliable, UDP is
e. None of the above
What is a vertex buffer object?
a. An OpenGL extension that provides methods for uploading data to a video device for non-immediate-mode rendering
b. A Direct3D extension that provides methods for uploading data to a video device for non-immediate-mode rendering
c. A particle engine
d. None of the above
What is the Gilbert-Johnson-Keerthi algorithm used for?
a. Collision detection
b. Texture uploading
c. File compression
d. Network priority queue
Shadow volumes use per-pixel lighting.
a. True
b. False
What is Havok Physics?
a. A physics SDK created by Havok
b. A special way to handle game physics with quaternion
c. A collision detection algorithm
d. None of the above
What is the following 4x4 matrix called?

1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
a. Unary matrix
b. Normalized matrix
c. Identity matrix
d. Reverse matrix
e. None of the above
Which ones in the following file format list are lossless file formats?
a. FLAC
b. mp3
c. aac
d. aiff
e. ogg
What's an asset?
a. Money needed to fund the game
b. A compressed file
c. Everything that is used in a game (sounds, textures, sprites...).
d. None of the above
What are shadow volumes?
a. Shadow volumes are a technique used in 3D computer graphics to add shadows to a rendered scene.
b. Shadow volumes are a fast way to add shadows to a 3D scene.
c. Shadow volumes are a very slow way to add shadows to a 3D scene.
d. None of the above.
How much memory will an 8 bit per channel RGBA texture of 256x256 pixels take?
a. 2Mbytes
b. 2Mbit
c. 2Moctet
d. 2Kbytes
What is a cross product?
a. The product of two floats
b. The product of two vectors
c. The product of two matrices
d. The product of two ints
e. None of the above
What is a bones system?
a. A technique in modeling to animate a 3D model
b. A skeleton used for the animation of a 3D model
c. A skeletal animation
d. A technique to create a 3D model
What is a mesh?
a. A visual effect
b. A 3D model part
c. The physical representation of a 3D model
d. None of the above
What is the result of a dot product?
a. A vector
b. A scalar
c. A matrix
d. None of the above
Which of the following are antialiasing techniques?
a. Supersampling
b. Adaptivesampling
c. Multisampling
d. Fastsampling
e. Cubicsampling
What are pbuffers?
a. Point buffer objects
b. Pixel buffer objects
c. Particle buffer objects
d. None of the above
A particle engine can be done using either vertices or fragments.
a. True
b. False
What is scanlines rendering?
a. A fast way to access an image
b. A black and white effect
c. An algorithm for visible surface determination
d. A technique to create a blur effect
e. None of the above
What is texture mapping?
a. A  technique to place a texture at a certain position
b. A method to create textures
c. A method to apply textures to a 3D model
d. A technique to adjust the perspective of textures
What is rasterization?
a. Collision detection
b. Texture mapping
c. The task of taking an image described in a vector graphics format and converting it into pixels
d. None of the above
Which one of the following languages can easily be embedded into a game engine?
a. C
b. Perl
c. lua
d. Java
e. Objective-C
What is framerate?
a. The number of frames in a game
b. The monitor refresh rate
c. The number of times an image is rendered per second
d. None of the above
What is a sprite?
a. A fairy
b. An image or animation that is integrated into a larger scene
c. A 3d model
d. None of the above
What is the utility of z-buffering?
a. Z-buffering is used to solve the problem of deciding which elements of a rendered scene are visible and which are hidden
b. Z-buffering is used to render a texture
c. Z-buffering is used to render distant objects
d. None of the above
What is UV Mapping?
a. A mathematical model of a surface
b. The process of painting vertices
c. A 3D modeling process to make a 2D image represent a 3D model
d. None of the above
What is a garbage collector?
a. A visual effect
b. A form of automatic memory management
c. A form of manual memory management
d. A reference count based memory management
e. None of the above
What is an audio sample?
a. A 30 second demo of a sound
b. A very short piece of sound samples which, when assembled together, represent a sound numerically
c. The name of a file ready to be loaded into a game engine
d. None of the above
What is VRAM?
a. Video memory
b. A dual-ported variant of DRAM
c. A special memory once used to store the frame buffer
d. None of the above
What primitive is used to draw particles?
a. points
b. lines
c. quads
d. triangles
e. Any primitive may be used depending on the situation
What is a vector?
a. A complex number
b. A couple of 2 numbers
c. A geometric object with a weight and a length
d. A geometric object which has both a magnitude and a direction
What is parallax mapping?
a. A vertices mapping technique
b. A ray tracing technique
c. An enhancement of the bump mapping technique
d. A renderer
e. None of the above
A texture is composed of fragments.
a. True
b. False
What is a shader?
a. A way of uploading vertices to the GPU
b. A memory effect
c. A list of renderer instructions to produce certain visual effects
d. A smooth visual effect
e. None of the above
What is a hash table?
a. A value array
b. A data structure that associates keys with values
c. A list of values
d. A data structure that associates values with keys
e. None of the above
What is object oriented programming?
a. An attempt to aid programmers in the separation of concerns like cross-cutting concerns
b. A programming paradigm that uses "objects" and their interactions to design applications and computer programs
c. A paradigm based on policies
d. None of the above
Which of the following are multivariate interpolations?
a. Nearest neighbor
b. Bicubic
c. Bilinear
d. Inverse distance weighting
e. Kriging
f. All of the above
What does the following statement describe?
It renders the scene from the light point of view, in a depth texture; then it renders the scene again from the camera point of view using the depth texture to determine if a pixel is in shadow or not.
a. Collision detection
b. Depth mapping
c. Shadow mapping
d. Texture mapping
e. None of the above
What is a lightmap?
a. A texture describing the displacement of a surface
b. A texture describing the brightness of a surface
c. A texture describing the bump of a surface
d. None of the above
What is an event queue?
a. A synchronous communication protocol
b. A mail system
c. A message queue used for inter-process or inter-thread communication
d. None of the above
What is multitexturing?
a. A process to apply different textures alternately to the same surface
b. An algorithm to apply many different textures to the same surface at the same time
c. Neither of the above.
What does dereferencing mean in C?
a. Accessing a pointer's value
b. Accessing the value pointed by a pointer
c. Adding a second reference to a pointer
d. None of the above
What is RAMDAC?
a. A second video ram for 3D objects
b. A fast video ram
c. A memory that contains the textures
d. A memory storing the color pallet and a converter to generate an analog signal
What is 3D audio?
a. 3D audio is a technique used to add sound to a 3D environment.
b. 3D audio is a sound effect that creates the illusion of multiple sound sources placed anywhere in the 3D space.
c. 3D audio is a special effect that makes sound like in a specific place.
d. None of the above.
What is a MIDI file?
a. A regular audio file
b. An audio file containing sound waves
c. A file containing instructions for instrument synthesizers
d. An image file
e. None of the above
What is a particle emitter?
a. The destination of the particles
b. The origin of the particles
c. The orbits of the particles
d. None of the above
How many 3 dimension vectors are needed to position and orient an object in space?
a. 1
b. 2
c. 3
d. 4
e. 5
What is a graphical projection?
a. A protocol by which an image of a 3D object is projected onto a planar surface
b. A technique to display a surface in a 3D scene
c. A protocol by which an image of a 2D object is projected onto a 3D scene
d. None of the above.
While using RGBA, what is the color of #ff00ff80?
a. Semi-transparent red
b. Semi-transparent magenta
c. Semi-transparent blue
d. Semi-transparent yellow
e. Semi-transparent orange
What's a timer?
a. An entity which represents a task to be executed at a regular interval
b. A list of functions
c. A rapid function
d. None of the above
What is portal rendering?
a. A visibility determination algorithm
b. A shadowing technique
c. A collision detection algorithm
d. None of the above
What is IEC 60559
a. A file format
b. A network protocol
c. A floating point standard
d. None of the above