Search Header Logo

tk库测试

Authored by 昀浩 管

Computers

University

Used 1+ times

tk库测试
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

5 mins • 1 pt

请写出导入tk库的代码

(a)  

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

如果想要让tk显示弹窗消息 应该导入哪个库?

import tkinker.messagebox

import tkinker

import turtle

import random

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

创建一个名叫top界面的代码是

top=tkinter.Tk()

top.geometry("1000x1000")

top.title("玛客tk课程")

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

将创建的top界面大小设为500x500的代码是

top=tkinter.Tk()

top.geometry("500x500")

top.title("玛客tk课程")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

将创建的top界面标题改成玛客tk课程的代码是?

top=tkinter.Tk()

top.geometry("1000x1000")

top.title("玛客tk课程")

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

在tk中创建一个a标签所用的函数是?

a=tkinter.Label()

a=tkinter.Entry()

a=tkinter.Button()

a=tkinter.Radiobutton()

a.grid()

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

在tk中创建一个输入框a所用的函数是?

a=tkinter.Label()

a=tkinter.Entry()

a=tkinter.Button()

a=tkinter.Radiobutton()

a.grid()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?