Unit 5: Gameplay components - Practice Quiz

CSE434 — Game Development In 3D 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What does 3D game development mainly involve?

Game Creation in 3D Easy
A. Creating games with sound only
B. Creating games with text only
C. Creating games with width, height, and depth
D. Creating games with two-dimensional sprites only

2 Which object is commonly used to represent a character in a 3D game?

Game Creation in 3D Easy
A. Audio track
B. Spreadsheet cell
C. Three-dimensional model
D. Text document

3 What is a 3D game environment?

Game Creation in 3D Easy
A. The list of game scores
B. The collection of player passwords
C. The space where the game takes place
D. The set of game sound effects

4 What is the purpose of lighting in a 3D game?

Game Creation in 3D Easy
A. To store player progress
B. To write character dialogue
C. To control the game score
D. To illuminate the game scene

5 What is an enemy in a game?

Adding Enemy to the Game Easy
A. A tool that saves the game
B. A character that challenges the player
C. A setting that changes the screen size
D. A menu that displays instructions

6 Which component usually gives an enemy its visible appearance?

Adding Enemy to the Game Easy
A. Score counter
B. Pause menu
C. Character model
D. Background music

7 What does an enemy's health value usually represent?

Adding Enemy to the Game Easy
A. The distance it can see
B. The number of sounds it can play
C. The size of its game model
D. The damage it can receive before defeat

8 What is a spawn point used for when adding an enemy?

Adding Enemy to the Game Easy
A. Displaying the player's score
B. Saving the enemy's settings
C. Choosing where the enemy appears
D. Changing the enemy's music

9 What is an AI behavior tree used for?

AI Behavior Trees Easy
A. Organizing an agent's decisions and actions
B. Creating textures for 3D objects
C. Designing the game's title screen
D. Recording the game's sound effects

10 What does a leaf node commonly represent in a behavior tree?

AI Behavior Trees Easy
A. The final game score
B. A specific action or condition
C. The entire game world
D. A collection of music files

11 Which behavior might an enemy perform in a behavior tree?

AI Behavior Trees Easy
A. Print a textbook
B. Resize the keyboard
C. Change the monitor brand
D. Patrol an area

12 What does a selector node generally do in a behavior tree?

AI Behavior Trees Easy
A. Chooses among possible behaviors
B. Stores the player's username
C. Plays every sound at once
D. Adds color to a character model

13 In a behavior tree, what can a condition check?

AI Behavior Trees Easy
A. Whether the monitor is powered off
B. Whether the player is nearby
C. Whether the computer has a logo
D. Whether the keyboard has a cable

14 What is a timeline-based cutscene?

Timeline-based Cutscenes Easy
A. A system for storing player passwords
B. A tool for creating keyboard shortcuts
C. A menu for changing screen resolution
D. A sequence of events arranged over time

15 What does a timeline track usually control?

Timeline-based Cutscenes Easy
A. The game's installation folder
B. The player's internet connection
C. An object's activity over time
D. The computer's storage capacity

16 What is a keyframe in a timeline?

Timeline-based Cutscenes Easy
A. A button used to exit the game
B. A saved value at a specific time
C. A sound played during every level
D. A file containing game instructions

17 Which element can be controlled by a cutscene timeline?

Timeline-based Cutscenes Easy
A. Camera movement
B. Keyboard language
C. Operating system updates
D. Computer battery charging

18 What is immersive storytelling in a game?

Immersive Storytelling Easy
A. Storytelling that replaces the game with a menu
B. Storytelling that uses only a score display
C. Storytelling that makes players feel part of the game world
D. Storytelling that removes all player interaction

19 Which feature can help make a game story more immersive?

Immersive Storytelling Easy
A. Unrelated error messages
B. Hidden system settings
C. Believable characters
D. Random keyboard layouts

20 How can the game environment support storytelling?

Immersive Storytelling Easy
A. By disabling all visual objects
B. By showing details about the world and its history
C. By hiding every character from the player
D. By displaying unrelated computer settings

21 A player can see through parts of a wall when the camera moves close to it. Which change most directly addresses this problem?

Game Creation in 3D Medium
A. Reduce the camera near clipping plane
B. Increase the camera movement speed
C. Disable shadows on the wall
D. Increase the wall texture resolution

