Exploring Python Tkinter

Exploring Python Tkinter

12th Grade

8 Qs

quiz-placeholder

Similar activities

Python 146- While Loops

Python 146- While Loops

4th Grade - Professional Development

10 Qs

Flutter

Flutter

12th Grade

12 Qs

Flutter Intermediate

Flutter Intermediate

KG - Professional Development

10 Qs

HTML forms

HTML forms

11th Grade - University

10 Qs

Chromebook Screen

Chromebook Screen

6th - 12th Grade

11 Qs

Kartkówka z biblioteki Tkinter 3cd

Kartkówka z biblioteki Tkinter 3cd

12th Grade

12 Qs

Ch 5 Pop up l Learn Mode

Ch 5 Pop up l Learn Mode

9th Grade - University

13 Qs

Cuestionario Módulo 5

Cuestionario Módulo 5

1st Grade - University

11 Qs

Exploring Python Tkinter

Exploring Python Tkinter

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Hazem Mohamed

Used 9+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which widget is used to display text in a Tkinter application?

Button

Entry

Label

TextBox

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add a button widget in a Tkinter application?

Use the Button function from Tkinter to create a button and add it to the main window.

Add a button by importing the Button widget from PyQt instead of Tkinter.

Use the Label class to create a button and add it to the main window.

Create a button by using the Frame class and placing it in a separate window.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this button, what's the difference between fg and bg?

fg is the fillcolor

bg is the background color

fg is the first color

bg is the backward color

fg is the foreground color

bg is the background color

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this figure, what's does the geomtry function do?

Sets 600 x 400 shapes

Sets the window dimensions

Sets the number of widgets

Sets 600 x 400 apps

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The configure function allows editing the main window settings.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To make a vertical space between widgets we can use ......................

pady

padx

spacex

spacey

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To use tkinter we should only follow these steps:

1- Creating app window

2- Adding widgets

3- Adding mainloop

True

False

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add an action to the button we use .................... parameter

fg

bg

command

ALL OF THEM