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. |
Activity and Fragment transitions in Lollipop are built on top of a relatively new feature in Android called? |
| A. | scenes |
| B. | Activity |
| C. | fragment stack |
| D. | transitions |
| E. | |
| Answer» E. | |
| 2. |
Fragments having special list view is called as? |
| A. | list fragment |
| B. | view fragment |
| C. | frame fragment |
| D. | special fragment |
| Answer» B. view fragment | |
| 3. |
In which android version Single frame fragment introduced? |
| A. | android 2.0 version |
| B. | android 3.0 version |
| C. | android 4.0 version |
| D. | android 5.0 version |
| Answer» C. android 4.0 version | |
| 4. |
Fragments are divided as ________ stages. |
| A. | 2 |
| B. | 4 |
| C. | 3 |
| D. | 5 |
| Answer» D. 5 | |
| 5. |
Which method Fragment becomes active? |
| A. | onPause |
| B. | onResume |
| C. | onStart |
| D. | onCreate |
| Answer» C. onStart | |
| 6. |
Which method is called when called to do final clean up of the fragment's state but Not guaranteed to be called by the Android platform? |
| A. | onDestroyView |
| B. | onPause |
| C. | onDestroy |
| D. | onCreateView |
| Answer» D. onCreateView | |
| 7. |
Which method is called Fragment going to be stopped? |
| A. | onDestroyView |
| B. | onPause |
| C. | onResume |
| D. | onStop |
| Answer» E. | |
| 8. |
Which method is called once the fragment gets visible? |
| A. | onStart |
| B. | onPause |
| C. | onResume |
| D. | onStop |
| Answer» B. onPause | |
| 9. |
What is true about Fragments ? |
| A. | A fragment has its own layout and its own behaviour with its own life cycle callbacks. |
| B. | You can add or remove fragments in an activity while the activity is running. |
| C. | You can combine multiple fragments in a single activity to build a multi-pane UI. |
| D. | All of the above |
| Answer» E. | |
| 10. |
A __________ is a piece of an activity which enable more modular activity design. |
| A. | Fragment |
| B. | sub-activity |
| C. | Intents |
| D. | Filters |
| Answer» B. sub-activity | |