Week 2 - Pygame

Quiz
•
Computers
•
Professional Development
•
Medium
Coding Department
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to initialize all Pygame modules?
pygame.start()
pygame.load()
pygame.init()
pygame.begin()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does pygame.display.set_mode((600, 400)) do?
Creates a circle
Loads an image
Creates a game window of size 600x400
Starts the game loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does screen.fill((255, 255, 255)) do?
Draws a rectangle
Colors the screen white
Closes the screen
Clears the window
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of pygame.display.flip()?
Ends the game
Resets the screen
Updates the screen with all changes
Saves the game
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is used to create a rectangle in Pygame?
pygame.Rect()
pygame.draw.box()
pygame.Shape()
pygame.rect()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function draws a rectangle on screen?
pygame.rect()
pygame.draw.rect()
screen.rect()
draw.rectangle()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which shape is used to draw a ball?
pygame.draw.circle()
pygame.draw.ellipse()
pygame.draw.square()
pygame.draw.ball()
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Computer health and safety

Quiz
•
11th Grade - Professi...
10 questions
บทที่ 6 การใช้งานโปรแกรมระบบปฏิบัติการ Windows 10 เบื้องต้น

Quiz
•
Professional Development
11 questions
Pygame_hp4

Quiz
•
Professional Development
10 questions
TOWNHALL OCT.6

Quiz
•
Professional Development
10 questions
Very Hard HTML Quiz

Quiz
•
Professional Development
10 questions
Roblox

Quiz
•
Professional Development
10 questions
Checking Understanding

Quiz
•
Professional Development
14 questions
Green game Class 2: Assignment 2

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade