Docsity

H2CD 12 Computer Games: Programming ExamMastery, Exams of Technology

Partial preview of the text

Download H2CD 12 Computer Games: Programming ExamMastery and more Exams Technology in PDF only on Docsity!

H2CD 12 Computer Games:

Programming

Question 1 A candidate assigns "Finite state machines and behavior trees" to

transformations and "Translation, rotation, scaling, matrices, and

quaternions" to npc logic. Which correction resolves the reversed

associations?

A. Keep both original associations unchanged. B. Assign both descriptions only to data structures. C. Associate translation, rotation, scaling, matrices, and quaternions with transformations, and finite state machines and behavior trees with npc logic. D. Assign both descriptions only to architecture. Correct Answer: C

Full Explanation: Transformations concerns translation, rotation, scaling, matrices, and quaternions. By comparison, npc logic concerns finite state machines and behavior trees. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 2 A learner has confused deployment with input. Which statement

restores the relevant distinction?

A. The first concerns packaging and building for desktop, mobile, console, or web; the second concerns polling, events, mapping, bindings, and device abstraction. B. The first concerns polling, events, mapping, bindings, and device abstraction; the second concerns packaging and building for desktop, mobile, console, or web. C. Both refer specifically to initialization, update, render, and cleanup. D. Both refer specifically to frame rates, delta time, and fixed timesteps. Correct Answer: A

Full Explanation: Deployment concerns packaging and building for desktop, mobile, console, or web. By comparison, input concerns polling, events, mapping, bindings, and device abstraction. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 5 A candidate assigns "A star, Dijkstra, and navigation meshes" to

collision detection and "AABB, spheres, raycasts, and separating

axis methods" to pathfinding. Which correction resolves the

reversed associations?

A. Assign both descriptions only to game loop. B. Keep both original associations unchanged. C. Associate aabb, spheres, raycasts, and separating axis methods with collision detection, and a star, dijkstra, and navigation meshes with pathfinding. D. Assign both descriptions only to visual assets. Correct Answer: C

Full Explanation: Collision detection concerns aabb, spheres, raycasts, and separating axis methods. By comparison, pathfinding concerns a star, dijkstra, and navigation meshes. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 6 A reviewer sees "Client-server, peer-to-peer, TCP, UDP, sockets,

and latency" grouped with "Languages, IDEs, version control, and

builds" under one heading. Which two-focus organization best

separates the concepts?

A. Development tools and Timing B. Game loop and Timing C. Networking and Game loop D. Networking and Development tools Correct Answer: D

Full Explanation: Networking concerns client-server, peer-to-peer, tcp, udp, sockets, and latency. By comparison, development tools concerns languages, ides, version control, and builds. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 7 A candidate says the terms steering and gameplay sensing are

interchangeable because they cover the same specific content.

Which evidence best challenges that claim?

A. Both can be defined exclusively as frame rates, delta time, and fixed timesteps. B. Steering concerns seeking, fleeing, arriving, wandering, and avoidance, whereas gameplay sensing concerns line-of-sight, sensors, and trigger zones. C. Both can be defined exclusively as initialization, update, render, and cleanup. D. Steering concerns line-of-sight, sensors, and trigger zones, and gameplay sensing concerns seeking, fleeing, arriving, wandering, and avoidance. Correct Answer: B

Full Explanation: Steering concerns seeking, fleeing, arriving, wandering, and avoidance. By comparison, gameplay sensing concerns line-of-sight, sensors, and trigger zones. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 8 A reviewer sees "Client-server, peer-to-peer, TCP, UDP, sockets,

and latency" grouped with "Sprites, tilemaps, meshes, scene

graphs, and cameras" under one heading. Which two-focus

organization best separates the concepts?

A. Networking and Visual assets B. Networking and Data structures C. Data structures and Pathfinding D. Visual assets and Pathfinding Correct Answer: A

