Google News
logo
Tkinter - Quiz(MCQ)
A)
Armin Ronacher
B)
Travis Oliphant
C)
John Ousterhout
D)
Rasmus Lerdorf

Correct Answer :   John Ousterhout


Explanation : Tk was developed as a GUI extension for the Tcl scripting language by John Ousterhout. The first release was in 1991. 

A)
1991
B)
1993
C)
1995
D)
1999

Correct Answer :   1991


Explanation : Tk is called Tkinter in Python, or to be precise, Tkinter is the Python interface for Tk. Tkinter is an acronym for "Tk interface". Tk was developed as a GUI extension for the Tcl scripting language by John Ousterhout. The first release was in 1991.

A)
place the widget
B)
destroy the widget
C)
configure the widget
D)
change property of the widget

Correct Answer :   change property of the widget

A)
Entry
B)
Label
C)
Button
D)
None of the above

Correct Answer :   Entry

A)
Line
B)
create_line(canvas)
C)
canvas.create_line()
D)
None of the above

Correct Answer :   canvas.create_line()

A)
Oval
B)
Line
C)
Rectangle
D)
All of the above

Correct Answer :   All of the above

A)
GUI
B)
Canvas
C)
Both of the above
D)
None of the above

Correct Answer :   Canvas

A)
create a button
B)
call tk() function
C)
To define a geometry
D)
All of the above

Correct Answer :   call tk() function

A)
Button
B)
Frame
C)
Label
D)
All of the above

Correct Answer :   All of the above

A)
Numpy
B)
Scipy
C)
Tkinter
D)
Opencv

Correct Answer :   Tkinter

A)
forgap
B)
background
C)
foreground
D)
None of the above

Correct Answer :   foreground

A)
grid()
B)
pack()
C)
place()
D)
All of the above

Correct Answer :   4.All of the above

A)
Text
B)
Entry
C)
Both of the above
D)
None of the above

Correct Answer :   Text

A)
To change the size of widget
B)
To change the background of widget
C)
To change the color of widget
D)
To change the direction of widget

Correct Answer :   To change the background of widget

A)
call
B)
import
C)
from
D)
All of the above

Correct Answer :   import

A)
import tkinter as p
B)
import tkinter as t
C)
import tkinter from *
D)
All of the above

Correct Answer :   import tkinter from *

A)
Lable
B)
Button
C)
Checkbutton
D)
Both(A) and (B)

Correct Answer :   Both(A) and (B)

A)
get()
B)
Gettext()
C)
Getdata()
D)
All of the above

Correct Answer :   get()

A)
Global user interaction
B)
Graph user interaction
C)
Graphical user interaction
D)
Graphical user interface

Correct Answer :   Graphical user interface

A)
pip install tkinter python
B)
pip install Tkinter
C)
pip install python tkinter
D)
None of the above

Correct Answer :   pip install Tkinter

A)
According to x,y coordinate
B)
According to row and column vise
C)
According to left, right, up, down
D)
None of the above

Correct Answer :   According to left, right, up, down

A)
geometry(x,y)
B)
geometry(300x400)
C)
geometry(300,400)
D)
None of the above

Correct Answer :   geometry(300x400)

A)
According to row and column vise
B)
According to x,y coordinate
C)
According to left,right,up,down
D)
None of the above

Correct Answer :   According to row and column vise

A)
call
B)
contact
C)
control
D)
cammand

Correct Answer :   cammand

A)
According to only rows
B)
According to row and column
C)
According to left,right,up,down
D)
According to x,y coordinate

Correct Answer :   According to x,y coordinate

A)
bg
B)
fg
C)
bground
D)
background

Correct Answer :   bg

A)
import tkinter
B)
import tkinter as t
C)
from tkinter import *
D)
All of the above

Correct Answer :   All of the above

A)
tkinter install
B)
pip install python
C)
pip install tkinter
D)
tkinter pip install

Correct Answer :   pip install tkinter

A)
That will work in background
B)
That will display on the screen
C)
Both of the above
D)
None of the above

Correct Answer :   That will display on the screen

A)
It is widget
B)
It is function
C)
It is constructor
D)
All of the above

Correct Answer :   All of the above

A)
Label
B)
Frame
C)
Window
D)
All of the above

Correct Answer :   All of the above

A)
To put the widget on the screen
B)
To destroy the widget
C)
To put the widget on the Button
D)
To put the widget on the background

Correct Answer :   To put the widget on the screen

A)
To destroy the widget
B)
To perform a task by a widget
C)
To pack the widget on the screen
D)
To define a size of the widget

Correct Answer :   To pack the widget on the screen

A)
To create a window screen
B)
To Hold the window Screen
C)
To Destroy the window screen
D)
None of the above

Correct Answer :   To Hold the window Screen

A)
Yes
B)
No
C)
No(but possible by oval)
D)
None of the above

Correct Answer :   No(but possible by oval)

A)
Create a user data entry field
B)
Display text on the window
C)
Display Check button on window
D)
None of the above

Correct Answer :   Create a user data entry field

A)
5
B)
6
C)
8
D)
4

Correct Answer :   4

A)
2
B)
4
C)
6
D)
8

Correct Answer :   4

A)
Frame(window,options)
B)
win.frame(options)
C)
Both of the above
D)
None of the above

Correct Answer :   Frame(window,options)

A)
give a title name to the Button
B)
give a title name to the Widget
C)
give a title name to the window
D)
None of the above

Correct Answer :   give a title name to the window

A)
GUI
B)
Database
C)
OS commands
D)
All of the above

Correct Answer :   GUI

A)
title(win,mytitle)
B)
title.(win_mytitle)
C)
title(mytitle).win
D)
win.title(mytitle)

Correct Answer :   win.title(mytitle)

A)
object.property
B)
object.config(property)
C)
config(property)
D)
config(object,property)

Correct Answer :   object.config(property)

A)
delete(object)
B)
object.destroy()
C)
destroy(object)
D)
object(destroy)

Correct Answer :   object.destroy()

A)
Button
B)
Line
C)
text
D)
None of the above

Correct Answer :   text

A)
config() function
B)
pack() function
C)
title() function
D)
mainloop() function

Correct Answer :   config() function

A)
stop()
B)
break()
C)
delete()
D)
destroy()

Correct Answer :   destroy()

A)
Stop() function
B)
mainloop() function
C)
pause() function
D)
None of the above

Correct Answer :   mainloop() function