Question: ____1. All the Activities that compose an Android app must be declared in what file? A. strings.xml B. AndroidManifest.xml C. activities.xml D. build.gradle ____2. Which

____1. All the Activities that compose an Android app must be declared in what file?

A. strings.xml

B. AndroidManifest.xml

C. activities.xml

D. build.gradle

____2. Which of these types of data is a Bundle not capable of storing?

A. char

B. Parcelable object

C. byte

D. All of these can be stored in a Bundle.

____3. Intents are used to start up which of these components?

A. Activities

B. Broadcast receivers

C. Services

D. All of the above

____4. What method is used to add data to an Intent?

A. addData()

B. putExtra()

C. setAction()

D. You cannot add data to an Intent.

____5. What method of the Activity class returns the fragment manager for the activity?

A) Manager

B) getManager

C) getFragmentManager

D) fragmentManager

____6. What is this in the following code?

Intent myIntent = new Intent( this, DataActivity.class );

A) A DataActivity reference

B) A reference to the current Activity

C) An Intent

D) A class

____7. What is DataActivity in the following code?

Intent myIntent = new Intent( this, DataActivity.class );

A) A subclass of Intent

B) A reference to the current Activity

C) An Intent

D) An Activity class

____8. A(n) _____ is called to when the running fragment is no longer interacting with the user.

a. onStart()

b. onResume()

c. onPause()

____9. An action bar can feature

a. user action control elements

b. drop-down menus

c. navigation modes

d. all of the above

____10. The items appearing in the Action Bar would normally be declared in an XML file in what directory?

A. res/action

B. res/menu

C. res/item

D. res/values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!