Search Header Logo

Python_OBCFC_Q2

Authored by Dr. 973

Computers

University

Python_OBCFC_Q2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What widget is used to take single-line user input in tkinter?

TextArea

Label

Entry

Box

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to set background color for a Label?

bg=“red”

background-color=“red”

color=“red”

background=“red”

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to position widgets exactly with x and y?

grid()

pack()

place()

align()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of geometry() method?

To change window color

To set title

To set window size

. To close window

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command option do in a tkinter Button widget?

Assigns color

Binds function to click

Sets size

Defines label

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?

Discover more resources for Computers