Python Pygame
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Dinara Abdrakhmanova
Used 1+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How do I import the pygame library?
Back
import pygame
2.
FLASHCARD QUESTION
Front
How do I initialize the pygame?
Back
pygame.init()
3.
FLASHCARD QUESTION
Front
How do I initialize the surface? Options: import pygame, pygame.init(), surface = pygame.display.set_mode((400,300)), pygame.display.flip()
Back
surface = pygame.display.set_mode((400,300))
4.
FLASHCARD QUESTION
Front
How do I update the screen?
Back
pygame.display.flip()
5.
FLASHCARD QUESTION
Front
What does display.flip() do?
Back
will update the contents of the entire display
6.
FLASHCARD QUESTION
Front
What does display.update() do?
Back
allows to update a portion of the screen, instead of the entire area of the screen
7.
FLASHCARD QUESTION
Front
How can I check for an event if a user has pushed any event in the queue?
Back
run = True
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
14.3 Intrusive Formations Review
Flashcard
•
10th - 12th Grade
15 questions
Slope
Flashcard
•
10th - 12th Grade
15 questions
Physics Waves Review Spring 2025
Flashcard
•
10th - 12th Grade
9 questions
Special Places
Flashcard
•
KG - University
15 questions
Layers of the Atmosphere
Flashcard
•
11th - 12th Grade
19 questions
principles of design
Flashcard
•
12th Grade
13 questions
Water Properties
Flashcard
•
University
20 questions
Blood Test Review
Flashcard
•
12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade