Loading, please wait ...
Open its course - Android Development

True/False Questions for Android Activities

  • ×

    Hidden Questions!

    Some True/False questions are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

  • 1 Persist operation can also be performed in onStop() instead of onPause() because both are always called before activity destruction. False View Answer

  • 2 Process state depends on the state of the activity running in the process of android app. True View Answer

  • 3 Room is a persistence library that provides an abstraction layer over SQLite. True View Answer

  • 4 Completion of the onPause() method does not mean that the activity leaves the Paused state. True View Answer

  • 5 You should USE onPause() to save application or user data, make network calls, or execute database transactions. False View Answer

  • 6 A parent activity CAN launch a child activity even if both activities have different permissions in their manifest. False View Answer

  • 7 The <data> element of intent-filter for activity in app manifest specifies the type of data that this activity can send. True View Answer

  • 8 The <action> element of intent-filter while declaring activity in app manifest specifies that this activity sends data. True View Answer

  • 9 An activity provides the window in which the app draws its user interface. True View Answer

  • 10 Every activity you define for your android application must be declared in your AndroidManifest.xml file True View Answer

  • 11 An android application can have one or more activities without any restriction on the number of activities. True View Answer

  • 12 An android application can have only one activity. False View Answer

  • 13 An activity class loads all the UI component using the XML file available in res/layout folder of the project. True View Answer

  • 14 The onPause() callback method is called when the current activity is being paused and the previous activity is being resumed. True View Answer

  • 15 The paused activity does not receive user input and cannot execute any code. True View Answer

  • 16 When you create a new Activity, It is important that you will have to implement all the life cycle callbacks methods from onCreate till onDestroy. False View Answer

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert