Search Header Logo

Малюємо кодом

Authored by Formula Education

Computers

7th Grade

Used 77+ times

Малюємо кодом
AI

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

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?