
Малюємо кодом
Authored by Formula Education
Computers
7th Grade
Used 92+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що таке pygame?
Бібліотека для створення ігор у Python.
Текстовий редактор для написання коду.
Операційна система для комп'ютерів.
Веббраузер.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка команда імпортує модуль pygame у Python?
import pygame
from pygame import *
pygame.init()
pygame.quit()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка функція pygame відповідає за ініціалізацію бібліотеки?
pygame.start()
pygame.launch()
pygame.init()
pygame.begin()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що потрібно зробити після створення вікна в pygame?
Зупинити програму.
Запустити цикл обробки подій.
Нічого не потрібно робити.
Закрити вікно.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка функція pygame малює лінію на екрані?
pygame.draw.circle(surface, color, center, radius)
pygame.draw.rect(surface, color, (x, y, width, height))
pygame.draw.line(surface, color, start, end, width)
pygame.draw.ellipse(surface, color, (x, y, width,
height))
pygame.draw.lines(surface, color, True/False, [(x1,y1), (x2,y2), (x3,y3)], width)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як задати колір у pygame за допомогою RGB-значень?
color = [червоний, зелений, синій]
color = "червоний, зелений, синій"
color = червоний + зелений + синій
color = (червоний, зелений, синій)
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?