Full Explanation: Networking concerns client-server, peer-to-peer, tcp, udp, sockets, and latency. By comparison, visual assets concerns sprites, tilemaps, meshes, scene graphs, and cameras. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 11 A response about audio discusses "Initialization, update, render,

and cleanup" instead. Which diagnosis most accurately explains the

problem?

A. It has described timing rather than either named focus. B. It has correctly described audio. C. It has described development tools rather than either named focus. D. It has described game loop rather than the requested focus. Correct Answer: D

Full Explanation: Audio concerns positional sound, music, effects, mixers, and attenuation. By comparison, game loop concerns initialization, update, render, and cleanup. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 12 A candidate assigns "Modularity, coding standards, singleton,

components, observer, and state patterns" to visual assets and

"Sprites, tilemaps, meshes, scene graphs, and cameras" to

architecture. Which correction resolves the reversed associations?

A. Associate sprites, tilemaps, meshes, scene graphs, and cameras with visual assets, and modularity, coding standards, singleton, components, observer, and state patterns with architecture. B. Assign both descriptions only to data structures. C. Assign both descriptions only to npc logic. D. Keep both original associations unchanged. Correct Answer: A

Full Explanation: Visual assets concerns sprites, tilemaps, meshes, scene graphs, and cameras. By comparison, architecture concerns modularity, coding standards, singleton, components, observer, and state patterns. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 13 A short response must explain both "Saving, loading, and

serialization to JSON, XML, or binary" and "Inheritance,

polymorphism, encapsulation, and interfaces". Which pair of terms

should be distinguished to make that response precise?

A. Game loop / Timing B. Object orientation / Timing C. Persistence / Game loop D. Persistence / Object orientation Correct Answer: D

Full Explanation: Persistence concerns saving, loading, and serialization to json, xml, or binary. By comparison, object orientation concerns inheritance, polymorphism, encapsulation, and interfaces. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 14 Two entries describe these matters: (1) Arrays, lists, hashes,

graphs, trees, quadtrees, and octrees; (2) Languages, IDEs, version

control, and builds. Which ordered pair gives their most specific

headings?

A. Data structures; then Development tools B. Development tools; then Data structures C. Data structures; then NPC logic D. Visual assets; then Development tools Correct Answer: A

Full Explanation: Data structures concerns arrays, lists, hashes, graphs, trees, quadtrees, and octrees. By comparison, development tools concerns languages, ides, version control, and builds. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 17 A record headed "Optimization" already contains "Draw calls,

memory footprint, and CPU or GPU performance". A new entry

concerns "Modularity, coding standards, singleton, components,

observer, and state patterns". Where should the new entry be

classified most specifically?

A. Architecture B. Optimization C. NPC logic D. Synchronization Correct Answer: A

Full Explanation: Architecture concerns modularity, coding standards, singleton, components, observer, and state patterns. By comparison, optimization concerns draw calls, memory footprint, and cpu or gpu performance. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 18 A two-part review covers npc logic and synchronization. Which pair

of descriptions would provide directly relevant coverage of both?

A. Finite state machines and behavior trees; and Prediction, lag compensation, and shared state. B. Modularity, coding standards, singleton, components, observer, and state patterns; and Arrays, lists, hashes, graphs, trees, quadtrees, and octrees. C. Arrays, lists, hashes, graphs, trees, quadtrees, and octrees; and Prediction, lag compensation, and shared state. D. Finite state machines and behavior trees; and Modularity, coding standards, singleton, components, observer, and state patterns. Correct Answer: A

Full Explanation: NPC logic concerns finite state machines and behavior trees. By comparison, synchronization concerns prediction, lag compensation, and shared state. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 19 A short response must explain both "Arrays, lists, hashes, graphs,

trees, quadtrees, and octrees" and "Saving, loading, and

serialization to JSON, XML, or binary". Which pair of terms should

be distinguished to make that response precise?

A. Data structures / Visual assets B. Visual assets / NPC logic C. Persistence / NPC logic D. Data structures / Persistence Correct Answer: D

