PRM392 Final Exam Questions AND Correct Answers
_ represents a single user lntedace screen Select one:
a. View
b. Fragment
c. Layout
d. Activity - ✔✔d
__________ are the interactive components in your
app's user interface
a. Input Events
b. Input controls
c. Broadcast
d. BroadcastReceiver - ✔✔b
_________________ are used to register activity,
services, broadcast receiver as being capable of
performing an action on a particular kind of actions.
a. register
b. Intents filter
,c. Intents - ✔✔b
_________, you actually specify the activity that is
required to respond to the intents.
a. Explicit Intent
b. Implicit Intent - ✔✔a
................., you just declare an intent and leave it to the
platform to find an activity that can respond to the
intent.
a. Explicit Intent
b. Implicit Intent - ✔✔b
'Screen has turned off' is an example
a) Normal broadcast
b) Ordered broadcast
c) background operation
d) None - ✔✔a
,A bound service must, at a minimum, implement the
which method?
A.onBind()
B.onDestroy
C.onCreate()
D.onStart() - ✔✔A
A call to the _________ method of the ActivityCompat
class will return a true result if the user has previously
denied a request for the specified permission, and a
false result if the request has not previously been made.
Select one:
a. shouldShowRequestPermissionRationale()
b. isPermissionGranted()
c. isPermissionDenied()
d. isPermissionGrantedByUser() - ✔✔A
An application listens for specific broadcast intents by
registering a _______________?Select one:
, a. BroadcastListener
b. BroadcastReceiver
c. BroadcastDetector
d. None of the others - ✔✔b
Android Architecture Components provide some
convenience annotations for DAOS. Which of the
following are available?
(Choose 4 answers)
A. @Query
B. @Insert
C. @Delete
D. @Update
E. @Select - ✔✔ABCD
Android is based on which kernel?
Select one:
a. MAC kernel
b. Hybrid Kernel
_ represents a single user lntedace screen Select one:
a. View
b. Fragment
c. Layout
d. Activity - ✔✔d
__________ are the interactive components in your
app's user interface
a. Input Events
b. Input controls
c. Broadcast
d. BroadcastReceiver - ✔✔b
_________________ are used to register activity,
services, broadcast receiver as being capable of
performing an action on a particular kind of actions.
a. register
b. Intents filter
,c. Intents - ✔✔b
_________, you actually specify the activity that is
required to respond to the intents.
a. Explicit Intent
b. Implicit Intent - ✔✔a
................., you just declare an intent and leave it to the
platform to find an activity that can respond to the
intent.
a. Explicit Intent
b. Implicit Intent - ✔✔b
'Screen has turned off' is an example
a) Normal broadcast
b) Ordered broadcast
c) background operation
d) None - ✔✔a
,A bound service must, at a minimum, implement the
which method?
A.onBind()
B.onDestroy
C.onCreate()
D.onStart() - ✔✔A
A call to the _________ method of the ActivityCompat
class will return a true result if the user has previously
denied a request for the specified permission, and a
false result if the request has not previously been made.
Select one:
a. shouldShowRequestPermissionRationale()
b. isPermissionGranted()
c. isPermissionDenied()
d. isPermissionGrantedByUser() - ✔✔A
An application listens for specific broadcast intents by
registering a _______________?Select one:
, a. BroadcastListener
b. BroadcastReceiver
c. BroadcastDetector
d. None of the others - ✔✔b
Android Architecture Components provide some
convenience annotations for DAOS. Which of the
following are available?
(Choose 4 answers)
A. @Query
B. @Insert
C. @Delete
D. @Update
E. @Select - ✔✔ABCD
Android is based on which kernel?
Select one:
a. MAC kernel
b. Hybrid Kernel