Search Header Logo

PyGame Quiz 12 NIS 3term

Authored by Ерасыл Тлеудин

Information Technology (IT)

12th Grade

Used 3+ times

PyGame Quiz 12 NIS 3term
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to load system fonts in PyGame?

pygame.font.SysFont()

pygame.font.Font()

pygame.load_font()

pygame.draw_text()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the render() method in PyGame do?

Converts text into a bitmap for display

Loads images

Detects collisions

Creates animations

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method retrieves the list of available fonts in PyGame?

pygame.font.get_fonts()

pygame.font.list_fonts()

pygame.get_font_list()

pygame.list_all_fonts()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pygame.font.Font(file_path, size) do?

Loads an external font

Loads a system font

Changes font color

Adjusts font weight

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which argument in render() sets the text color?

Third argument

First argument

Second argument

Fourth argument

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to detect rectangle collisions?

colliderect()

detect_collision()

check_rect_collision()

collision_check()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does colliderect() return when two rectangles overlap?

True

False

1

None

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?