
Pygame Shapes
Computers, Education
8th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I import the pygame library?
import pygame
pygame.init()
surface = pygame.display.set_mode((400,300))
pygame.display.flip()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I initialize the pygame?
import pygame
pygame.init()
surface = pygame.display.set_mode((400,300))
pygame.display.flip()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I initialize the surface?
import pygame
pygame.init()
DISPLAY = pygame.display.set_mode((400,300))
pygame.display.flip()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do I update the screen?
import pygame
pygame.init()
surface = pygame.display.set_mode((400,300))
pygame.display.flip()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does display.flip() do?
will update the contents of the entire display
allows to update a portion of the screen, instead of the entire area of the screen
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Draw a Rectangle
DISPLAY = pygame.display.set_mode([400,300])
pygame.draw.rect(DISPLAY, color, [30, 30, 60, 60])
pygame.draw.line(DISPLAY, color, [20, 50], [180, 50], 3)
pygame.draw.circle(DISPLAY, color, [300, 300], 200, 3)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Draw a Circle
pygame.draw.arc(DISPLAY, color, [50, 50, 200, 200], 0, pi, 2)
pygame.draw.rect(DISPLAY, color, [30, 30, 60, 60])
pygame.draw.circle(DISPLAY, color, [20, 50], [180, 50], 3)
pygame.draw.circle(DISPLAY, color, (300, 300), 20)
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
20 questions
Liga del Sabe San Juan Bautista de la Salle
Quiz
•
7th - 11th Grade
20 questions
Semaine olympique et paralympique 2023
Quiz
•
6th - 8th Grade
16 questions
Tips for Searching the Internet
Quiz
•
6th Grade - University
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
17 questions
Networks Lesson 2 - Recap and Review
Quiz
•
6th - 8th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
20 questions
Kuiz sukan dan permainan
Quiz
•
1st - 12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade