Day 8 Pygame : 3rd July

Day 8 Pygame : 3rd July

Professional Development

5 Qs

quiz-placeholder

Similar activities

Office Productivity Tools

Office Productivity Tools

Professional Development

10 Qs

Excel Conditional Formatting, Hiding, Unhiding

Excel Conditional Formatting, Hiding, Unhiding

6th Grade - Professional Development

10 Qs

การใช้งานโปรแกรม Microsoft Access 2016

การใช้งานโปรแกรม Microsoft Access 2016

Professional Development

10 Qs

Microsoft Secure Score

Microsoft Secure Score

Professional Development

10 Qs

Flutter III

Flutter III

Professional Development

8 Qs

The Roblox Quiz

The Roblox Quiz

KG - Professional Development

8 Qs

synchrone-asynchrone

synchrone-asynchrone

Professional Development

6 Qs

Quiz Power Point

Quiz Power Point

Professional Development

10 Qs

Day 8 Pygame : 3rd July

Day 8 Pygame : 3rd July

Assessment

Quiz

Computers

Professional Development

Medium

Created by

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