UPDATE 2026
graphical user interface (GUI) - Answers A __________ allows the user to interact with the operating
system and other programs using graphical elements such as icons, buttons, and dialog boxes.
user interface - Answers A _________ is the part of the computer that the user interacts with.
command line interface - Answers A __________ typically displays a prompt, line by line, in which a
user responds to.
Graphical User Interface (GUI) - Answers __________allows users to interact with a program through
graphical elements on the screen.
Dialog boxes - Answers __________ are small windows that display information and allow the user to
perform actions.
event-driven - Answers The GUI environment is considered to be __________ because the user
determines the order in which things happen.
program (not the user) - Answers In a command line environment, the _________ determines the
order in which things happen.
False - Answers True/False. Python has GUI programming features built into the language itself.
tkinter (Tk interface) - Answers In Python, the __________ module is used to creat simple GUI
programs
widgets - Answers In Python, a GUI program presents a window with various graphical _________
that the user can interact with or view.
False - Answers True/False. In Python it is common to write a function that contains the on-screen
elements rather than a class.
____init___ - Answers In Python, it is common practice to write a class with an _________ method
that builds the GUI.
label - Answers The _________ widget displays a single line of text in a window
pack method - Answers In Python, the ___________ determines where a widget should be positioned,
and makes the widget visible when the main window is displayed
root widget - Answers The following line of code below creates an instance of
the tkinter module's Tk class, and assigns it to the main_window variable. This object is the
___________,
which is the main window in the program
pack method - Answers In Python, the __________ is called for each widget in a window.
True - Answers True/False. Positioning depends on the order in which widgets were added to the
main window.
True - Answers True/False. Valid side arguments that you can pass to the pack method are: side='top',
side='left', side='right'
frame - Answers A _________ is a container that can hold other widgets. You can use a _________s to
organize the widgets in a window.
button - Answers The _________ widget is used to allow a user to click on it to call the specified
function or method
callback function, event handler - Answers A _________ is a function or method that executes when
the user clicks the button. It is also known as a(n)_____________.
True - Answers True/False. It is customary that GUI programs include a Quit or Exit button that closes
the program when the user clicks it.
quit (exit) - Answers In Python, when the user clicks the _________ button the destroy method is
called and the program ends.
Info dialog box - Answers A _______ shows information to the user. It includes a title and a message.
Entry widget - Answers In Python, the ________ is a rectangular area that the user can type text into.
It is used to gather input in a GUI program.
get method - Answers In Python, the Entry widget's _________ is used to retrieve the data that the
user has typed into the widget.
string - Answers The get method returns a ______ data type, so it will have to be converted to the
appropriate data type if a calculation will be performed on the value.
True - Answers True/False. You can use labels as output fields.