22 A movable crate has a collider and a rigid body, but it passes through the floor when dropped at high speed. Which adjustment is most appropriate?

Game Creation in 3D Medium
A. Replace the crate material
B. Enable continuous collision detection
C. Increase the floor brightness
D. Disable gravity on the floor

23 A large 3D level experiences frame-rate drops because hundreds of distant decorative objects are rendered. Which technique is best suited to reduce this cost?

Game Creation in 3D Medium
A. Apply level-of-detail models
B. Increase the physics frequency
C. Use larger collision meshes
D. Add more dynamic lights

24 A character moves at noticeably different speeds on computers with different frame rates. How should its per-frame movement distance be calculated?

Game Creation in 3D Medium
A. Speed divided by object mass
B. Speed divided by camera distance
C. Speed multiplied by frame time
D. Speed multiplied by frame rate

25 An enemy should detect the player only when the player is nearby and not hidden behind a wall. Which combination should be used?

Adding Enemy to the Game Medium
A. Camera frustum and audio volume
B. Animation event and texture sampling
C. Distance check and line-of-sight raycast
D. Rigid body mass and trigger exit

26 A navigation-controlled enemy reaches the player's previous location but does not continue following the moving player. What should the enemy controller do?

Adding Enemy to the Game Medium
A. Update the destination at intervals
B. Reset the enemy health at intervals
C. Rotate the player toward the enemy
D. Rebuild the enemy mesh each frame

27 Several enemies spawn at exactly the same position and push one another into nearby walls. Which spawning method is most reliable?

Adding Enemy to the Game Medium
A. Choose validated points with clearance
B. Disable all enemy collision detection
C. Spawn enemies under the level floor
D. Increase every enemy's movement speed

28 An enemy attack animation plays, but the player takes damage before the weapon visually connects. What is the best correction?

Adding Enemy to the Game Medium
A. Apply damage when detection begins
B. Trigger damage with an animation event
C. Reduce the player's movement speed
D. Increase the enemy collider size

29 A Selector node has the children Attack, Chase, and Patrol in that order. How does it normally choose an action?

AI Behavior Trees Medium
A. It selects one child completely at random
B. It runs only the final child in the list
C. It runs the first child that succeeds
D. It runs every child at the same time

30 An enemy must first move within range, then face the player, and finally attack. Which behavior-tree composite best represents this ordered requirement?

AI Behavior Trees Medium
A. A Selector node
B. A random-choice node
C. A Sequence node
D. A parallel failure node

31 A chase branch should run only while the blackboard variable PlayerVisible is true. Which behavior-tree element should guard the branch?

AI Behavior Trees Medium
A. A conditional decorator
B. A skeletal animation
C. A navigation waypoint
D. A rendering material

32 An enemy continues a long patrol task even after seeing the player. Which change would make the AI react more quickly?

AI Behavior Trees Medium
A. Increase the patrol animation length
B. Abort patrol when perception changes
C. Lower the enemy model resolution
D. Add more waypoints to the patrol

33 A cutscene camera moves correctly in the editor, but not during gameplay because the track has no target. What is most likely missing?

Timeline-based Cutscenes Medium
A. A binding to the scene camera
B. A navigation mesh for the camera
C. A texture assigned to the timeline
D. A collider on the camera path

34 During a cutscene, the player can still move and disrupt the scene. Which solution best preserves the intended sequence?

Timeline-based Cutscenes Medium
A. Pause only the cutscene animations
B. Disable player input during playback
C. Remove the player's visual model
D. Increase the player's acceleration

35 A door must become permanently unlocked at a specific moment in a cutscene. Which timeline feature is best for invoking this gameplay event?

Timeline-based Cutscenes Medium
A. A signal or event marker
B. An ambient audio track
C. An animation transition clip
D. A camera blending curve

36 Two virtual cameras switch abruptly during a dialogue scene. Which adjustment would create a smoother visual transition?

Timeline-based Cutscenes Medium
A. Increase the dialogue volume
B. Shorten the camera clipping range
C. Add a timed camera blend
D. Disable character animations

37 A ruined laboratory should reveal its history without displaying a long text panel. Which approach best supports environmental storytelling?

