TKinter Basics Knowledge Check

TKinter Basics Knowledge Check

12th Grade

9 Qs

quiz-placeholder

Similar activities

Phyton Review Lesson 11-Flash Card Closing

Phyton Review Lesson 11-Flash Card Closing

12th Grade - Professional Development

5 Qs

Introduction to Tkinter

Introduction to Tkinter

5th Grade - University

6 Qs

Python 145

Python 145

4th Grade - Professional Development

11 Qs

Lesson 4 Quiz

Lesson 4 Quiz

6th - 12th Grade

10 Qs

Tkinter Review

Tkinter Review

9th - 12th Grade

7 Qs

Графічний інтерфейс модуль tkinter

Графічний інтерфейс модуль tkinter

9th - 12th Grade

9 Qs

Python Basics

Python Basics

1st Grade - University

10 Qs

Tkinter Course - 1

Tkinter Course - 1

12th Grade - Professional Development

6 Qs

TKinter Basics Knowledge Check

TKinter Basics Knowledge Check

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Julio Fuentes

Used 1+ times

FREE Resource

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()

8.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Looking at the code, what text gets displayed on the label:

lbl_mystery = tk.Label(frame_root, text='Coolio:')

lbl_mystery
frame_root
Coolio
text

9.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What code properly adds a pady option of 50 to the pack call?
lbl_example.pack() = pady(50)
lbl_example.pack( pady)
lbl_example.pack(50)
lbl_example.pack(pady=50)