Pygame Shapes

Quiz
•
Computers, Education
•
8th Grade
•
Medium
Used 10+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
PyGame Zero - 3

Quiz
•
7th - 8th Grade
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
10 questions
Quiz: Pygame Zero - Keeping Score

Quiz
•
8th Grade
14 questions
Processing 01 - MCSHS DIG07/DIG08

Quiz
•
7th - 8th Grade
10 questions
Pygame

Quiz
•
6th - 8th Grade
10 questions
Lesson 39 Test-5

Quiz
•
5th - 8th Grade
10 questions
Списки Python + Pygame

Quiz
•
KG - University
15 questions
Занятие_25_09

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade