NEW
Font size
WorksheetsPython Tkinter
Total questions: 15
Worksheet time: 8mins
Which command used to change the screen size?
window = Tk()
window.mainloop()
window.geometry("400x300")
Which of the following is easy to use from the user?
Command Line
GUI (Graphical User Interface)
__________ is an element of GUI.
Widget
GUI
Application
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 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
What is the full form of GUI?
Graphic Unit Interface
Graphical User Interface
Graphic Unit Input
______________ library provides fast and easy way to create GUI applications in Python.
Tkinter
IbtikarMaker
Graph
Choose the correct statement to display title.
window.title("My First Program")
window.title(My First Program)
window.title "My First Program"
Label , Button , Sliders are all examples of Widgets.
True
False
Which function is used to set the size of the tkinter
window?
setsize()
size()
geometry()
dimension()
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
What is tkinter?
A Python GUI module
A Python Scripting module
It provides a scrollbar to the use so that the use can scroll the window up and down.
Scrollbar()
Spinbox()
Menu()
Entry()
