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. FalseView Answer
2
Process state depends on the state of the activity running in the process of android app. TrueView Answer
3
Room is a persistence library that provides an abstraction layer over SQLite. TrueView Answer
4
Completion of the onPause() method does not mean that the activity leaves the Paused state. TrueView Answer
5
You should USE onPause() to save application or user data, make network calls, or execute database transactions. FalseView Answer
6
A parent activity CAN launch a child activity even if both activities have different permissions in their manifest. FalseView Answer
7
The <data> element of intent-filter for activity in app manifest specifies the type of data that this activity can send. TrueView Answer
8
The <action> element of intent-filter while declaring activity in app manifest specifies that this activity sends data. TrueView Answer
9
An activity provides the window in which the app draws its user interface. TrueView Answer
10
Every activity you define for your android application must be declared in your AndroidManifest.xml file TrueView Answer
11
An android application can have one or more activities without any restriction on the number of activities. TrueView Answer
12
An android application can have only one activity. FalseView Answer
13
An activity class loads all the UI component using the XML file available in res/layout folder of the project. TrueView Answer
14
The onPause() callback method is called when the current activity is being paused and the previous activity is being resumed. TrueView Answer
15
The paused activity does not receive user input and cannot execute any code. TrueView 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. FalseView Answer