Android Programming (2180715) MCQs

MCQs of Background Tasks

Showing 11 to 20 out of 32 Questions
11.
To generate custom intents in android, the method is used is
(a) broadcastCreate()
(b) broadcastReceive()
(c) broadcastStart()
(d) broadcastIntent()
Answer:

Option (d)

12.
The broadcast that displays the information of low battery
(a) android.intent.action.REBOOT
(b) android.intent.action.BATTERY_CHANGED
(c) android.intent.action.BATTERY_OKAY
(d) android.intent.action.BATTERY_LOW
Answer:

Option (d)

13.
Broadcast of call to someone targeted by the data is _____
(a) android.intent.action.BUG_REPORT
(b) android.intent.action.CALL
(c) android.intent.action.REBOOT
(d) android.intent.action.BATTERY_CHANGED
Answer:

Option (b)

14.
Broadcast of pressing call button to call someone is _____
(a) android.intent.action.CALL_BUTTON
(b) android.intent.action.BATTERY_CHANGED
(c) android.intent.action.CALL
(d) android.intent.action.REBOOT
Answer:

Option (a)

15.
The broadcast of changed date is _____
(a) android.intent.action.DATE_CHANGED
(b) android.intent.action.BATTERY_CHANGED
(c) android.intent.action.CALL
(d) android.intent.action.REBOOT
Answer:

Option (a)

16.
The broadcast that displays the information of OK battery state is _____
(a) android.intent.action.BOOT_COMPLETED
(b) android.intent.action.BATTERY_OKAY
(c) android.intent.action.BATTERY_CHANGED
(d) android.intent.action.BUG_REPORT
Answer:

Option (b)

17.
A type of service provided by android that shows messages and alerts to user is _____
(a) Content Providers
(b) View System
(c) Notifications Manager
(d) Activity Manager
Answer:

Option (c)

18.
The broadcast that includes the information about the battery state, level, etc. is _____
(a) android.intent.action.BATTERY_CHANGED
(b) android.intent.action.BATTERY_LOW
(c) android.intent.action.BATTERY_OKAY
(d) android.intent.action.CALL_BUTTON
Answer:

Option (a)

19.
One of the application component, that manages application's background services is called _____
(a) Activities
(b) Broadcast Receivers
(c) Services
(d) Content Providers
Answer:

Option (c)

20.
Which of the following are good solutions for threads that need to run in long periods of time _____
(a) FutureTask
(b) ThreadPoolExecutor
(c) Executor
(d) All of the Above
Answer:

Option (d)

Showing 11 to 20 out of 32 Questions