In: Computer Science
QUESTION 1
A GUI-based program displays a window that contains various components, also known by what specific term?
| a. | 
 gadgets  | 
|
| b. | 
 doodads  | 
|
| c. | 
 widgets  | 
|
| d. | 
 sprockets  | 
1 points
QUESTION 2
A method header looks very different from a function header.
True
False
1 points
QUESTION 3
By default, a newly opened window shrink-wraps around its components and is resizable.
True
False
1 points
QUESTION 4
Command buttons can display text but not images.
True
False
1 points
QUESTION 5
In GUI terminology, what is the name used to describe a rectangular window component with its own grid that is useful for organizing other window components?
| a. | 
 panel  | 
|
| b. | 
 combo frame  | 
|
| c. | 
 layout  | 
|
| d. | 
 superframe  | 
1 points
QUESTION 6
In a GUI-based program, what are labels supposed to do?
| a. | 
 They are boxes within which a program can accept input.  | 
|
| b. | 
 They interactive elements in the program that can be used for selections.  | 
|
| c. | 
 They are text elements that describe inputs and outputs.  | 
|
| d. | 
 They define the title name of the program that is running.  | 
1 points
QUESTION 7
In the breezypythongui module, what class provides the basic functionality for any window, such as the command buttons in the title bar?
| a. | 
 ProgFrame  | 
|
| b. | 
 EasyFrame  | 
|
| c. | 
 BreezyFrame  | 
|
| d. | 
 WindowFrame  | 
1 points
QUESTION 8
Lists of strings can be displayed in list boxes.
True
False
1 points
QUESTION 9
One of the requirements for a breezypythongui-based Python script you're writing is that you be able to use a slider bar for selecting a value from a range of values. What type of window component do you want?
| a. | 
 Scale  | 
|
| b. | 
 EasySlider  | 
|
| c. | 
 EasyRange  | 
|
| d. | 
 SlideRule  | 
1 points
QUESTION 10
Programming that is tied to user-generated actions, such as mouse clicks, is known as what type of programming?
| a. | 
 event-driven programming  | 
|
| b. | 
 user-driven programming  | 
|
| c. | 
 access-driven programming  | 
|
| d. | 
 object-oriented programming  | 
1 points
QUESTION 11
When using the EasyFrame class to create a window, what method specifically is used to set up any window components to display in the window?
| a. | 
 __window__  | 
|
| b. | 
 __init__  | 
|
| c. | 
 __main__  | 
|
| d. | 
 __name__  | 
1 points
QUESTION 12
What scenario would be ideal for the use of a prompter box?
| a. | 
 You require a GUI element that restricts a user to a single choice of items out of a group of items.  | 
|
| b. | 
 You require a GUI element to allow a large amount of text to be entered by the user.  | 
|
| c. | 
 You require a GUI element to display an error message upon incorrect input.  | 
|
| d. | 
 You require a GUI element to prompt for a user's text input.  | 
1 points
QUESTION 13
What kind of statement can be used to attempt a graceful recovery from an exception?
| a. | 
 attempt-fail statement  | 
|
| b. | 
 test-succeed statement  | 
|
| c. | 
 try-except statement  | 
|
| d. | 
 if-else statement  | 
1 points
QUESTION 14
What is the name of the standard GUI module for Python?
| a. | 
 Kivy  | 
|
| b. | 
 PyQt5  | 
|
| c. | 
 tkinter  | 
|
| d. | 
 breezypythongui  | 
1 points
QUESTION 15
What attribute can be used to override the default alignment of a window component?
| a. | 
 orientation  | 
|
| b. | 
 align  | 
|
| c. | 
 target  | 
|
| d. | 
 sticky  | 
1 points
QUESTION 16
What argument can be specified to the two file dialog functions in order to specify the available file types that can be used?
| a. | 
 filedata  | 
|
| b. | 
 defaultextension  | 
|
| c. | 
 fileformat  | 
|
| d. | 
 filetypes  | 
1 points
QUESTION 17
The values that can be used within the sticky attribute are "T, D, L, R".
True
False
1 points
QUESTION 18
The values of an object's instance variables make up its state.
True
False
1 points
QUESTION 19
The creation of a customized version of an existing class is called subclassing.
True
False
1 points
QUESTION 20
The breezypythongui module's IntegerField component is a subclass of the Entry class.
True
False
1 points
Dear Student ,
As per the requirement submitted above , kindly find the below solution.
Question 1:
Answer :c.widgets
Explanation :A GUI-based program displays a window that contains various components, which is called as widgets.
******************************
Question 2:
Answer :False
Explanation :A method header looks same as a function header.
******************************
Question 3:
Answer :True
Explanation :By default, a newly opened window shrink-wraps around its components and is resizable.
******************************
Question 4:
Answer :False
Explanation :Command buttons can display text and images.
******************************
Question 5:
Answer :a.panel
Explanation :In GUI terminology, panel is the name used to describe a rectangular window component with its own grid that is useful for organizing other window components.
******************************
Question 8:
Answer :True
Explanation :Lists of strings can be displayed in list boxes.
******************************
Question 10:
Answer :a.event-driven programming
Explanation :In event-driven programming the events are handled such as mouse click etc.
******************************
NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.