0% found this document useful (0 votes)
13 views5 pages

GP IMP MCQ Exam2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

GP IMP MCQ Exam2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1. What is Pygame primarily used for?

a) Web development
b) Game development
c) Database management
d) Mobile application development
Answer: b) Game development

2. Which language is Pygame written in?

a) Java
b) C#
c) Python
d) C++
Answer: c) Python

3. Unity is primarily used for which of the following?

a) Web application development


b) Game development
c) Data analysis
d) Operating system development
Answer: b) Game development

4. Which scripting language is mainly used in Unity?

a) Python
b) Ruby
c) C#
d) Java
Answer: c) C#

5. In Unity, what is the purpose of the Update() function?

a) Runs once when the game starts


b) Runs at a fixed frame rate
c) Runs once per frame
d) Handles input
Answer: c) Runs once per frame

6. Which of the following is an example of a 2D game developed using Pygame?

a) Space Invaders
b) Fortnite
c) Call of Duty
d) League of Legends
Answer: a) Space Invaders

7. Which of the following frameworks is not suitable for mobile game


development?

a) Unity
b) Unreal Engine
c) Pygame
d) Xamarin
Answer: c) Pygame

8. What are the common formats for 2D assets in game development?

a) PNG and JPG


b) PDF and DOC
c) WAV and MP3
d) EXE and DLL
Answer: a) PNG and JPG

9. Which tool is commonly used for creating 3D models in Unity games?

a) Blender
b) Photoshop
c) Notepad++
d) IntelliJ IDEA
Answer: a) Blender

10. What is the main purpose of the Rigidbody component in Unity?

a) Handle audio playback


b) Control user input
c) Implement physics-based movement
d) Render 3D graphics
Answer: c) Implement physics-based movement

11. In Pygame, how do you initialize all Pygame modules?

a) pygame.init()
b) pygame.start()
c) pygame.launch()
d) pygame.open()
Answer: a) pygame.init()
12. Which of the following is a valid music file format supported by Pygame for
sound effects?

a) PNG
b) MP3
c) XML
d) JSON
Answer: b) MP3

13. What is a key feature of multiplayer games in Unity?

a) Local-only gameplay
b) Networked play over the internet
c) No physics engine support
d) No asset integration
Answer: b) Networked play over the internet

14. What is an avatar in a video game context?

a) A sound effect
b) A 2D or 3D representation of the player
c) A game physics engine
d) A background image
Answer: b) A 2D or 3D representation of the player

15. Which of the following is essential for 3D game graphics programming?

a) Sprite sheets
b) Shaders
c) HTML
d) JSON files
Answer: b) Shaders

16. In Pygame, which method is used to quit the game loop?

a) pygame.close()
b) pygame.quit()
c) pygame.stop()
d) pygame.exit()
Answer: b) pygame.quit()

17. Which type of game would benefit most from isometric graphics?

a) Racing games
b) Puzzle games
c) Real-time strategy (RTS) games
d) Side-scrolling platformers
Answer: c) Real-time strategy (RTS) games

18. In Unity, what is a scene?

a) A level or environment in the game


b) A sound file
c) A script that manages game logic
d) A player model
Answer: a) A level or environment in the game

19. What is game physics in the context of game development?

a) The mathematical and physical rules governing objects in a game


b) The storyline of the game
c) The texture of 3D models
d) The color scheme of the game
Answer: a) The mathematical and physical rules governing objects in a game

20. Which of the following is not a popular engine for developing 3D games?

a) Unity
b) Unreal Engine
c) Godot
d) Bootstrap
Answer: d) Bootstrap

21. What is a tile-based game?

a) A game where objects are rendered in 3D


b) A game where the world is constructed from small, square blocks or tiles
c) A game with no levels
d) A game without graphics
Answer: b) A game where the world is constructed from small, square blocks or tiles

22. Which method is used to load an image in Pygame?

a) pygame.load()
b) pygame.image()
c) pygame.display()
d) pygame.image.load()
Answer: d) pygame.image.load()

23. Which component in Unity is responsible for rendering 3D objects?


a) AudioListener
b) Rigidbody
c) Collider
d) MeshRenderer
Answer: d) MeshRenderer

24. What is a typical role of game music and sound?

a) Only for aesthetic purposes


b) To create atmosphere and enhance immersion
c) To speed up the game
d) To render 3D objects
Answer: b) To create atmosphere and enhance immersion

25. Which of the following games is an example of a puzzle game?

a) Tetris
b) Counter-Strike
c) FIFA
d) Grand Theft Auto
Answer: a) Tetris

You might also like