PY2007 - 8/3/2025

PY2007 - 8/3/2025

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Pekan ULangan 11 RPL (Flutter)

Pekan ULangan 11 RPL (Flutter)

11th Grade

20 Qs

GUI Quiz

GUI Quiz

12th Grade

20 Qs

untitled

untitled

9th Grade

20 Qs

Python Level 3 - Lesson 2

Python Level 3 - Lesson 2

10th Grade

15 Qs

G10 Quiz 05/05/2021

G10 Quiz 05/05/2021

10th Grade

15 Qs

‫اختبار حول النوافذ في VB.Net

‫اختبار حول النوافذ في VB.Net

10th Grade

20 Qs

Blogger

Blogger

10th - 12th Grade

15 Qs

Repaso Teórico Python

Repaso Teórico Python

8th Grade - University

18 Qs

PY2007 - 8/3/2025

PY2007 - 8/3/2025

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Aim Sity

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a Tkinter window?

a) window = Tk()

b) window = tk()

c) window = tkinter.window()

d) window = main()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is required to keep the Tkinter window running?

a) root.start()

b) root.mainloop()

c) root.run()

d) root.execute()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to set the title of a Tkinter window?

a) root.header("My App")

b) root.name("My App")

c) root.title("My App")

d) root.window_name("My App")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pack() method do in Tkinter?

a) Arranges widgets inside the window

b) Closes the window

c) Creates an event loop

d) Binds a function to an event

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which widget is used to display text in Tkinter?

a) Label

b) Textbox

c) TextBoxField

d) TextArea

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which event is triggered when the mouse moves over a widget?

a) <Click>

b) <Motion>

c) <Move>

d) <Hover>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to bind an event to a widget in Tkinter?

a) widget.trigger()

b) widget.bind()

c) widget.on_event()

d) widget.listen()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?