Full Explanation: Data structures concerns arrays, lists, hashes, graphs, trees, quadtrees, and octrees. By comparison, persistence concerns saving, loading, and serialization to json, xml, or binary. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 20 A short response must explain both "Prediction, lag compensation,

and shared state" and "Inheritance, polymorphism, encapsulation,

and interfaces". Which pair of terms should be distinguished to

make that response precise?

A. Object orientation / NPC logic B. Architecture / NPC logic C. Synchronization / Object orientation D. Synchronization / Architecture Correct Answer: C

Full Explanation: Synchronization concerns prediction, lag compensation, and shared state. By comparison, object orientation concerns inheritance, polymorphism, encapsulation, and interfaces. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 23 A two-part review covers visual assets and object orientation.

Which pair of descriptions would provide directly relevant coverage

of both?

A. Arrays, lists, hashes, graphs, trees, quadtrees, and octrees; and A star, Dijkstra, and navigation meshes. B. Sprites, tilemaps, meshes, scene graphs, and cameras; and Inheritance, polymorphism, encapsulation, and interfaces. C. Sprites, tilemaps, meshes, scene graphs, and cameras; and Arrays, lists, hashes, graphs, trees, quadtrees, and octrees. D. A star, Dijkstra, and navigation meshes; and Inheritance, polymorphism, encapsulation, and interfaces. Correct Answer: B

Full Explanation: Visual assets concerns sprites, tilemaps, meshes, scene graphs, and cameras. By comparison, object orientation concerns inheritance, polymorphism, encapsulation, and interfaces. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 24 A review must distinguish optimization from timing. Which division

of focus is accurate?

A. Optimization: Pipelines, frame buffers, graphics APIs, and engines. Timing: Draw calls, memory footprint, and CPU or GPU performance. B. Optimization: Frame rates, delta time, and fixed timesteps. Timing: Draw calls, memory footprint, and CPU or GPU performance. C. Optimization: Draw calls, memory footprint, and CPU or GPU performance. Timing: Frame rates, delta time, and fixed timesteps. D. Optimization: Frame rates, delta time, and fixed timesteps. Timing: Initialization, update, render, and cleanup. Correct Answer: C

Full Explanation: Optimization concerns draw calls, memory footprint, and cpu or gpu performance. By comparison, timing concerns frame rates, delta time, and fixed timesteps. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 25 An explanation covers "Allocation, garbage collection, and object

pooling" but is also expected to address game loop. Which

additional content is most directly needed?

A. Initialization, update, render, and cleanup B. Languages, IDEs, version control, and builds C. Frame rates, delta time, and fixed timesteps D. Allocation, garbage collection, and object pooling Correct Answer: A

Full Explanation: Memory concerns allocation, garbage collection, and object pooling. By comparison, game loop concerns initialization, update, render, and cleanup. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 26 Two entries describe these matters: (1) Translation, rotation,

scaling, matrices, and quaternions; (2) Seeking, fleeing, arriving,

wandering, and avoidance. Which ordered pair gives their most

specific headings?

A. Transformations; then Timing B. Transformations; then Steering C. Steering; then Transformations D. Game loop; then Steering Correct Answer: B

Full Explanation: Transformations concerns translation, rotation, scaling, matrices, and quaternions. By comparison, steering concerns seeking, fleeing, arriving, wandering, and avoidance. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 29 The heading testing is incorrectly attached to "Finite state

machines and behavior trees". Which revision preserves the

relevant meaning of both npc logic and testing?

A. Use testing for both descriptions. B. Use architecture for that description and remove npc logic. C. Use npc logic for that description, and reserve testing for debugging, breakpoints, logging, profiling, and automated tests. D. Use data structures for both descriptions. Correct Answer: C

Full Explanation: NPC logic concerns finite state machines and behavior trees. By comparison, testing concerns debugging, breakpoints, logging, profiling, and automated tests. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 30 A review must distinguish development tools from transformations.

Which division of focus is accurate?

