Python/Python%20MCQS%20-%20GUI%20in%20python Sample Test,Sample questions

Question:
Config() in Python Tkinter are used for 

1.destroy the widget

2.place the widget

3.change property of the widget

4.configure the widget

Posted Date:-2019-06-04 10:00:22


Question:
Correct way to draw a line in canvas tkinter ?

1.line()

2.canvas.create_line()

3.create_line(canvas)

4.None of the above

Posted Date:-2019-06-04 10:26:49


Question:
Creating line are come in which type of thing ?

1.GUI

2.Canvas

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 10:17:07


Question:
Essential thing to create a window screen using tkinter python?

1.call tk() function

2.create a button

3.To define a geometry

4.All of the above

Posted Date:-2019-06-04 09:24:31


Question:
fg in tkinter widget is stands for ?

1.foreground

2.background

3.forgap

4.None of the above

Posted Date:-2019-06-04 09:55:34


Question:
For user Entry data, which widget we use in tkinter ?

1.Entry

2.Text

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 09:39:00


Question:
For what purpose, the bg is used in Tkinter widget ?

1.To change the direction of widget

2.To change the size of widget

3.To change the color of widget

4.To change the background of widget

Posted Date:-2019-06-04 09:54:46


Question:
From which keyword we import the Tkinter in program?

1.call

2.from

3.import

4.All of the above

Posted Date:-2019-06-04 09:17:36


Question:
GUI stands for

1.Graph user interaction

2.Global user interaction

3.Graphical user interface

4.Graphical user interaction

Posted Date:-2019-06-04 09:08:25


Question:
How pack() function works on tkinter widget ?

1.According to x,y coordinate

2.According to row and column vise

3.According to left,right,up,down

4.None of the above

Posted Date:-2019-06-04 09:47:02


Question:
How the grid() function put the widget on the screen ?

1.According to x,y coordinate

2.According to row and column vise

3.According to left,right,up,down

4.None of the above

Posted Date:-2019-06-04 09:48:05


Question:
How the place() function put the widget on the screen ?

1.According to x,y coordinate

2.According to row and column vise

3.According to left,right,up,down

4.None of the above

Posted Date:-2019-06-04 09:47:40


Question:
How we import a tkinter in python program ?

1.import tkinter

2.import tkinter as t

3.from tkinter import *

4.All of the above

Posted Date:-2019-06-04 09:15:09


Question:
How we install tkinter in system ?

1.pip install python

2.tkinter install

3.pip install tkinter

4.tkinter pip install

Posted Date:-2019-06-04 09:25:21


Question:
In which of the following field, we can put our Button?

1.Window

2.Frame

3.Label

4.All of the above

Posted Date:-2019-06-04 10:16:20


Question:
It is possible to draw a circle directly in Tkinter canvas ?

1.Yes

2.No

3.No(but possible by oval)

4.None of the above

Posted Date:-2019-06-04 10:21:57


Question:
Minimum number of argument we pass in a function to create a rectangle using canvas tkinter ?

1.2

2.4

3.6

4.5

Posted Date:-2019-06-04 10:25:42


Question:
Minimum number of argument we require to pass in a function to create a line ?

1.2

2.4

3.6

4.8

Posted Date:-2019-06-04 10:20:34


Question:
Screen inside another screen is possible by creating

1.Another window

2.Frames

3.Buttons

4.Labels

Posted Date:-2019-06-04 10:14:30


Question:
title() is used for 

1.give a title name to the window

2.give a title name to the Button

3.give a title name to the Widet

4.None of the above

Posted Date:-2019-06-04 09:40:55


Question:
Tkinter tool in python provide the

1.Database

2.OS commands

3.GUI

4.All of the above

Posted Date:-2019-06-04 09:07:01


Question:
To change the color of the text in the Button widget, what we use ?

1.bg

2.fg

3.color

4.cchng

Posted Date:-2019-06-04 09:56:25


Question:
To change the property of the widget after the declaration of widget, what e use ?

1.mainloop() function

2.config() function

3.pack() function

4.title() function

Posted Date:-2019-06-04 10:01:42


Question:
To delete any widget from the screen which function we use ?

1.stop()

2.delete()

3.destroy()

4.break()

Posted Date:-2019-06-04 10:23:01


Question:
To get the multiple line user data, which widget we use ?

1.Entry

2.Text

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 09:38:22


Question:
To hold the screen what we use ?

1.mainloop() function

2.pause() function

3.Stop() function

4.None of the above

Posted Date:-2019-06-04 09:32:32


Question:
use of the angle attribute are on which widget ?

1.line

2.text

3.Button

4.All of the above

Posted Date:-2019-06-04 10:19:42


Question:
What is the correct syntax of destroy in tkinter ?

1.destroy(object)

2.object.destroy()

3.object(destroy)

4.delete(object)

Posted Date:-2019-06-04 10:24:05


Question:
What is the correct way to use the config() function in tkinter ?

1.config(object,property)

2.object.config(property)

3.config(property)

4.object.property

Posted Date:-2019-06-04 10:03:30


Question:
What is the right way to set the title of the window ?

1.title(win,mytitle)

2.win.title(mytitle)

3.title(mytitle).win

4.None of the above

Posted Date:-2019-06-04 09:42:45


Question:
What is the Syntax to create a Frame ?

1.Frame(window,options)

2.win.frame(options)

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 10:15:26


Question:
What is the use of the Entry widget in tkinter python ?

