Question

In: Computer Science

QUESTION 1 A GUI-based program displays a window that contains various components, also known by what...

QUESTION 1

  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

  1. A method header looks very different from a function header.

    True

    False

1 points   

QUESTION 3

  1. By default, a newly opened window shrink-wraps around its components and is resizable.

    True

    False

1 points   

QUESTION 4

  1. Command buttons can display text but not images.

    True

    False

1 points   

QUESTION 5

  1. 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

  1. 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

  1. 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

  1. Lists of strings can be displayed in list boxes.

    True

    False

1 points   

QUESTION 9

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. What is the name of the standard GUI module for Python?

    a.

    Kivy

    b.

    PyQt5

    c.

    tkinter

    d.

    breezypythongui

1 points   

QUESTION 15

  1. 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

  1. 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

  1. The values that can be used within the sticky attribute are "T, D, L, R".

    True

    False

1 points   

QUESTION 18

  1. The values of an object's instance variables make up its state.

    True

    False

1 points   

QUESTION 19

  1. The creation of a customized version of an existing class is called subclassing.

    True

    False

1 points   

QUESTION 20

  1. The breezypythongui module's IntegerField component is a subclass of the Entry class.

    True

    False

1 points  

Solutions

Expert Solution

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.


Related Solutions

Discuss this statement: The application of Strategic Marketing (also known as the Window Analogy) can assist...
Discuss this statement: The application of Strategic Marketing (also known as the Window Analogy) can assist a company in managing (or at least being aware of) a product's place in the life cycle.
Question 1 The current size of the labour force in Tommynesia is 298,555.  It is also known...
Question 1 The current size of the labour force in Tommynesia is 298,555.  It is also known that the labour force participation rate is 61.7%.   Use this information to find the following.                                                                                                                      Calculate the working age population. There are 25,535 people unemployed. Calculate the unemployment rate.                                                                                                                                                 Following from part a), suppose that the size of the labour force decreases by 35,000. What would happen to the unemployment rate? Assume that the number of people unemployed does not change. Explain your answer...
Write a GUI-based program that allows the user to open, edit, and save text files. The...
Write a GUI-based program that allows the user to open, edit, and save text files. The GUI should include a labeled entry field for the filename and multi-line text widget for the text of the file. The user should be able to scroll through the text by manipulating a vertical scrollbar. Include command buttons labeled Open, Save, and New that allow the user to open, save and create new files. The New command should then clear the text widget and...
Write a GUI based Python program that will allow the user to perform (i) generate RSA...
Write a GUI based Python program that will allow the user to perform (i) generate RSA keys, (ii) encrypt a given message and (iii) decrypt the message without using any cryptographic library. Your program will generate the values of p unless the user provides them manually. Then the program will generate the keys (private and public). Then the program will allow the user to enter his/her message to be encrypted. Finally, the program will perform the decryption operation as well....
Write a program that draws the circumscribed circle (also known as the circumcircle) of a given...
Write a program that draws the circumscribed circle (also known as the circumcircle) of a given triangle ABC; this circle passes through points A, B, and C. These points will be specified by the user by clicking the mouse button. Remember, the three perpendicular bisectors of the three edges of a triangle all pass through one point, the circumcenter, which is the center of the circumscribed circle.
Write a program that draws the circumscribed circle (also known as the circumcircle) of a given...
Write a program that draws the circumscribed circle (also known as the circumcircle) of a given triangle ABC; this circle passes through points A, B, and C. These points will be specified by the user by clicking the mouse button. Remember, the three perpendicular bisectors of the three edges of a triangle all pass through one point, the circumcenter, which is the center of the circumscribed circle.
1.Discuss various measures of National income accounting. What are the various components and methods of calculating...
1.Discuss various measures of National income accounting. What are the various components and methods of calculating GDP?Do you think Gdp as an economic indicators truly depicts the economic and social welfare of an economy? why or why not?
(Language: c++)Write a program that displays a question and 4 possible answers numbered 1 through 4....
(Language: c++)Write a program that displays a question and 4 possible answers numbered 1 through 4. . The program should ask the user to answer 1, 2, 3, or 4 and tell them if they are correct or not. If the user enters anything besides 1, 2, 3, or 4 the program should return an error message example outout: whats 2+5? 1. 4 2. 7 3. 1 4. 0 // if user inputs anything other then option 2 the screen...
Question 1 The novel corona virus disease (also known as COVID – 19) which started in...
Question 1 The novel corona virus disease (also known as COVID – 19) which started in WUHAN in December 2019 has grounded the global economy to a halt. World crude prices reached their lowest and trade among nations have generally slowed. Production has slowed and jobs are being lost across the globe. Globally, over seven million people have contracted the virus and over four hundred thousand have died. Ghana announced its first two confirmed cases of COVID – 19 on...
Question 1 The novel corona virus disease (also known as COVID – 19) which started in...
Question 1 The novel corona virus disease (also known as COVID – 19) which started in WUHAN in December 2019 has grounded the global economy to a halt. World crude prices reached their lowest and trade among nations have generally slowed. Production has slowed and jobs are being lost across the globe. Globally, over seven million people have contracted the virus and over four hundred thousand have died. Ghana announced its first two confirmed cases of COVID – 19 on...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT