Exam 7: Google Analytics Individual Qualification

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. To mark in the editor that a preference value should be removed, which will be done in the actual preferences once commit() or apply() is called, what method in should we use?

(Multiple Choice)
4.9/5
(34)

With our Context we can get SharedPreferences with a method, named: getSharedPreferences(String name, int mode) . What value can we transfer in a "mode"parameter?

(Multiple Choice)
4.8/5
(43)

In application theme style, flag windowNoTitle (<item name="windowNoTitle">) indicates:

(Multiple Choice)
4.9/5
(34)

In a class extended PreferenceFragmentCompat. What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?

(Multiple Choice)
4.8/5
(32)

When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Into When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Into   you can you can

(Multiple Choice)
4.9/5
(33)

SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. All changes you make in an editor are batched, and not copied back to the original until you call:

(Multiple Choice)
5.0/5
(35)

Assume that you have the following situation: The app code calls for R.string.text_a Three relevant resource files are available: - res/values/strings.xml, which includes text_a in the app's default language, in this case English. - res/values-mcc404/strings.xml, which includes text_a in the app's default language, in this case English. - res/values-hi/strings.xml, which includes text_a in Hindi. The app is running on a device that has the following configuration: - The SIM card is connected to a mobile network in India (MCC 404). - The language is set to Hindi (hi). Which is the correct statement below?

(Multiple Choice)
5.0/5
(40)

A class that you create for managing multiple data sources. In addition to a Room database, this class could manage remote data sources such as a web server. It is about:

(Multiple Choice)
4.8/5
(34)

For example, we have a file in our raw folder app/src/main/res/raw/sample_teas.json . To get an InputStream for reading it, from out Context context, we can do this:

(Multiple Choice)
4.8/5
(49)

To run your local unit tests, follow these steps: Be sure your project is synchronized with Gradle by clicking Sync Project in the toolbar. To run your local unit tests, follow these steps: Be sure your project is synchronized with Gradle by clicking Sync Project in the toolbar.   Run your test in one of the following ways (select possible): (Choose three.) Run your test in one of the following ways (select possible): (Choose three.)

(Multiple Choice)
4.7/5
(37)

To run a debuggable build variant you must use a build variant that includes

(Multiple Choice)
4.8/5
(40)

A content label sometimes depends on information only available at runtime, or the meaning of a View might change over time. For example, a Play button might change to a Pause button during music playback. In these cases, to update the content label at the appropriate time, we can use:

(Multiple Choice)
4.9/5
(39)

In our TeaViewModel class, that extends ViewModel , we have such method: public LiveData<Tea> getTea() {    return mTea; } An observer in our Activity (type of mViewModel variable in example is ) is set in this way: mViewModel.getTea().observe(this, this::displayTea); What will be a correct displayTea method definition?

(Multiple Choice)
4.8/5
(31)

Which build options in the Build menu to choose to delete all intermediate/cached build files.

(Multiple Choice)
4.7/5
(29)

If content in a PagedList updates, the PagedListAdapter object receives:

(Multiple Choice)
4.8/5
(41)

What is demonstrated by the code below? // RawDao.kt @Dao interface RawDao {    @RawQuery    fun getUserViaQuery(query: SupportSQLiteQuery?): User? } // Usage of RawDao ... val query =      SimpleSQLiteQuery("SELECT * FROM User WHERE id = ? LIMIT 1",        arrayOf<Any>(sortBy)) val user = rawDao.getUserViaQuery(query) ...

(Multiple Choice)
4.9/5
(31)

We have a custom view that extends android.widget.ProgressBar. Our progress bar is not touchable, focusable, etc.: it just shows progress. Style for our custom progress bar extends "Widget.AppCompat.ProgressBar.Horizontal". An item, named "progressDrawable", in our style, is a xml file . What we usually can see as a main single element in this xml file:

(Multiple Choice)
4.8/5
(44)

When using an EditTexts or editable TextViews, or other editable View. What attribute to use to provide a content label for that View?

(Multiple Choice)
4.9/5
(39)
Showing 61 - 78 of 78
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)