
Pygame Tutorial 2 Quiz - Jumping & Boundaries

Quiz
•
Computers
•
10th Grade
•
Easy

Alex Song
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of setting boundaries in the Pygame tutorial?
To stop the rectangle from moving off the screen
To increase the speed of the rectangle
To allow the rectangle to move off the screen
To change the color of the rectangle
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to set up the display window in Pygame?
pygame.display.set_mode()
pygame.quit()
pygame.init()
pygame.draw.rect()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial value of the variable 'x' in the code?
0
50
500
100
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'vel' variable represent in the code?
The color of the rectangle
The size of the window
The position of the rectangle
The velocity or speed of movement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which key is used to initiate a jump in the Pygame tutorial?
Arrow Up
Space Bar
Arrow Down
Enter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'isJump' variable?
To change the color of the rectangle
To check if the rectangle is jumping
To check if the rectangle is moving left
To increase the size of the rectangle
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial value of 'jumpCount'?
5
10
15
20
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
PyGame (пайгейм) кітапханасы

Quiz
•
10th Grade
20 questions
UH Pygame - Vol. 1

Quiz
•
9th - 12th Grade
11 questions
Computer Programming: Graphics

Quiz
•
8th - 11th Grade
14 questions
LA6.C6: Graphics Window

Quiz
•
9th Grade - University
10 questions
Списки Python + Pygame

Quiz
•
KG - University
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
20 questions
اختبار حول النوافذ في VB.Net

Quiz
•
10th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
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