Questionmark Perception
Questionmark Perception
Oct 25 2021 |
Logged in as : REN2047506
Introduction
Assessment Feedback
Thank you for your participation in this assignment. Your work has been submitted to your instructor.
Question Feedback
Question
1 of 10
Programming that is tied to user-generated actions, such as mouse clicks, is known as what type of
programming?
user-driven programming
object-oriented programming
event-driven programming
access-driven programming
1 out of 1
Correct!!
Question
2 of 10
What is the name of the standard GUI module for Python?
tkinter
Kivy
PyQt5
breezypythongui
1 out of 1
Correct!!
Question
3 of 10
What scenario would be ideal for the use of a check button?
https://qm.riolearn.org/delivery/perception.php?customerid=perceptioncore 1/4
10/25/21, 2:52 AM Questionmark Perception
1 out of 1
Correct!!
Question
4 of 10
What is the "self" parameter utilized for in a class definition block?
It is used as a shortcut rather than typing out the module name, parent classes, and subclass to which
the class belongs.
It is used to tell the Python virtual machine that the class is locally significant in the particular module
or script it is defined.
It is used within the class and method definitions to call other methods on the same object, or to access
that object's variables or data.
It is used to define the scope of the class in relevance to the rest of the program.
1 out of 1
Correct!!
Question
5 of 10
What scenario would be ideal for the use of a prompter box?
You require a GUI element that restricts a user to a single choice of items out of a group of items.
You require a GUI element to display an error message upon incorrect input.
You require a GUI element to prompt for a user's text input.
You require a GUI element to allow a large amount of text to be entered by the user.
0 out of 1
Question
6 of 10
A GUI-based program displays a window that contains various components, also known by what specific
term?
https://qm.riolearn.org/delivery/perception.php?customerid=perceptioncore 2/4
10/25/21, 2:52 AM Questionmark Perception
sprockets
gadgets
doodads
widgets
1 out of 1
Correct!!
Question
7 of 10
How can you associate a keyboard event and an event-handling method with a widget?
You must map a shortcut in the host operating system to run the script with a specific argument.
You must use the bind method, which expects a string containing a key event.
You must name the event-handling method "onPress_".
You must define the key's event in a YAML-based configuration file.
1 out of 1
Correct!!
Question
8 of 10
What argument can be specified to the two file dialog functions in order to specify the available file types
that can be used?
fileformat
filetypes
filedata
defaultextension
0 out of 1
filetypes
Question
9 of 10
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?
combo frame
layout
https://qm.riolearn.org/delivery/perception.php?customerid=perceptioncore 3/4
10/25/21, 2:52 AM Questionmark Perception
panel
superframe
1 out of 1
Correct!!
Question
10 of 10
What EasyFrame method is used to specify if a window is resizable or not?
setWindowAttrib()
chgResize()
modWindowSize()
setEnableResize()
0 out of 1
setEnableResize()
https://qm.riolearn.org/delivery/perception.php?customerid=perceptioncore 4/4