NEW
Font size
WorksheetsQuiz-1 tkinter
Total questions: 11
Worksheet time: 6mins
Which is the correct way to use tkinter in python
program?
include tkinter *
import tkinter *
from tkinter import *
from tkinter include *
Which of the following function used to create window in
python tkinter.
window()
tk()
toolkit()
wd()
Which of the following function used to create window in
python tkinter.
window()
tk()
toolkit()
wd()
Which of the following attribute used to change the text
color of a Label widget in python tkinter
fg
foreground
bg
background
Which of the following attribute used to change the
background color of a Label widget in python tkinter
background
bg
fg
foreground
Which function is used to set the size of the tkinter
window?
setsize()
size()
geometry()
dimension()
Select the function is used to close the
tkinter window.
destroy()
delete()
stop()
remove()
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
In contrast to a terminal-based program, a GUI-based
program
user needs to wait for the options
completely controls the order in which the user enters inputs
can allow the user to enter inputs in any order
that decided by the window manager pack()
In MVC pattern, the model is responsible for
processing the program's data
managing the program's data
displaying the program's data
control the appearance of data
Is it possible to set the title for a window after creating it?
yes
no
