Deck 10: Programming for Mobile Devices and Touchscreens
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/41
العب
ملء الشاشة (f)
Deck 10: Programming for Mobile Devices and Touchscreens
1
Which type of events focus on responding to finger touches on a touchscreen?
A)Drag events
B)Pointer events
C)Touch events
D)Mouse events
A)Drag events
B)Pointer events
C)Touch events
D)Mouse events
C
2
Which type of events aim to handle input from a mouse, finger, or stylus with each event?
A)Drag events
B)Pointer events
C)Touch events
D)Mouse events
A)Drag events
B)Pointer events
C)Touch events
D)Mouse events
B
3
The touchstart event is roughly analogous to the ____ event.
A) click
B) mouseup
C) mousedown
D) mouseover
A) click
B) mouseup
C) mousedown
D) mouseover
C
4
A device's ____ detects its orientation in space.
A)gyroscope
B)camera
C)accelerometer
D)battery
A)gyroscope
B)camera
C)accelerometer
D)battery
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
5
To continually monitor a user's position, you use the ____ method of the Geolocation API.
A) getCurrentPosition()
B)watchPosition()
C)clearWatch()
D)latitude()
A) getCurrentPosition()
B)watchPosition()
C)clearWatch()
D)latitude()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
6
The mobile versions of popular browsers share all the same capabilities, limitations, and even bugs as their desktop counterparts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
7
You access methods of the Geolocation API using the geolocation property of the ____ object.
A) Screen
B) Window
C) Navigator
D) Location
A) Screen
B) Window
C) Navigator
D) Location
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which event is fired when a user moves a finger off the screen or outside of an object's containing element?
A) touchstart
B) touchmove
C) touchend
D) touchcancel
A) touchstart
B) touchmove
C) touchend
D) touchcancel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of the following is a touch event?
A) touchend
B) mousedown
C) pointermove
D) clientY
A) touchend
B) mousedown
C) pointermove
D) clientY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
10
A device's ____ detects changes in speed.
A)gyroscope
B)camera
C)accelerometer
D)battery
A)gyroscope
B)camera
C)accelerometer
D)battery
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
11
The success and fail arguments of the getCurrentPosition()method, which are executable code, are examples of ____ .
A)API keys
B)properties
C) callbacks
D)minifiers
A)API keys
B)properties
C) callbacks
D)minifiers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
12
To disable interface gestures in response to pointer events, you change the value off the ____ property.
A) touches
B) clientX
C) touchAction
D) msTouchAction
A) touches
B) clientX
C) touchAction
D) msTouchAction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
13
The Geolocation API p rovides access to device orientation and changes in orientation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following is a mouse event?
A) touchstart
B) click
C) pointerup
D) clientX
A) touchstart
B) click
C) pointerup
D) clientX
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
15
Pointer events do not aim to handle input from a mouse.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following is NOT removed when minifying a file?
A) spaces
B)comments
C)indents
D)line breaks
A) spaces
B)comments
C)indents
D)line breaks
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
17
On a touchscreen device without a mouse, most browsers fire the click event when a user touches the screen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
18
To request a user's position a single time, you use the ____ method of the Geolocation API.
A) getCurrentPosition()
B)watchPosition()
C)clearWatch()
D)latitude()
A) getCurrentPosition()
B)watchPosition()
C)clearWatch()
D)latitude()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
19
Touch events are built to allow for multiple touches on the screen at the same time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is a pointer event?
A) touchcancel
B) mouseout
C) pointerdown
D) clientX
A) touchcancel
B) mouseout
C) pointerdown
D) clientX
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
22
Provide two reasons why it's important to minimize download size for a mobile app.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
23
Explain the difference in how you reference coordinates between mouse events and touch events.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
24
Explain what the Device Orientation API does and provide an example of how it could be used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
25
Explain why you need to be able to distinguish between app and device interaction when interpreting touch events.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
26
What does it mean to load scripts responsively?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
27
Why is it necessary for geolocation code to allow for a lack of response to a permission request?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which array contains coordinates of all touches currently on the screen?
A) touches
B) allTouches
C) targetTouches
D) changedTouches
A) touches
B) allTouches
C) targetTouches
D) changedTouches
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
29
Explain what the Battery Status API does and provide an example of how it could be used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
30
The object returned by the getCurrentPosition()method of the Geolocation API contains a single property named ____ .
A) coordinates
B) coords
C) geolocation
D) geo
A) coordinates
B) coords
C) geolocation
D) geo
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
31
In the Google Maps API, you specify coordinates with the ____ constructor.
A) Coords()
B)Coordinates()
C) New()
D)LatLng()
A) Coords()
B)Coordinates()
C) New()
D)LatLng()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
32
How can you make changes or enhancements to an app that uses a minified file?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
33
Pointer events are supported only by certain versions of which browser?
A) Mozilla Firefox
B) Google Chrome
C) Apple Safari
D)Microsoft Internet Explorer
A) Mozilla Firefox
B) Google Chrome
C) Apple Safari
D)Microsoft Internet Explorer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
34
In a touch __________, a browser checks a touched element for an event handler for multiple events, including some mouse events.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
35
In the Google Maps API, the ____ constructor creates a map object.
A) Create()
B)New()
C) Map()
D)LatLng()
A) Create()
B)New()
C) Map()
D)LatLng()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
36
Large-volume users of the Google Maps API need an API __________, which is a string of characters that you incorporate into any request your code makes to Google to verify that your use is licensed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
37
What is the difference between a synchronous callback and an asynchronous callback?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
38
Converting a physical address to a pair of latitude and longitude coordinates is known as __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
39
__________ is the process of making it clear to users what information your app wants to collect from them and how you intend to use it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
40
By adding the __________ method within event handler code, you prevent touch actions on specific elements from also triggering interface gestures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
41
What are some different ways to test a mobile app on different mobile platforms?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck