Deck 7: Events
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/46
العب
ملء الشاشة (f)
Deck 7: Events
1
When an event occurs the corresponding event handler is executed.
True
2
What tools can be used to design your own people objects?
A) Alice builders
B) Character builders
C) Gallery builders
D) People builders
E) None of these
A) Alice builders
B) Character builders
C) Gallery builders
D) People builders
E) None of these
B
3
Which of the following events should be used to cause a method to execute when a world is played?
A) Let the mouse move the camera
B) Play World
C) When the program starts
D) When the world starts
E) None of these
A) Let the mouse move the camera
B) Play World
C) When the program starts
D) When the world starts
E) None of these
D
4
Which of the following events should be used to enable the user to move Alice forward by clicking the up arrow key?
A) Let the mouse move the camera
B) Let the arrow keys move
C) When a key is typed
D) When the world starts
E) None of these
A) Let the mouse move the camera
B) Let the arrow keys move
C) When a key is typed
D) When the world starts
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
5
When the world starts is the name of an event handler.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which of the following events should be used to cause a method to execute when the letter 'X' is typed?
A) Let the mouse move the camera
B) When a key is typed
C) When the mouse is clicked on something
D) When the world starts
E) None of these
A) Let the mouse move the camera
B) When a key is typed
C) When the mouse is clicked on something
D) When the world starts
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following events should be used to enable the user to move the camera around by dragging the mouse around in the world?
A) Let the mouse move the camera
B) When a key is typed
C) When the mouse is clicked on something
D) When the world starts
E) None of these
A) Let the mouse move the camera
B) When a key is typed
C) When the mouse is clicked on something
D) When the world starts
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
8
Another term for the method that executes in response to a particular event is:
A) Event
B) Event handler
C) Property
D) Function
E) None of these
A) Event
B) Event handler
C) Property
D) Function
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
9
The process of responding to an event is commonly called alternating instance response.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
10
What method is used to play a sound?
A) Make sound
B) Play song
C) Play sound
D) Play
E) None of these
A) Make sound
B) Play song
C) Play sound
D) Play
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following parts of a BDE event should be used for code that should execute once when the event stops?
A) Begin
B) During
C) End
D) Stop
E) None of these
A) Begin
B) During
C) End
D) Stop
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following parts of a BDE event should be used for code that should execute once when the event first occurs?
A) Begin
B) During
C) End
D) Start
E) None of these
A) Begin
B) During
C) End
D) Start
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
13
When a world is first created, the only tile that appears in the Events Editor is for the When the world starts event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following statements is useful for debugging a program?
A) Debug
B) Display
C) Print
D) Write
E) None of these
A) Debug
B) Display
C) Print
D) Write
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
15
What are the two ways to associate a sound with an object?
A) Get sound and import sound
B) Get sound and record sound
C) Import sound and record sound
D) Make sound and get sound
E) None of these
A) Get sound and import sound
B) Get sound and record sound
C) Import sound and record sound
D) Make sound and get sound
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
16
When the world starts is an example of which of the following:
A) An event
B) An event handler
C) A method
D) A function
E) None of these
A) An event
B) An event handler
C) A method
D) A function
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which of the following parts of a BDE event should be used for code that should continue to execute as long as the event continues to occur?
A) Begin
B) During
C) End
D) While
E) None of these
A) Begin
B) During
C) End
D) While
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following events should be used to cause a method to execute when a condition you have specified becomes true?
A) While something is true
B) When something becomes true
C) When a key is typed
D) When a variable changes
E) None of these
A) While something is true
B) When something becomes true
C) When a key is typed
D) When a variable changes
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is a BDE event?
A) Let the mouse move the camera
B) Let the arrow keys move
C) When a key is typed
D) While a key is pressed
E) None of these
A) Let the mouse move the camera
B) Let the arrow keys move
C) When a key is typed
D) While a key is pressed
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
20
The create new event button is located in the:
A) Details Panel
B) Events Editor
C) Method Editor
D) Object Editor
E) None of these
A) Details Panel
B) Events Editor
C) Method Editor
D) Object Editor
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
21
An event such as the While a key is pressed event is also referred to as a(n) ___________________ event because of the three slots that are available for the three different aspects of the event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
22
A(n) ___________________ is an action that takes place while a world is playing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ___________________ event should be used to make the world stop if the letter 'Q' is pressed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
24
Events enable the creation of worlds that are more ___________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
25
The ability to generate ___________________ is important for some types of applications, particularly games and simulations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
26
The When a key is typed event could be used if the user wants the world to end if the user types the letter 'Q'.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
27
The random number function is a world-level function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
28
In order to create the While a key is pressed event, the ___________________ event must first be created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
29
The method my first method is an example of an event ___________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n) ___________________ is a method that automatically executes in response to an event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
31
Games typically only utilize a single event handler in order to respond to various user interactions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
32
The print statement is useful for displaying diagnostic messages that can assist with debugging a program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
33
The When a key is typed event can only be used to respond to letters and/or numbers being typed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
34
The character builder only enables you to design male characters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
35
When the world starts is an example of a(n) ___________________ that Alice can detect.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
36
A program cannot be written to respond to more than one event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ___________________ function is used to generate a fractional number between 0 and 1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
38
BDE events have three parts: Begin, During, and End.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
39
Events enable the creation of worlds that are more interactive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ability to generate random numbers is important for some types of applications, particularly games and simulations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
41
The ___________________ portion of a BDE event executes once when the event stops.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
42
The ___________________ statement is useful for displaying diagnostic messages that can assist with debugging a program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
43
The ___________________ builders enable you to design your own people objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ___________________ portion of a BDE event executes as long as the event continues to occur.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
45
Games often require numerous ___________________ in order to respond to various user interactions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ___________________ portion of a BDE event executes once when the event first occurs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck