Worksheetspython-tkinter
Total questions: 13
Worksheet time: 7mins
window=Tk() is to create new interface .
true
false
The library that is responsible about creating GUI is
Turtle
TKinter
Maze
The GUI is stand for Graphical User Interface.
true
false
window.geometry("300x200") is to change the size of the GUI window into .
500 Height x 200 Width
300 Height x 800 Width
300 Height x 200 Width
1. GUI stands for
a. Graphical user interaction
b. Graphical user interface
c. Graphics uniform interaction
d. Graphical Universal Interaction
It is not possible to set the title of the window after creating it
True
False
Which command used to change the screen size?
window = Tk()
window.mainloop()
window.geometry("400x300")
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
Choose the correct statement to display title.
window.title("My First Program")
window.title(My First Program)
window.title "My First Program"
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
