
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
16 questions
LA3.C3: Variables

Quiz
•
9th Grade - University
20 questions
Microsoft Word

Quiz
•
9th - 12th Grade
20 questions
Adobe Illustrator Ch1-2

Quiz
•
9th - 12th Grade
15 questions
Roblox Studio concept review

Quiz
•
1st - 12th Grade
10 questions
Manging Files and Folders

Quiz
•
2nd - 10th Grade
10 questions
Keyboard Shortcuts and other tips

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

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

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade