ASSOCIATE-ANDROID-DEVELOPER Exam Details

  • Exam Code
    :ASSOCIATE-ANDROID-DEVELOPER
  • Exam Name
    :Associate Android Developer (Kotlin and Java)
  • Certification
    :Google Certifications
  • Vendor
    :Google
  • Total Questions
    :128 Q&As
  • Last Updated
    :Jul 14, 2026

Google ASSOCIATE-ANDROID-DEVELOPER Online Questions & Answers

  • Question 61:

    An overridden method onCreateOptionsMenu in an Activity returns boolean value. What does this value mean?

    A. You must return true for the menu to be displayed; if you return false it will not be shown.
    B. You must return false for the menu to be displayed; if you return true it will not be shown.
    C. You can return any value: the menu will be displayed anyway.

  • Question 62:

    For example, our preferences.xmlfile was added by addPreferencesFromResource(R.xml.preferences). Our preferences.xmlfile contains such item:

    In our Fragment, we can dynamically get current notification preference value in this way:

    A. val sortBy = PreferenceManager.getDefaultSharedPreferences(context).getString(context!!.getString(R.string.pref_sort_key),context!!.resources.getBoolean(R.bool.pref_default_sort_value))
    B. val sortBy = PreferenceManager.getSharedPreferences(context).getString(context!!.getString(R.string.pref_default_sort_value),context!!.getString(R.string.pref_sort_key),)
    C. val sortBy = PreferenceManager.getSharedPreferences(context).getBoolean(context!!.resources.getBoolean(R.bool.pref_default_sort_value), context!!.getString(R.string.pref_sort_key))
    D. val sortBy = PreferenceManager.getDefaultSharedPreferences(context).getString(context!!.getString(R.string.pref_sort_key),context!!.getString(R.string.pref_default_sort_value))

  • Question 63:

    Android Tests. You can use the childSelector() method to nest multiple UiSelector instances. For example, the following code example shows how your test might specify a search to find the first ListView in the currently displayed UI, then search within that ListView to find a UI element with the text property Apps. What is the correct sample?

    A. val appItem: UiObject = device.findObject(UiSelector().className(ListView.class).instance(1).childSelector(UiSelector().text("Apps")))
    B. val appItem: UiObject = device.findObject(UiSelector().className("android.widget.ListView").instance(0).childSelector( UiSelector().text("Apps")))
    C. val appItem: UiObject = device.findObject(UiSelector().className("android.widget.ListView").instance(UiSelector().text("Apps")))

  • Question 64:

    Android Tests. You can use the childSelector() method to nest multiple UiSelector instances. For example, the following code example shows how your test might specify a search to find the first ListView in the currently displayed UI, then search within that ListView to find a UI element with the text property Apps. What is the correct sample?

    A. UiObject appItem = device.findObject(new UiSelector().className(ListView.class).instance(1).childSelector(new UiSelector().text("Apps")));
    B. UiObject appItem = device.findObject(new UiSelector().className("android.widget.ListView").instance(0).childSelector(new UiSelector().text("Apps")));
    C. UiObject appItem = device.findObject(new UiSelector().className("android.widget.ListView").instance(new UiSelector().text("Apps")));

  • Question 65:

    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 Out

    you can

    A. examine the object tree for a variable; expand it in the Variables view. If the Variables view is not visible
    B. evaluate an expression at the current execution point
    C. advance to the next line in the code (without entering a method)
    D. advance to the first line inside a method call
    E. advance to the next line outside the current method
    F. continue running the app normally

  • Question 66:

    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:

    A. InputStream input = context.openRawResource(R.raw.sample_teas);
    B. InputStream input = context.getRawResource(R.raw.sample_teas);
    C. InputStream input = context.getResources().openRawResource (R.raw.sample_teas);

  • Question 67:

    To run your local unit tests, follow these steps:

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 68:

    Relative positioning is one of the basic building blocks of creating layouts in ConstraintLayout. Constraints allow you to position a given widget relative to another one. What constraints do not exist?

    A. layout_constraintBottom_toBottomOf
    B. layout_constraintBaseline_toBaselineOf
    C. layout_constraintBaseline_toStartOf
    D. layout_constraintStart_toEndOf

  • Question 69:

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

    A. val input = context!!.resources.openRawResource(R.raw.sample_teas)
    B. val input = context!!.assets.open("sample_teas.json")
    C. val input = context!!.resources.assets.open("sample_teas.json")

  • Question 70:

    In application theme style, flag windowDrawsSystemBarBackgrounds () indicates:

    A. whether this window should have an Action Bar in place of the usual title bar.
    B. whether there should be no title on this window.
    C. that this window should not be displayed at all.
    D. whether this is a floating window.
    E. whether this Window is responsible for drawing the background for the system bars.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your ASSOCIATE-ANDROID-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.