Exam 8: Graphical User Interrfaces

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What attribute can be used to override the default alignment of a window component?

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

B

Other than specifying key values when performing the method call to EasyFrame, what can you use to change a window's attributes?

Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
Verified

B

In a GUI-based program, what are labels supposed to do?

Free
(Multiple Choice)
4.9/5
(29)
Correct Answer:
Verified

C

GUI-based programs utilize file dialogs in order to allow the user to browse a computer's file system.

(True/False)
4.7/5
(44)

In a GUI-based program, the user can usually alter the size of a window by holding the mouse on its lower-left corner and dragging in any direction.

(True/False)
4.9/5
(39)

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?

(Multiple Choice)
4.8/5
(45)

Command buttons can display text but not images.

(True/False)
4.7/5
(42)

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

(True/False)
4.8/5
(32)

The Tkinter module supports the CMYK color system, but not the RGB color system.

(True/False)
4.9/5
(40)

When passing color values to the tkinter module in hexadecimal, what hex string represents the color red?

(Multiple Choice)
4.8/5
(32)

What two items are included in the class header of a class defined in Python? (Choose two.)

(Multiple Choice)
4.8/5
(39)

The addButton method returns an object of type tkinter.Button.

(True/False)
4.8/5
(33)

A method header looks very different from a function header.

(True/False)
4.9/5
(39)

As a rule of thumb, when you are defining a new class of objects, you should look around for a class that already supports some of the structure and behavior of such objects, and then subclass that class to provide the service you need.

(True/False)
4.8/5
(45)

What scenario would be ideal for the use of a check button?

(Multiple Choice)
4.8/5
(36)

What is NOT one of the more important attributes of a window?

(Multiple Choice)
4.8/5
(36)

By default, a window has an empty title string and is resizable.

(True/False)
4.9/5
(40)

GUI-based programs can be configured to respond to various keyboard events and mouse events.

(True/False)
5.0/5
(39)

A GUI-based program displays a window that contains various components, also known by what specific term?

(Multiple Choice)
4.8/5
(34)

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

(True/False)
4.9/5
(47)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)