๐Ÿงช Python MCQ Quiz Hub

Python MCQS - GUI in python

Choose a topic to test your knowledge and improve your Python skills

Which of the following tool provides a GUI in python





โœ… Correct Answer: 2

Tkinter tool in python provide the





โœ… Correct Answer: 3

GUI stands for





โœ… Correct Answer: 3

What is widget in Tkinter GUI in python





โœ… Correct Answer: 1

Which of the following is clickable in GUI programming ?





โœ… Correct Answer: 4

How we import a tkinter in python program ?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 1

From which keyword we import the Tkinter in program?





โœ… Correct Answer: 3

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 3

what is Tk() in tkinter python ?





โœ… Correct Answer: 4

Essential thing to create a window screen using tkinter python?





โœ… Correct Answer: 1

How we install tkinter in system ?





โœ… Correct Answer: 3

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

To hold the screen what we use ?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

title() is used for





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 4

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





โœ… Correct Answer: 1

How pack() function works on tkinter widget ?





โœ… Correct Answer: 3

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 4

fg in tkinter widget is stands for ?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

Config() in Python Tkinter are used for





โœ… Correct Answer: 3

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

Screen inside another screen is possible by creating





โœ… Correct Answer: 2

What is the Syntax to create a Frame ?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 4

Creating line are come in which type of thing ?





โœ… Correct Answer: 2

Which of the following is correct ?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 4

use of the angle attribute are on which widget ?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 3

What is the correct syntax of destroy in tkinter ?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 4

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





โœ… Correct Answer: 2

Correct way to draw a line in canvas tkinter ?





โœ… Correct Answer: 2