Deck 10: Using Libraries and Their Apis: Speech Recognition and Maps

ملء الشاشة (f)
exit full mode
سؤال
The ____________ method of the Context class returns a PackageManager reference.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The getIntExtra method of the Intent class has this API:
Int getIntExtra( String key, int value )
What does it return?

A) The parameter value (always)
B) The value mapped to key, if there is one; otherwise, value
C) A resource id (always)
D) 0
سؤال
The Android framework includes a template, Google Maps Activity, that creates skeleton code to display a map.
سؤال
Using the MarkerOptions class, we can add a snippet to a marker using the ____________ method.
سؤال
A hash table is a data structure that maps keys to values; the class that encapsulates it uses generic types; the actual data types are specified at the time of ____________.
سؤال
The getStringExtra method of the Intent class has this API:
String getStringExtra( String key )
It is a String that was earlier placed in the intent and mapped to ____________.
سؤال
The ____________ class provides methods for both geocoding and reverse geocoding.
سؤال
It is possible to include a button so that when the user clicks on the button, we display the microphone for speech input.
سؤال
After we have created a SpeechRecognizer object, we call the ____________ method in order to start listening to user speech input.
سؤال
The CameraUpdateFactory has many static methods, such as zoomIn and zoomOut, which return a(n) ____________ object reference.
سؤال
In order to display a map in an app, we first need to obtain a(n) ____________ from Google.
سؤال
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to write to external storage is ____________.
سؤال
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to access the precise device location is ____________.
سؤال
What is the name of the main class that encapsulates a camera move, such as a position change, zoom level change, or both?

A) Move
B) CameraMove
C) Update
D) CameraUpdate
سؤال
The ____________ class encapsulates a location on Earth using its latitude and longitude.
سؤال
The ____________ of the OnMapReadyCallback interface is called when the map is instantiated and ready.
سؤال
It is possible to move a map programmatically, without any user interaction.
سؤال
What method of the Intent class do we call to put a value mapped to a key in an Intent?

A) put
B) putKey
C) putValue
D) putExtra
سؤال
What is not included in a CameraUpdate object?

A) Latitude
B) Longitude
C) Resource id
D) Zoom level
سؤال
Some moveCamera and animateCamera methods of the GoogleMap class accept only one parameter. What is the data type of that parameter?

A) CameraUpdate
B) LatLng
C) ZoomLevel
D) Camera
سؤال
It is possible to store an array of values mapped to a key in an Intent.
سؤال
It is possible to display a map and select its type (terrain, satellite, etc.).
سؤال
It is possible to display a map and draw a polygon on top of it.
سؤال
A marker is always positioned at the center of a map.
سؤال
__________________ is a constant from the RecognizerIntent class that we can use to start an Activity that asks the user to speak.
سؤال
__________________ is a constant from the RecognizerIntent class that we can use to start an Activity that searches the web with the user's spoken words.
سؤال
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to access the Internet is __________________.
سؤال
Not specifying the position of a marker or a circle when adding it to a map results in a __________________ at run time and stops the app.
سؤال
Using the MarkerOptions class, we can add a title to a marker using the __________________ method.
سؤال
The putExtra method of the Intent class has this API:
Intent putExtra( String key, String value )
It places a value in the Intent and associates it with __________________.
سؤال
The __________________ class, along with the RecognitionListener interface, both part of the android.speech package, allow us to listen to and process user speech without using a graphical user interface.
سؤال
The onBeginningOfSpeech method of the RecognitionListener interface is called when the user starts speaking; the __________________ method is called when the user stops speaking.
سؤال
The MarkerOptions class has many methods returning the MarkerOptions reference that calls them so that we can __________________ method calls.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/33
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 10: Using Libraries and Their Apis: Speech Recognition and Maps
1
The ____________ method of the Context class returns a PackageManager reference.
getPackageManager
2
The getIntExtra method of the Intent class has this API:
Int getIntExtra( String key, int value )
What does it return?

A) The parameter value (always)
B) The value mapped to key, if there is one; otherwise, value
C) A resource id (always)
D) 0
The value mapped to key, if there is one; otherwise, value
3
The Android framework includes a template, Google Maps Activity, that creates skeleton code to display a map.
True
4
Using the MarkerOptions class, we can add a snippet to a marker using the ____________ method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
5
A hash table is a data structure that maps keys to values; the class that encapsulates it uses generic types; the actual data types are specified at the time of ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
6
The getStringExtra method of the Intent class has this API:
String getStringExtra( String key )
It is a String that was earlier placed in the intent and mapped to ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____________ class provides methods for both geocoding and reverse geocoding.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
8
It is possible to include a button so that when the user clicks on the button, we display the microphone for speech input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
9
After we have created a SpeechRecognizer object, we call the ____________ method in order to start listening to user speech input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
10
The CameraUpdateFactory has many static methods, such as zoomIn and zoomOut, which return a(n) ____________ object reference.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
11
In order to display a map in an app, we first need to obtain a(n) ____________ from Google.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
12
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to write to external storage is ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
13
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to access the precise device location is ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is the name of the main class that encapsulates a camera move, such as a position change, zoom level change, or both?

A) Move
B) CameraMove
C) Update
D) CameraUpdate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____________ class encapsulates a location on Earth using its latitude and longitude.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
16
The ____________ of the OnMapReadyCallback interface is called when the map is instantiated and ready.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
17
It is possible to move a map programmatically, without any user interaction.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
18
What method of the Intent class do we call to put a value mapped to a key in an Intent?

A) put
B) putKey
C) putValue
D) putExtra
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
19
What is not included in a CameraUpdate object?

A) Latitude
B) Longitude
C) Resource id
D) Zoom level
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
20
Some moveCamera and animateCamera methods of the GoogleMap class accept only one parameter. What is the data type of that parameter?

A) CameraUpdate
B) LatLng
C) ZoomLevel
D) Camera
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
21
It is possible to store an array of values mapped to a key in an Intent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
22
It is possible to display a map and select its type (terrain, satellite, etc.).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
23
It is possible to display a map and draw a polygon on top of it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
24
A marker is always positioned at the center of a map.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
25
__________________ is a constant from the RecognizerIntent class that we can use to start an Activity that asks the user to speak.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
26
__________________ is a constant from the RecognizerIntent class that we can use to start an Activity that searches the web with the user's spoken words.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
27
The Manifest.permission class includes constants to be used as values for the android:name attribute of the uses-permission element in the AndroidManifest.xml file. The constant to access the Internet is __________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
28
Not specifying the position of a marker or a circle when adding it to a map results in a __________________ at run time and stops the app.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
29
Using the MarkerOptions class, we can add a title to a marker using the __________________ method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
30
The putExtra method of the Intent class has this API:
Intent putExtra( String key, String value )
It places a value in the Intent and associates it with __________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
31
The __________________ class, along with the RecognitionListener interface, both part of the android.speech package, allow us to listen to and process user speech without using a graphical user interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
32
The onBeginningOfSpeech method of the RecognitionListener interface is called when the user starts speaking; the __________________ method is called when the user stops speaking.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
33
The MarkerOptions class has many methods returning the MarkerOptions reference that calls them so that we can __________________ method calls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 33 في هذه المجموعة.