ExamVeda
Login
Home
1
What does GUI stand for in programming?
Discuss
Answer & Solution
Answer: Option C
Solution:
GUI stands for Graphical User Interface, which provides visual elements for user interaction.
2
Which Python library is commonly used for creating GUI applications?
Discuss
Answer & Solution
Answer: Option C
Solution:
Tkinter is a widely used Python library for creating GUI applications.
3
What is the purpose of an event in GUI programming?
Discuss
Answer & Solution
Answer: Option B
Solution:
Events are used to handle user interactions like clicks and input in GUI applications.
4
What is the main window in a Tkinter application called?
Discuss
Answer & Solution
Answer: Option C
Solution:
The main window in Tkinter is referred to as the RootWindow.
5
How do you create a label widget in Tkinter?
Discuss
Answer & Solution
Answer: Option A
Solution:
The Label() function is used to create a label widget in Tkinter.
6
Which widget is commonly used for user input in Tkinter?
Discuss
Answer & Solution
Answer: Option C
Solution:
The Entry widget is commonly used for user input in Tkinter applications.
7
How do you create a button widget in Tkinter?
Discuss
Answer & Solution
Answer: Option A
Solution:
The Button() function is used to create a button widget in Tkinter.
8
What is the purpose of the pack() method in Tkinter?
Discuss
Answer & Solution
Answer: Option B
Solution:
The pack() method arranges widgets vertically within their container.
9
How do you bind an event to a widget in Tkinter?
Discuss
Answer & Solution
Answer: Option C
Solution:
The widget.bind(event, function) syntax is used to bind an event to a widget in Tkinter.
10
Which geometry manager is used to organize widgets in a table-like structure in Tkinter?
Discuss
Answer & Solution
Answer: Option A
Solution:
The Grid geometry manager is used to organize widgets in a table-like structure in Tkinter.