Search Header Logo

Week 1 - CustomTkinter Quiz

Authored by Coding Department

Computers

Professional Development

Used 2+ times

Week 1 - CustomTkinter Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the mainloop() function do?

Closes the GUI

Creates buttons

Starts the GUI event loop

Sets the title

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to set the size of the window?

set_size()

geometry()

resize()

dimensions()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What parameter is used to assign an action to a CTkButton?

set_event

on_click

command

bind

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to change label text dynamically?

label.update()

label.config()

label.configure(text="new")

label.change("new")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of pack() in CustomTkinter?

Create padding

Arrange widgets in a window

Import widgets

Close the app

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pady=10 do?

Adds horizontal space

Adds vertical padding

Creates a margin

Sets text position

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of CTkFrame?

Store data

Display a message

Group and organize widgets

Create an image

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?