Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 1 Review

Total questions: 9

Worksheet time: 9mins

Name
Class
Date
1.

What can Tkinter do?

a)

Create GUIs

b)

Draw Turtles

c)

Create buttons, labels, menus

d)

Make Web Applications

2.

How do you start the Tkinter Window

a)

window.start()

b)

window.done()

c)

mainloop()

d)

startWindow()

3.

What are attributes you can add to customize your Button() in Tkinter

a)

text

b)

width

c)

length

d)

background

e)

fg

4.

Fill in the blank by choosing the correct answer.

a)

command

b)

hello()

c)

command=hello

d)

command=hello()

5.

What happens when you click on the button once?

a)

prints 1 to the terminal

b)

Nothing

c)

Throws an Error

d)

Window does not open at all

6.

How can you make it so that the window CANNOT resize the width?

a)

window.resizable(0, 0)

b)

window.resizable(1, 0)

c)

window.resizable(0, 1)

d)

window.resizable(1, 0)

7.

What does the 1000 mean below?

window.geometry('400x300+1000+150')

a)

width

b)

height

c)

x offset

d)

y offset

8.

How can you add text inside your window?

a)

b)

c)

d)

9.

Draw your favorite animal