WorksheetsPython Programming 17.09.2021
Total questions: 15
Worksheet time: 10mins
Config() in Python Tkinter are used to ____________
destroy the widget
place the widget
configure the widget
change property of the widget
___________ method is used to draw a line in canvas tkinter
canvas.create_line()
line()
create_line(canvas)
create line()
Creating line belongs to _________ category.
GUI
CGI
Canvas
scripting
Essential thing to create a window screen using tkinter python is _________
create a button
To define a geometry
create a file
call tk() function
The purpose of bg in Tkinter widget is to ____________
To change the background of widget
To change the direction of widget
To change the size of widget
To change the color of widget
The keyword used to import the Tkinter in program is ________
call
from
import
use
GUI stand for ___________
Graph user interaction
Global user interaction
Graphical user interface
Graphical user interaction
How does the grid() function put the widget on the screen ?
According to x,y coordinate
According to left,right,up,down
According to horizontal,vertical
According to row and column wise
The method(s) to import a tkinter in python program is/are ____________.
import tkinter
import tkinter as t
from tkinter import *
All the above
The method to install tkinter in system is _________
pip install python
tkinter install
tkinter pip install
pip install tkinter
It is possible to draw a circle directly in Tkinter canvas ?
Yes
No
No(but possible by oval)
The Minimum number of argument to be passed in a function to create a rectangle using canvas tkinter is (a)
Screen inside another screen is possible by creating __________
Another window
buttons
labels
frames
The correct way to use the config() function in tkinter is _____________
object.property
config(property)
object.config(property)
config(object,property)
The use of the mainloop() in Python Tkinter is __________
To create a window screen
To Destroy the window screen
To exit window screen
To Hold the window Screen