A. Development tools: Languages, IDEs, version control, and builds. Transformations: Translation, rotation, scaling, matrices, and quaternions. B. Development tools: Translation, rotation, scaling, matrices, and quaternions. Transformations: Frame rates, delta time, and fixed timesteps. C. Development tools: Initialization, update, render, and cleanup. Transformations: Languages, IDEs, version control, and builds. D. Development tools: Translation, rotation, scaling, matrices, and quaternions. Transformations: Languages, IDEs, version control, and builds. Correct Answer: A

Full Explanation: Development tools concerns languages, ides, version control, and builds. By comparison, transformations concerns translation, rotation, scaling, matrices, and quaternions. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 31 A short response must explain both "Packaging and building for

desktop, mobile, console, or web" and "Delegates and decoupled

game systems". Which pair of terms should be distinguished to

make that response precise?

A. Game loop / Timing B. Deployment / Events C. Events / Timing D. Deployment / Game loop Correct Answer: B

Full Explanation: Deployment concerns packaging and building for desktop, mobile, console, or web. By comparison, events concerns delegates and decoupled game systems. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 32 An explanation covers "A star, Dijkstra, and navigation meshes" but

is also expected to address audio. Which additional content is most

directly needed?

A. Positional sound, music, effects, mixers, and attenuation B. A star, Dijkstra, and navigation meshes C. Sprites, tilemaps, meshes, scene graphs, and cameras D. Initialization, update, render, and cleanup Correct Answer: A

Full Explanation: Pathfinding concerns a star, dijkstra, and navigation meshes. By comparison, audio concerns positional sound, music, effects, mixers, and attenuation. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 35 An explanation covers "Dot and cross products and normalization"

but is also expected to address synchronization. Which additional

content is most directly needed?

A. Dot and cross products and normalization B. Modularity, coding standards, singleton, components, observer, and state patterns C. Prediction, lag compensation, and shared state D. Finite state machines and behavior trees Correct Answer: C

Full Explanation: Vector mathematics concerns dot and cross products and normalization. By comparison, synchronization concerns prediction, lag compensation, and shared state. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 36 Two entries describe these matters: (1) Inheritance, polymorphism,

encapsulation, and interfaces; (2) Initialization, update, render, and

cleanup. Which ordered pair gives their most specific headings?

A. Object orientation; then Game loop B. Object orientation; then Development tools C. Game loop; then Object orientation D. Timing; then Game loop Correct Answer: A

Full Explanation: Object orientation concerns inheritance, polymorphism, encapsulation, and interfaces. By comparison, game loop concerns initialization, update, render, and cleanup. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 37 A review contains an accurate account of input: "Polling, events,

mapping, bindings, and device abstraction". Which separate

description would correctly address networking?

A. Client-server, peer-to-peer, TCP, UDP, sockets, and latency B. Polling, events, mapping, bindings, and device abstraction C. Frame rates, delta time, and fixed timesteps D. Initialization, update, render, and cleanup Correct Answer: A

Full Explanation: Networking concerns client-server, peer-to-peer, tcp, udp, sockets, and latency. By comparison, input concerns polling, events, mapping, bindings, and device abstraction. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.

Question 38 A two-part review covers data structures and vector mathematics.

Which pair of descriptions would provide directly relevant coverage

of both?

A. Sprites, tilemaps, meshes, scene graphs, and cameras; and Finite state machines and behavior trees. B. Finite state machines and behavior trees; and Dot and cross products and normalization. C. Arrays, lists, hashes, graphs, trees, quadtrees, and octrees; and Dot and cross products and normalization. D. Arrays, lists, hashes, graphs, trees, quadtrees, and octrees; and Sprites, tilemaps, meshes, scene graphs, and cameras. Correct Answer: C

Full Explanation: Data structures concerns arrays, lists, hashes, graphs, trees, quadtrees, and octrees. By comparison, vector mathematics concerns dot and cross products and normalization. The response must preserve these separate meanings: exchanging the descriptions changes which knowledge or activity is being discussed.