1.Display text on the window

2.Display Check button on window

3.Create a user data entry field

4.All of the above

Posted Date:-2019-06-04 09:22:21


Question:
What is the use of the mainloop() in Python Tkinter ?

1.To create a window screen

2.To Destroy the window screen

3.To Hold the window Screen

4.None of the above

Posted Date:-2019-06-04 09:33:42


Question:
What is the use of the pack() function for the tkinter widget ?

1.To pack the widget on the screen

2.To define a size of the widget

3.To perform a task by a widget

4.To destroy the widget

Posted Date:-2019-06-04 09:45:20


Question:
What is the use of the place() function in tkinter Python ?

1.To put the widget on the screen

2.To put the widget on the Button

3.To put the widget on the background

4.To destroy the widget

Posted Date:-2019-06-04 09:52:28


Question:
what is Tk() in tkinter python ?

1.It is function

2.It is constructor

3.It is widget

4.All of the above

Posted Date:-2019-06-04 09:23:14


Question:
What is widget in Tkinter GUI in python

1.That will display on the screen

2.That will work in background

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 09:09:56


Question:
What we use to change the back ground color any widget ?

1.background

2.fg

3.bg

4.bground

Posted Date:-2019-06-04 09:53:33


Question:
Which of th following is used to call a function by the Button widget in tkinter python ?

1.call

2.cammand

3.contact

4.All of the above

Posted Date:-2019-06-04 09:35:47


Question:
Which of the correct way to set the geometry of the window ?

1.geometry(x,y)

2.geometry(300x400)

3.geometry(300,400)

4.None of the above

Posted Date:-2019-06-04 09:28:02


Question:
Which of the following command are used to install the tkinter ?

1.pip install Tkinter

2.pip install python tkinter

3.pip install tkinter python

4.None of the above

Posted Date:-2019-06-04 09:26:08


Question:
Which of the following function are used to get the data from the Entry field in Python Tkinter ?

1.get()

2.Gettext()

3.Getdata()

4.All of the above

Posted Date:-2019-06-04 09:37:20


Question:
Which of the following is clickable in GUI programming ? 

1.Button

2.Checkbutton

3.Lable

4.1 and 2

Posted Date:-2019-06-04 09:12:32


Question:
Which of the following is correct ?

1.GUI is the part of the canvas

2.canvas is the part of the GUI

3.Both of the above

4.None of the above

Posted Date:-2019-06-04 10:17:50


Question:
Which of the following is not correct way to import the tkinter in program ?

1.import tkinter from *

2.import tkinter as t

3.import tkinter as p

4.All of the above

Posted Date:-2019-06-04 09:16:26


Question:
Which of the following is used to put the widget at the screen ?

1.pack()

2.place()

3.grid()

4.All of the above

Posted Date:-2019-06-04 09:43:47


Question:
Which of the following tool provides a GUI in python

1.Numpy

2.Tkinter

3.Scipy

4.Opencv

Posted Date:-2019-06-04 09:05:50


Question:
Which of the following we can able to delete using destroy() function ?

1.Button

2.Label

3.Frame

4.All of the above

Posted Date:-2019-06-04 10:24:52


Question:
Which of the following we can draw using canvas in tkinter ?

1.Line

2.Rectangle

3.oval

4.All of the above

Posted Date:-2019-06-04 10:18:37


Question:
Which widget are used to get the data from the user ?

1.Button

2.Label

3.Entry

4.None of the above

Posted Date:-2019-06-04 09:21:10


More MCQS

  1. Python MCQS - Function
  2. Python MCQS - GUI in python
  3. Python MCQS - Operators
  4. Python MCQS - Data type in python
  5. Python MCQS - loops in python
  6. Python MCQS - Numpy
  7. Python MCQS - sqlite3
  8. Python MCQS - Library
  9. Python MCQS - Pandas
  10. Python MCQs
  11. Dictionary Python MCQ set 1
  12. Dictionary Python MCQ set 2
  13. MCQ For Python Fundamentals
  14. MCQ Introduction to Python Section 1
  15. MCQ Introduction to Python Section 2
  16. MCQ Introduction to Python Section 3
  17. MCQ on Flow of Control in Python Set 1
  18. MCQ on Flow of Control in Python Set 2
  19. MCQ on Python String Set 1
  20. File Handling in Python section 1
  21. File Handling in Python section 2
  22. Python Functions MCQS Set 1
  23. Python Functions MCQS Set 2
  24. MCQ on List in Python
  25. Pandas MCQ Questions Set 1
  26. Pandas MCQ Questions Set 2
  27. Tuple MCQ in Python
  28. Python dataframe MCQ
  29. Python Mcq Set 1
  30. Python Mcq Set 2
  31. Python Mcq Set 3
  32. Python Mcq Set 4
  33. Python Mcq Set 5
  34. Python Mcq Set 6
  35. Python Mcq Set 7
  36. Python Mcq Set 8
  37. Python Mcq Set 9
  38. Python Mcq Set 10
  39. Python Mcq Set 11
  40. Python Mcq Set 12
  41. Python Mcq Set 13
  42. Python Mcq Set 14
  43. Python Mcq Set 15
  44. Python Mcq Set 16
  45. Python Mcq Set 17
  46. Python Mcq Set 18
  47. Python Mcq Set 19
  48. Python Mcq Set 20
  49. Python Mcq Set 21
  50. Python MCQ
  51. Python MCQ Questions with Answer
  52. Test
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!