NEW
Font size
WorksheetsTkinter
Total questions: 9
Worksheet time: 4mins
Which is the correct way to import Tkinter module in python program?
include tkinter *
import tkinter *
from tkinter import *
from tkinter include *
Which is the correct code to create button widget in Tkinter?
*
Button(root,text=).pack()
Button(root,text="",).pack()
button(root).pack()
Button(text="").pack()
What are two methods that place a widget on your root window?
pack and grid
pack and set
grid and set
set and get
Which of the following function used to create a window in python Tkinter?
window()
Tk()
pack()
grid()
What is the use of mainloop() function in tkinter window?
*
To create the window screen
To hold the window screen
To delete the window screen
To disable the window screen
The ______method is used to create dimension of the window
place()
pack()
configure()
geometry()
The geometry manager that allows you to specify the exact pixel coordinates of a widget within the parent widget is
place()
grid()
pack()
configure()
Tkinter is the most commonly used built-in library for creating GUI.GUI stands for
Graphical user interaction
Graphical user interface
Graphics uniform interaction
Graphical Universal Interaction
The geometry manager that organizes widgets in a table-like structure, where each widget is placed in a specific cell of the table defined by row and column numbers is
grid()
place()
insert()
pack()
