Deck 13: GUI Programming

ملء الشاشة (f)
exit full mode
سؤال
In which type of interface is a prompt displayed that allows the user to enter a command, which is then executed?

A) Command line
B) GUI
C) ALU
D) CPU
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In a GUI environment, most interactions are done through small windows known as _____ that display information and allow the user to perform actions.

A) input boxes
B) windows
C) dialog boxes
D) message boxes
سؤال
In which environment can a user determine the order in which things happen?

A) Command line
B) GUI
C) ALU
D) CPU
سؤال
What are the items that appear on the graphical interface window called?

A) Buttons
B) Icons
C) Widgets
D) Graphical elements
سؤال
With what part of the computer does the user interact?

A) Graphical unit
B) User interface
C) Register
D) CPU
سؤال
Programs that use tkinter do not always run reliably under IDLE.
سؤال
Python does not have GUI programming features built into the language itself.
سؤال
The _____ accepts the user's commands.

A) register
B) CPU
C) operating system
D) ALU
سؤال
What types of programs are event-driven?

A) GUI programs
B) Command line programs
C) Procedural programs
D) Modular programs
سؤال
A root widget's destroy method can be used as a callback function for a quit button.
سؤال
In Python, what module is used to create a GUI program?

A) tkinter
B) Pgui
C) gint
D) pygui
سؤال
Which widget will create a rectangular area that can be used to display graphics?

A) Label
B) Frame
C) Canvas
D) Message
سؤال
Which widget will display multiple lines of text?

A) Label
B) Canvas
C) Message
D) Text
سؤال
Which widget will create an area that displays one line of text or an image?

A) Label
B) Frame
C) Canvas
D) Message
سؤال
Check buttons are displayed in groups and used to make mutually exclusive selections.
سؤال
How many graphical widgets does the tkinter module provide?

A) Five
B) Ten
C) Fifteen
D) Twenty
سؤال
The Toplevel widget is a container, like a(n) _____, but displays in its own window.

A) Label
B) Frame
C) Canvas
D) Message
سؤال
Using the radio buttons, the user can make multiple selections at one time.
سؤال
The acronym GUI stands for:

A) Graphical User Interface
B) Graphical Unit Interface
C) Graphical User Interaction
D) Graphical Users' Interface
سؤال
Which widget allows the user to select a value by moving a slider along a track?

A) Entry
B) Scale
C) Scrollbar
D) Slider
سؤال
_______________ are small windows that display information and allow the user to perform actions.
سؤال
The _______________ widget is used to display text in a window.
سؤال
A(n) _______________ is a container that can hold other widgets and organize the widgets in a window.
سؤال
In a GUI environment, no text input is possible.
سؤال
A(n) _______________ function is a function or method that executes when the user clicks the button.
سؤال
A(n) _______________ is a widget that the user can click to cause an action to occur.
سؤال
Many computer users find a command line interface relatively easy to use.
سؤال
A(n) _______________ allows the user to interact with the operating system and other programs through graphical elements on the screen.
سؤال
The pack method determines where a widget should be positioned.
سؤال
The Label widget's _______________ method determines where a widget should be positioned and makes the widget visible when the main window is displayed.
سؤال
The _______________ module allows you to create GUI programs in Python.
سؤال
The GUI popularized the use of the _______________ as an input device.
سؤال
GUI programs respond to the actions of the user, and so they are called _______________ programs.
سؤال
An info dialog box is a simple window that displays a message to the user and has an OK button that closes the dialog box.
سؤال
To use the showinfo function, the tkinter.messagebox module needs to be imported.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/35
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 13: GUI Programming
1
In which type of interface is a prompt displayed that allows the user to enter a command, which is then executed?

A) Command line
B) GUI
C) ALU
D) CPU
A
2
In a GUI environment, most interactions are done through small windows known as _____ that display information and allow the user to perform actions.

A) input boxes
B) windows
C) dialog boxes
D) message boxes
C
3
In which environment can a user determine the order in which things happen?

A) Command line
B) GUI
C) ALU
D) CPU
B
4
What are the items that appear on the graphical interface window called?

A) Buttons
B) Icons
C) Widgets
D) Graphical elements
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
5
With what part of the computer does the user interact?

A) Graphical unit
B) User interface
C) Register
D) CPU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
6
Programs that use tkinter do not always run reliably under IDLE.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
7
Python does not have GUI programming features built into the language itself.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
8
The _____ accepts the user's commands.

A) register
B) CPU
C) operating system
D) ALU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
9
What types of programs are event-driven?

A) GUI programs
B) Command line programs
C) Procedural programs
D) Modular programs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
10
A root widget's destroy method can be used as a callback function for a quit button.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
11
In Python, what module is used to create a GUI program?

A) tkinter
B) Pgui
C) gint
D) pygui
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which widget will create a rectangular area that can be used to display graphics?

A) Label
B) Frame
C) Canvas
D) Message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which widget will display multiple lines of text?

A) Label
B) Canvas
C) Message
D) Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which widget will create an area that displays one line of text or an image?

A) Label
B) Frame
C) Canvas
D) Message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
15
Check buttons are displayed in groups and used to make mutually exclusive selections.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
16
How many graphical widgets does the tkinter module provide?

A) Five
B) Ten
C) Fifteen
D) Twenty
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Toplevel widget is a container, like a(n) _____, but displays in its own window.

A) Label
B) Frame
C) Canvas
D) Message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
18
Using the radio buttons, the user can make multiple selections at one time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
19
The acronym GUI stands for:

A) Graphical User Interface
B) Graphical Unit Interface
C) Graphical User Interaction
D) Graphical Users' Interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which widget allows the user to select a value by moving a slider along a track?

A) Entry
B) Scale
C) Scrollbar
D) Slider
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
21
_______________ are small windows that display information and allow the user to perform actions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
22
The _______________ widget is used to display text in a window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
23
A(n) _______________ is a container that can hold other widgets and organize the widgets in a window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
24
In a GUI environment, no text input is possible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
25
A(n) _______________ function is a function or method that executes when the user clicks the button.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
26
A(n) _______________ is a widget that the user can click to cause an action to occur.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
27
Many computer users find a command line interface relatively easy to use.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
28
A(n) _______________ allows the user to interact with the operating system and other programs through graphical elements on the screen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
29
The pack method determines where a widget should be positioned.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
30
The Label widget's _______________ method determines where a widget should be positioned and makes the widget visible when the main window is displayed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
31
The _______________ module allows you to create GUI programs in Python.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
32
The GUI popularized the use of the _______________ as an input device.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
33
GUI programs respond to the actions of the user, and so they are called _______________ programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
34
An info dialog box is a simple window that displays a message to the user and has an OK button that closes the dialog box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
35
To use the showinfo function, the tkinter.messagebox module needs to be imported.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.