
Відображення тексту та зображень за допомогою модуля PyGame
Authored by Каріна Клименко
Computers
7th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка з команд створює об'єкт «шрифт» із системних шрифтів:
font = pygame.font.SysFont ()
font = SysFont ()
font = pygame.SysFont ()
text = pygame.font.SysFont ()
text = font.render ()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка команда створює об'єкт «текст»?
textRect = text.get_rect()
font = text.render()
text = font.render()
font = pygame.font.SysFont ()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для того, щоб створити прямокутник для текстового об'єкта потрібно записати:
textRect.center = text.get_rect()
textRect.center = ()
text.get_rect=textRect ()
textRect = text.get_rect()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
На що вказує виділений червоним параметр у команді?
text = font.render('Hello', False, 'red', 'green')
Контролє чи потрібно створювати об'єкт текст
Контролє чи потрібно відображати текст
Контролє чи потрібно згладжувати шрифт
Контролє чи потрібно створювати прямокутник навколо тексту
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
На що вказує виділений червоним параметр у команді?
text = font.render('Hello', False, 'red', 'green')
на колір шрифту
на колір фону
на колір вікна
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для відображення тексту на поверхні вікна використовують метод...
fill
update
blit
set_mode
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
За допомогою якої команди можливо завантажити зображення в PyGame?
pygame.image.load()
pygame.load_picture()
pygame.load_image_file()
pygame.load_image()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?