Immersive Storytelling Medium
A. Explain every detail through a narrator
B. Display the entire history on entry
C. Arrange damaged equipment and recorded logs
D. Remove objects unrelated to combat

38 A game allows the player to spare or defeat a rival, but later scenes remain identical. What improvement would make the choice feel more meaningful?

Immersive Storytelling Medium
A. Hide the choice from the save system
B. Change later events based on the choice
C. Add more visual effects to the choice
D. Repeat the decision in every level

39 An urgent mission asks the player to rescue a character, but the player can spend hours on unrelated activities without consequences. Which change would reduce this narrative-gameplay conflict?

Immersive Storytelling Medium
A. Make all characters speak more slowly
B. Connect delays to believable consequences
C. Repeat the urgent dialogue more often
D. Add more unrelated optional activities

40 A companion repeatedly delivers the same emotional dialogue immediately after major events. Which design change would make the companion feel more responsive?

Immersive Storytelling Medium
A. Trigger dialogue at fixed short intervals
B. Select dialogue using recent story context
C. Play every available line in sequence
D. Use the same line with random volume

41 A 3D character moves uphill on a terrain mesh. Its controller uses world-space gravity and directly sets horizontal velocity each frame. The character intermittently becomes airborne when crossing steep slopes. Which change most directly preserves grounded motion while maintaining physically consistent gravity?

Game Creation in 3D Hard
A. Increase the character's downward acceleration
B. Project movement onto the ground tangent plane
C. Align movement with the camera's forward vector
D. Disable gravity while the character is grounded

42 A physics-based 3D game produces different results at 30 FPS and 120 FPS because forces are applied inside the render update loop. Which architecture best addresses the problem?

Game Creation in 3D Hard
A. Interpolate transforms before collision detection
B. Increase the rendering frame rate limit
C. Multiply all forces by the render delta time
D. Apply forces in a fixed-timestep physics loop

43 A large open-world scene uses high-resolution meshes for every visible object. Frame time increases sharply when the camera looks across the map, even though many objects are far away. Which solution most effectively targets the primary bottleneck?

Game Creation in 3D Hard
A. Use distance-based level-of-detail selection
B. Raise the texture anisotropic filtering level
C. Increase the shadow map resolution
D. Attach more scripts to nearby objects

44 A multiplayer 3D game must prevent clients from declaring impossible player positions while keeping movement responsive. Which design provides the strongest authority model?

Game Creation in 3D Hard
A. Each client accepts its own movement and broadcasts results
B. Clients exchange transforms and average conflicting positions
C. The server sends input while clients resolve all collisions
D. The server validates movement and clients predict locally

45 An enemy detects the player through a vision cone, but frequently loses and reacquires the target when the player moves near the cone boundary. Which design best prevents unstable state changes?

Adding Enemy to the Game Hard
A. Check visibility only when the enemy attacks
B. Increase the enemy's maximum movement speed
C. Use separate acquire and lose thresholds
D. Replace the vision cone with a larger sphere

46 Several enemies pursue the player through a narrow corridor and repeatedly block one another. Their navigation paths are individually valid, but group movement is ineffective. Which improvement best addresses the issue?

Adding Enemy to the Game Hard
A. Disable collision between the enemies and the player
B. Add local avoidance to global pathfinding
C. Give every enemy an identical target position
D. Increase the corridor's navigation mesh resolution

47 An enemy should investigate the last known player location after line of sight is lost, but it should resume patrolling if no evidence is found. Which implementation most reliably supports this behavior?

Adding Enemy to the Game Hard
A. Clear the target immediately when visibility is lost
B. Randomize the patrol route after every visibility check
C. Keep the enemy permanently locked onto the original target
D. Store the last known location with a timed investigation state

48 An enemy's attack animation lasts 1.2 seconds, but damage should occur at the exact weapon-contact frame and only once per swing. Which solution is most robust?

Adding Enemy to the Game Hard
A. Apply damage continuously while the animation plays
B. Apply damage when the animation state exits
C. Use an animation event with per-swing hit tracking
D. Apply damage when the attack state begins

49 A behavior tree contains a selector with children Attack, Chase, and Patrol. The Chase task returns Failure whenever the target is temporarily unreachable, causing the enemy to patrol instead of trying an alternative route. Which status change is most appropriate?

