
Day 5 Pygame - 30th June
Authored by Coding Department
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which condition correctly restricts right movement in Pygame?
player_x > WIDTH
player_x = WIDTH
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you don't apply boundary conditions?
The player moves faster
The player bounces off walls
The player disappears off the screen
The program crashes immediately
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What shape does pygame.draw.ellipse() create?
Rectangle
Circle
Line
Oval or ellipse
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the final argument in pygame.draw.line() specify?
Length of line
Color
Thickness of the line
Starting X-position
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these would draw a diagonal black line?
pygame.draw.line(screen, (0, 0, 0), (400, 50), (550, 200), 3)
pygame.draw.rect(screen, (0, 0, 0), (400, 50, 150, 150))
pygame.draw.ellipse(screen, (0, 0, 0), (400, 50, 150, 150))
pygame.draw.line((0, 0, 0), screen, (400, 50), (550, 200), 3)
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?