Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

GUI development in Python

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
An ______ program responds to actions regardless of the order in which they occur   event-driven  
🗑
A complex GUI program may require more than one ____ window to be in existence at one time.   root  
🗑
A group of ____________ share one special object that reflects which of the check buttons are selected.   radio buttons  
🗑
A widget that can generate an event must have the ____ bound with an event handler.   event  
🗑
A widget's ______ method defines where an object is placed within its master widget.   grid()  
🗑
A(n) ____________________ is a GUI element that accepts and displays multiple lines of text.   text box  
🗑
A(n) ____________________ is a GUI element that allows, as a group, the user to select one option from several.   radio button  
🗑
A(n) ____________________ is a GUI element that allows the user to select or not select an option.   check button  
🗑
A(n) ____________________ is a GUI element that allows, as a group, the user to select one option from several.   radio button  
🗑
A(n) ____________________ loop calls the appropriate event handlers when events occur.   event  
🗑
GUI programs are traditionally _____ driven.   event  
🗑
_______ only allow one choice to be selected at one time while check buttons allow any combination of choices to be selected from the group.   radio buttons  
🗑
The foundation of a GUI program is its _____ window.   root  
🗑
The grid layout manager lets you place widgets at specific locations by treating the ______ as a grid.   frame  
🗑
To create a root window, you instantiate an object of what class?   Tk  
🗑
Usually, what do you assign to a widget's command option?   method  
🗑
What Entry widget method places text into the widget?   insert()  
🗑
What Text widget method returns the text in the widget?   get()  
🗑
What Text widget method removes text from the widget?   delete  
🗑
What Tkinter class is good for displaying multiple lines of text in a GUI?   text  
🗑
Each GUI element is connected to its ______   master  
🗑
A ______ variable is a special kind of variable that can be only true or false   boolean  
🗑
What is the method that begins a GUI program's event loop?   mainloop()  
🗑
What kind of object does a check button need associated with it to reflect the check button's status?   BooleanVar  
🗑
What kind of object does a group of radio buttons need associated with it to reflect which of the radio buttons is selected?   StringVar  
🗑
What method can you use to modify a widget's options?   configure()  
🗑
What method sets the size of a root window?   geometry  
🗑
You must pass a _________ to the constructor of a new widget object?   master  
🗑
What widget object grid() parameter would you pass a value so that the widget will span more than one column?   columnspan  
🗑
What widget object grid() parameter would you pass a value to set the position of the widget within its defined cell(s)?   sticky  
🗑
What widget option do you set to bind the activation of the widget with an event handler?   command  
🗑
You can have only one root window in a ______ program   Tkinter  
🗑
When you write an event-driven program, you bind events with _________   event handlers  
🗑
A _____ can hold other widgets   frame  
🗑
A _______ widget is not interactive   label  
🗑
You might choose not to suppress the __________ that a GUI program generates because this can be used to display any error messages that the GUI program produces.   console window  
🗑
What kind of object does a check button need associated with it to reflect the check button's status?   boolean variable  
🗑
What kind of object does a group of radio buttons need associated with it to reflect which of the radio buttons is selected?   stringVar  
🗑
What method can you use to modify a widget's options?   configure()  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: galvanl
Popular Computers sets