AI Behavior Trees Hard
A. Return Running forever after the target disappears
B. Return Failure immediately after the first path query
C. Return Success whenever the target is unreachable
D. Return Running while the route is being recovered

50 A behavior tree uses a reactive selector to choose between fleeing and attacking. While attacking, the enemy's health drops below the flee threshold, but the enemy continues the attack until completion. Which structural change best ensures immediate reprioritization?

AI Behavior Trees Hard
A. Increase the attack task's execution priority
B. Place the flee branch after the attack branch
C. Convert the selector into a sequence node
D. Use a conditional abort on the higher-priority flee branch

51 A behavior tree's FindCover task writes a cover position to the blackboard. Later, MoveToCover sometimes reads a stale position from a previous encounter. What is the best correction?

AI Behavior Trees Hard
A. Clear or invalidate the blackboard key before a new search
B. Run the entire behavior tree at a lower update rate
C. Store the cover position as a local animation variable
D. Increase the movement task's acceptance radius

52 A sequence node runs OpenDoor, MoveThroughDoor, and CloseDoor. If MoveThroughDoor fails because the player blocks the doorway, the enemy should retry movement without reopening the door. Which tree structure is most suitable?

AI Behavior Trees Hard
A. Place the movement task in a retry decorator
B. Place the closing task before the movement task
C. Wrap the entire sequence in a repeat decorator
D. Replace the sequence with a random selector

53 A behavior tree performs expensive perception queries every tick for 100 enemies, causing CPU spikes. Which optimization preserves responsiveness while reducing unnecessary work?

AI Behavior Trees Hard
A. Schedule perception updates with staggered intervals
B. Remove all blackboard updates from perception tasks
C. Replace perception queries with random target selection
D. Evaluate every enemy tree several times per frame

54 A timeline cutscene moves a door using animation, but gameplay code also modifies the door transform. On playback, the door snaps unpredictably when the timeline ends. Which approach best prevents this conflict?

Timeline-based Cutscenes Hard
A. Disable interpolation on the door track
B. Increase the timeline playback speed
C. Define explicit ownership and restore the gameplay state
D. Add more transform keyframes to the timeline

55 A cutscene must pause when the player opens a menu and resume at the same narrative position. Which timing strategy is most reliable?

Timeline-based Cutscenes Hard
A. Pause the cutscene clock and preserve track state
B. Convert all timeline tracks into fixed-duration animations
C. Continue advancing the timeline while rendering is paused
D. Restart the cutscene after the menu closes

56 A branching cutscene has dialogue, camera movement, and animation tracks. The player chooses a response during dialogue, but the next section starts one frame before the choice is registered. What design best avoids this race condition?

Timeline-based Cutscenes Hard
A. Move the choice prompt to the previous scene
B. Gate timeline continuation on a completed choice event
C. Poll the player's input from the camera track
D. Increase the dialogue track's playback duration

57 A timeline is authored at 60 FPS, but the game runs at variable frame rates. An object must reach its final position at exactly 5 seconds. Which method gives the most consistent result?

Timeline-based Cutscenes Hard
A. Advance the object by a fixed distance per frame
B. Trigger the final position after a fixed frame count
C. Evaluate animation using normalized timeline time
D. Multiply each keyframe value by the render frame rate

58 A horror game explains every threat through dialogue, reducing tension and player curiosity. Which redesign most strongly supports immersive storytelling?

Immersive Storytelling Hard
A. Use narration to explain each environmental sound
B. Display objective text describing every hidden threat
C. Add longer exposition scenes before each encounter
D. Expose environmental evidence before confirming its meaning

59 A story-critical conversation can be missed because the player explores another area. The designers want to preserve agency without making the narrative incoherent. Which solution is strongest?

Immersive Storytelling Hard
A. Pause all exploration until the conversation is completed
B. Teleport the player back whenever the conversation begins
C. Repeat the identical conversation after every objective
D. Use state-based consequences with alternate information paths

60 An interactive scene requires the player to walk toward a character, but a non-player character must reach the same location at nearly the same time. Which design best preserves the player's sense of control and scene credibility?

Immersive Storytelling Hard
A. Force both characters along identical transform tracks
B. Teleport the non-player character at the interaction frame
C. Freeze the player until the non-player character arrives
D. Use soft spatial constraints and synchronize through events