Day 4 Pygame - 26th June

Quiz
•
Computers
•
Professional Development
•
Medium
Coding Department
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of pygame.key.get_pressed()?
To draw a shape
To load a background
To check which keys are currently being pressed
To exit the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which key constant is used to detect the left arrow key?
pygame.KEY_LEFT
pygame.LEFT_ARROW
pygame.K_LEFT
pygame.ARROW_LEFT
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want the player to move left using the keyboard, which code will you use?
player_x += speed
player_y += speed
player_x -= player_speed
player_y -= player_speed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you detect if the player presses the W key?
keys["W"] == True
if key == W:
if keys[pygame.K_w]:
if key.pressed("W"):
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code allows the player to move downward?
player_y -= player_speed
player_y += player_speed
player_x += player_speed
player_x -= player_speed
Similar Resources on Wayground
5 questions
Day 3 Pygame - 25th June

Quiz
•
Professional Development
10 questions
PUBG

Quiz
•
3rd Grade - Professio...
10 questions
Types of Computers Based on Data Handling Capability

Quiz
•
Professional Development
10 questions
Security Issues Of Memory Management In Modern Operating Systems

Quiz
•
Professional Development
10 questions
Artificial Intelligence Quiz

Quiz
•
Professional Development
10 questions
Deep Learning

Quiz
•
Professional Development
7 questions
Basic ICT Skills

Quiz
•
Professional Development
8 questions
Day 1 Pygame - 23rd June

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade