PyGame Quiz 12 NIS 3term

PyGame Quiz 12 NIS 3term

12th Grade

30 Qs

quiz-placeholder

Similar activities

Módulo 7 - HTML e CSS

Módulo 7 - HTML e CSS

7th Grade - University

25 Qs

Summative Assessment on Python

Summative Assessment on Python

12th Grade

30 Qs

LATIHAN SOAL TENTANG CANVA

LATIHAN SOAL TENTANG CANVA

8th Grade - University

25 Qs

SUMATIF TENGAH SEMESTER II

SUMATIF TENGAH SEMESTER II

6th Grade - University

30 Qs

Quiz Microsoft Word

Quiz Microsoft Word

10th Grade - University

27 Qs

HTML and CSS Quiz

HTML and CSS Quiz

9th - 12th Grade

25 Qs

KELAS 12 TIK MIX

KELAS 12 TIK MIX

12th Grade

25 Qs

PyGame Quiz 12 NIS 3term

PyGame Quiz 12 NIS 3term

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

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

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?