Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

  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

  1. 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

  1. 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

  1. The term CLI refers to

    Command Line Interface

    Character Language Implementation

    Common Language Interface

    Cheap Language Implementation

QUESTION 5

  1. What library must be imported to use Pygame

    graphics

    games

    python

    pygame

QUESTION 6

  1. The programming paradigm often used by graphics applications where it responds to events is called

    sequencing

    event handling

    triggering

    waiting

QUESTION 7

  1. In Pygame, what is drawn on is considered a

    surface

    image

    graphic

    screen

QUESTION 8

  1. 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

  1. One technique use to detect collision is to see if the axis aligned bounding boxes around objects intersect.

    True

    False

QUESTION 10

  1. 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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions