Question
QUESTION 1 In Pygame, to specify the color red we use the tuple (0, 255, 0) (255, 255, 255) (0, 0, 255) (255, 0, 0)
QUESTION 1
-
In Pygame, to specify the color red we use the tuple
(0, 255, 0)
(255, 255, 255)
(0, 0, 255)
(255, 0, 0)
QUESTION 2
-
Axis Aligned means that
both sides are aligned along the the x-axis
one side is aligned along the the x-axis and the other one is aligned along the y-axis.
both sides are aligned along the the y-axis
both sides are aligned along the the center of the object to be displayed
QUESTION 3
-
A game loop always have code that perform the following actions
Draw the game state to the screen
Validate user's input
Handle Eventes
Update the game state
Check for collision
QUESTION 4
-
The term CLI refers to
Command Line Interface
Character Language Implementation
Common Language Interface
Cheap Language Implementation
QUESTION 5
-
What library must be imported to use Pygame
graphics
games
python
pygame
QUESTION 6
-
The programming paradigm often used by graphics applications where it responds to events is called
sequencing
event handling
triggering
waiting
QUESTION 7
-
In Pygame, what is drawn on is considered a
surface
image
graphic
screen
QUESTION 8
-
In the command pygame.Rect(10, 20, 30, 40), the value 30 refers to
The height of the rectangle
The x-coordinate at the end of the rectangle
The y coordinate at the end of the rectangle
The width of the rectangle
QUESTION 9
-
One technique use to detect collision is to see if the axis aligned bounding boxes around objects intersect.
True
False
QUESTION 10
-
The term GUI refers to
Graphics Utility Interface
Gaming Utility Interface
Graphical User Interface
Gaming User Interface
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started