Day 8 Pygame : 3rd July

Day 8 Pygame : 3rd July

Professional Development

5 Qs

quiz-placeholder

Similar activities

Perform Word Processing

Perform Word Processing

Professional Development

10 Qs

html_tables

html_tables

Professional Development

10 Qs

Flutter III

Flutter III

Professional Development

8 Qs

L2_M4_W2_Q2

L2_M4_W2_Q2

Professional Development

3 Qs

Latihan HTML

Latihan HTML

12th Grade - Professional Development

10 Qs

Construct 3 Quiz - Game Development

Construct 3 Quiz - Game Development

2nd Grade - Professional Development

10 Qs

Quizziz Pelatihan Coding & AI - SD SMP - Hari 2

Quizziz Pelatihan Coding & AI - SD SMP - Hari 2

Professional Development

8 Qs

HTML y CSS 2

HTML y CSS 2

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