Search Header Logo

Kiến thức về Tkinter trong Python

Authored by Duy Đỗ

Mathematics

1st - 5th Grade

Used 4+ times

Kiến thức về Tkinter trong Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tkinter trong Python là gì?

Một thư viện để làm việc với file CSV

Một thư viện GUI tích hợp trong Python

Một framework phát triển web

Một thư viện xử lý dữ liệu

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để import Tkinter vào chương trình?

import tkinter as tk

import tk as tkinter

import gui as tkinter

import tkinter.gui

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Widget nào dùng để tạo nút bấm trong Tkinter?

Label

Button

Entry

Frame

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào để tạo một cửa sổ chính trong Tkinter?

window = Tkinter()

root = tk.Window()

root = tk.Tk()

win = tk.MainWindow()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào dùng để chạy vòng lặp chính của ứng dụng Tkinter?

root.mainloop()

tk.run()

tk.mainloop()

root.run()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để đặt tiêu đề cho cửa sổ Tkinter, ta dùng phương thức nào?

root.title("Tên cửa sổ")

root.set_title("Tên cửa sổ")

root.header("Tên cửa sổ")

root.label("Tên cửa sổ")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Widget nào được dùng để nhập dữ liệu từ người dùng?

Label

Button

Entry

Text

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?