Deck 14: GUI Programming
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/35
العب
ملء الشاشة (f)
Deck 14: GUI Programming
1
Programs that use tkinter do not always run reliably under IDLE.
True
2
The Toplevel widget is a container, like a(n) _____, but displays in its own window.
A) Label
B) frame
C) Canvas
D) Message
A) Label
B) frame
C) Canvas
D) Message
B
3
Check buttons are displayed in groups and used to make mutually exclusive selections.
False
4
In which environment can a user determine the order in which things happen?
A) Command line
B) GUI
C) ALU
D) CPU
A) Command line
B) GUI
C) ALU
D) CPU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
5
Python does not have GUI programming features built into the language itself.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
6
What are the items that appear on the graphical interface window called?
A) Buttons
B) Icons
C) Widgets
D) Graphical elements
A) Buttons
B) Icons
C) Widgets
D) Graphical elements
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
7
The acronym GUI stands for:
A) Graphical User Interface
B) Graphical Unit Interface
C) Graphical User Interaction
D) Graphical Users' Interface
A) Graphical User Interface
B) Graphical Unit Interface
C) Graphical User Interaction
D) Graphical Users' Interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
8
With what part of the computer does the user interact?
A) Graphical unit
B) User interface
C) Register
D) CPU
A) Graphical unit
B) User interface
C) Register
D) CPU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
9
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) Command line
B) GUI
C) ALU
D) CPU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
Which widget will create a rectangular area that can be used to display graphics?
A) Label
B) frame
C) Canvas
D) Message
A) Label
B) frame
C) Canvas
D) Message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which widget will display multiple lines of text?
A) Label
B) Canvas
C) Message
D) Text
A) Label
B) Canvas
C) Message
D) Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
13
In Python, what module is used to create a GUI program?
A) tkinter
B) Pgui
C) gint
D) pygui
A) tkinter
B) Pgui
C) gint
D) pygui
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
14
The _____ accepts the user's commands.
A) register
B) CPU
C) operating system
D) ALU
A) register
B) CPU
C) operating system
D) ALU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
15
Using the radio buttons, the user can make multiple selections at one time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which widget will create an area that displays one line of text or an image?
A) Label
B) frame
C) Canvas
D) Message
A) Label
B) frame
C) Canvas
D) Message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
17
What types of programs are event-driven?
A) GUI programs
B) Command line programs
C) Procedural programs
D) Modular programs
A) GUI programs
B) Command line programs
C) Procedural programs
D) Modular programs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
18
How many graphical widgets does the tkinter module provide?
A) five
B) Ten
C) fifteen
D) Twenty
A) five
B) Ten
C) fifteen
D) Twenty
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which widget allows the user to select a value by moving a slider along a track?
A) Entry
B) Scale
C) Scrollbar
D) Slider
A) Entry
B) Scale
C) Scrollbar
D) Slider
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
20
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
A) input boxes
B) windows
C) dialog boxes
D) message boxes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
21
To use the showinfo function, the tkinter.messagebox module needs to be imported.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
22
The GUI popularized the use of the _______________ as an input device.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
23
Many computer users find a command line interface relatively easy to use.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
24
A(n) _______________ is a container that can hold other widgets and organize the widgets in a window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
25
A(n) _______________ is a widget that the user can click to cause an action to occur.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
26
_______________ are small windows that display information and allow the user to perform actions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) _______________ function is a function or method that executes when the user clicks the button.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
28
The _______________ widget is used to display text in a window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
29
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
30
The _______________ module allows you to create GUI programs in Python.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
31
A(n) _______________ allows the user to interact with the operating system and other programs through graphical elements on the screen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
32
The pack method determines where a widget should be positioned.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
33
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
34
In a GUI environment, no text input is possible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck
35
GUI programs respond to the actions of the user, and so they are called _______________ programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 35 في هذه المجموعة.
فتح الحزمة
k this deck