Pygame Shapes
Quiz
•
Computers, Education
•
8th Grade
•
Medium
Used 10+ times
FREE Resource
Enhance your content in a minute
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)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Algorithms
Quiz
•
7th - 10th Grade
10 questions
Shape
Quiz
•
4th - 8th Grade
15 questions
cmd and terminal
Quiz
•
7th Grade - University
10 questions
Computer Devices and its Operating System
Quiz
•
4th - 8th Grade
10 questions
Introduction to Scratch
Quiz
•
6th - 8th Grade
12 questions
Computer and its Devices
Quiz
•
2nd - 8th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
10 questions
Quiz 1: Programming in Scratch
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
