
Основи подійно- та об'єктно-орієнтованого програмування
Presentation
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Олександр Полтавець
Used 14+ times
FREE Resource
19 Slides • 12 Questions
1
2
3
Multiple Choice
Модуль tkinter використовується для:
введення програм
створення графічного інтерфейсу користувача
виведення отриманого результату на екран
малювання
4
5
Multiple Choice
Як правильно здійснити імпорт методів бібліотеки tkinter?
from tkinter import *
import tkinter *
import tkinter
import from tkinter *
6
Multiple Choice
Інструкція для створення головного вікна має таку структуру:
root = Tk {}
root Tk
root = Tk()
root = Tk []
7
8
9
10
Multiple Choice
Який з операторів встановлює колір вікна?
11
Multiple Choice
Який з операторів встановлює розміри вікна?
root.title ("Графічна програма")
root.mainloop()
root=Tk()
root.geometry("250x150")
12
13
14
Multiple Choice
Визначте, який конструктор Tkinter Python допомагає створити поле введення
Canvas
Button
Entry
Radiobutton
15
Multiple Select
Який метод відповідає за відображення об'єкта у вікні програми?
def
рrinter
рack
place
16
Multiple Choice
Метод get() використовується для того…
щоб видавати змінну у вікно консолі
щоб отримувати значення змінних
встановлювати значення змінних
17
18
19
20
21
22
23
24
Multiple Choice
Оберіть конструкцію правильного звернення до події (клік миші)
from tkinter import*
def change(event):
window.geometry('500x500')
window.['bg']='green'
window=Tk()
window.mainloop()
window.bind('<Button-1>', change)
knopka=Button(root, text="Useless button", command=reply)
25
26
27
28
29
Multiple Choice
За допомогою чого описується обробник подій?
Функції def
Модуля math
Події Button
Розгалуження if
30
Multiple Choice
Для створення напису у вікні необхідно застосувати функцію...
Label()
Button()
Tk()
mainloop()
31
Multiple Choice
Обробник події — це
частина програми, що
виконує певні дії у відповідь
на подію (спричинену,
наприклад, дією
користувача).
графічні об'єкти,
розташовані на вікні
програми для показу або введення даних, виконання
дій або полегшення
роботи:
файл з
кодом програми.
Show answer
Auto Play
Slide 1 / 31
SLIDE
Similar Resources on Wayground
25 questions
Черепашкова графіка
Presentation
•
8th Grade
23 questions
Solving Quadratic Equations
Presentation
•
9th Grade
20 questions
Part of computer
Presentation
•
KG
25 questions
The Square Root Property
Presentation
•
8th Grade
26 questions
Intro to 3D Printing
Presentation
•
8th Grade
22 questions
Volume Test Review (Math 8)
Presentation
•
8th Grade
23 questions
Scientific Measurement Practice
Presentation
•
8th Grade
22 questions
Unit 5 Section 4: Animal Reproduction and Fertilization
Presentation
•
8th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
44 questions
8th Grade Social Studies - Staar Review 2021
Quiz
•
8th Grade
20 questions
8th Grade Science STAAR Review
Quiz
•
8th Grade
8 questions
Amoeba Sister Asexual vs Sexual Reproduction
Interactive video
•
8th Grade
15 questions
Pythagorean Theorem Word Problems Quizizz
Quiz
•
8th Grade
29 questions
8th Grade Social Studies STAAR Review Part 2
Quiz
•
8th Grade