Exploring Python Tkinter

Exploring Python Tkinter

12th Grade

8 Qs

quiz-placeholder

Similar activities

HTML forms

HTML forms

11th Grade - University

10 Qs

Kartkówka z biblioteki Tkinter 3cd

Kartkówka z biblioteki Tkinter 3cd

12th Grade

12 Qs

If-Statements

If-Statements

9th - 12th Grade

10 Qs

CSP Unit 3 Assessment

CSP Unit 3 Assessment

9th - 12th Grade

10 Qs

Database Topic 3 - Form

Database Topic 3 - Form

9th - 12th Grade

10 Qs

Lesson 09: Creating Interactive Navigation

Lesson 09: Creating Interactive Navigation

9th - 12th Grade

10 Qs

Unit 3 Formatting in Word

Unit 3 Formatting in Word

9th - 12th Grade

10 Qs

ZIP Class - Circuit SMP/SMA #1

ZIP Class - Circuit SMP/SMA #1

7th - 12th Grade

10 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