Day 8 Pygame : 3rd July

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 keyword is used to stop the game when the condition is met?
end_game = True
gameOver()
exit()
game_over = True
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when the SPACE key is pressed and the game is over?
The window closes
The game restarts from the beginning
The game pauses
A new level starts
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these lines is used to display the score on the screen?
print(score)
screen.blit("Score: ", score)
font.render(score)
screen.blit(score_text, (10, 10))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to show text like “GAME OVER” in Pygame?
pygame.show_text()
font.render()
draw.text()
pygame.display_text()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use pygame.font.SysFont("Arial", 30)?
To draw shapes
To load images
To set up a font for writing text
To load background music
Similar Resources on Wayground
8 questions
MS-900 - Module 3 - Full quiz

Quiz
•
Professional Development
10 questions
HTML y CSS 2

Quiz
•
Professional Development
8 questions
Training session

Quiz
•
Professional Development
10 questions
Latihan HTML

Quiz
•
12th Grade - Professi...
10 questions
Tin học văn phòng

Quiz
•
Professional Development
10 questions
Powerful Slide Quiz

Quiz
•
Professional Development
8 questions
Gry komputerowe 2

Quiz
•
1st Grade - Professio...
10 questions
Game Idioms - Guess the Idiom!

Quiz
•
2nd Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development