Search Header Logo

TKinter Basics Knowledge Check

Authored by Julio Fuentes

Computers

12th Grade

Used 1+ times

TKinter Basics Knowledge Check
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

DRAW QUESTION

3 mins • 1 pt

How are you feeling today (Draw an emoji)

Media Image

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What TKinter widget displays text

Button
Entry
Label
Frame

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the proper way to import the Tkinter api and use it by calling it tk?

import tkinter as tk
import tkinter
import tk
import tk as tkinter

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

The turlle and tkinter libraries are examples of what programming concept?

an API
python
Graphics
coding

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

We create an object we call root that we put all of our Tkinter widgets on. What is the proper code to do that? (Hint: Very similar to how we used to creat turtles!)

root.tk()
root = tk.Tk()
root = tk
root = new tk

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Turtle is a graphics API, what type of API is tkinter? (What is it used for?)

GUI programming
Making stuff pretty
Making turtles
API Calls

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What code calls the pack method on a label you made called lbl_info with no arguments?

lbl_info = pack
pack(lbl_info)
lbl_info.pack()
pack.lbl_info()

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?