MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is true about FLAG_ACTIVITY_NEW_TASK? |
| A. | If set in an Intent passed to Context.startActivity() |
| B. | If set, and the activity being launched is already running in the current task |
| C. | This flag is generally used by activities that want to present a "launcher" style behavior |
| D. | All of the above |
| E. | |
| Answer» D. All of the above | |
| 2. |
The extras can be set and read using the? |
| A. | setExtras() and getExtras() methods |
| B. | putsExtras() and getsExtras() methods |
| C. | setsExtras() and getsExtras() methods |
| D. | putExtras() and getExtras() methods |
| Answer» E. | |
| 3. |
Which of the following is true about ACTION_SET_WALLPAPER? |
| A. | Edit information about the person whose identifier is "1". |
| B. | Show settings for choosing wallpaper |
| C. | It will start the platform-defined tutorial |
| D. | It intimates when time zone has changed |
| Answer» C. It will start the platform-defined tutorial | |
| 4. |
In Data, The URI is read by? |
| A. | getD() |
| B. | get() |
| C. | getData() |
| D. | getsetData() |
| Answer» D. getsetData() | |
| 5. |
The action in an Intent object can be set by the? |
| A. | setAction() method |
| B. | set() method |
| C. | Action() method |
| D. | setsAction() method |
| Answer» B. set() method | |
| 6. |
Which of the following is true about ACTION_TIMEZONE_CHANGED? |
| A. | It is used to run default uninstaller |
| B. | Show settings for choosing wallpaper |
| C. | Display a list of people, which the user can browse through. |
| D. | It intimates when time zone has changed |
| Answer» E. | |
| 7. |
Which of the following action will display the phone dialer with the given number filled in? |
| A. | ACTION_VIEW tel:123 |
| B. | ACTION_SET_WALLPAPER |
| C. | ACTION_DIAL tel:123 |
| D. | None of the above |
| Answer» D. None of the above | |
| 8. |
Which method is used to initiate a service or deliver new instructions to an ongoing service? |
| A. | Context.startActivity() |
| B. | Context.startService() |
| C. | Context.sendBroadcast() |
| D. | None of the above |
| Answer» C. Context.sendBroadcast() | |
| 9. |
Which method is used to launch a new activity or get an existing activity to do something new? |
| A. | Context.startActivity() |
| B. | Context.startService() |
| C. | Context.sendBroadcast() |
| D. | All of the above |
| Answer» B. Context.startService() | |
| 10. |
An Android _____________ is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity. |
| A. | Filters |
| B. | Intent |
| C. | Service |
| D. | Broadcast Receiver |
| Answer» C. Service | |