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 51:

    Assume that an app includes a default set of graphics and two other sets of graphics, each optimized for a different device setup:

    res/drawable/

    Contains default graphics. res/drawable-small-land-stylus/

    Contains graphics optimized for use with a device that expects input from a stylus and has a QVGA low-density screen in landscape orientation. res/drawable-ja/

    Contains graphics optimized for use with Japanese.

    What happens if the app runs on a device that is configured to use Japanese and, at the same time, the device happens to be one that expects input from a stylus and has a QVGA low-density screen in landscape orientation?

    A. Android loads graphics from res/drawable/
    B. Android loads graphics from res/drawable-small-land-stylus/
    C. Android loads graphics from res/drawable-ja/

  • Question 52:

    What public methods are there in android.widget.Toast.Callback? (Choose two.)

    A. onDismissed()
    B. onToastHidden()
    C. onShown()
    D. onToastShown()
    E. onToastCancelled()

  • Question 53:

    The easiest way of adding menu items (to specify the options menu for an activity) is inflating an XML file into the Menu via MenuInflater. With menu_main.xml we can do it in this way:

    A. override fun onCreateOptionsMenu(menu: Menu): Boolean {menuInflater.inflate(R.menu.menu_main, menu)return true }return true }
    B. override fun onOptionsItemSelected(item: MenuItem): Boolean {menuInflater.inflate(R.menu.menu_main, menu)return super.onOptionsItemSelected(item)}
    C. override fun onCreate(savedInstanceState: Bundle?) {super.onCreate(savedInstanceState)setContentView(R.menu.menu_main)}

  • Question 54:

    DRAG DROP

    Move the major components of the Android platform to correct places in diagram.

    Select and Place:

  • Question 55:

    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?

    A. findPreference
    B. getPreferenceManager
    C. addPreferencesFromResource
    D. setPreferenceScreen

  • Question 56:

    What is the placeholder tag used for?

    A. To mark text that should not be translated.
    B. To raise a translation priority to a higher level
    C. To raise a quantity of translations for the string
    D. To pick up and move sting translation from a different resource file

  • Question 57:

    What is demonstrated by the code below?

    // RawDao.kt@Daointerface RawDao {

    @RawQueryfun getUserViaQuery(query: SupportSQLiteQuery?): User?}

    // Usage of RawDao

    ...

    val query =

    SimpleSQLiteQuery("SELECT * FROM User WHERE id = ? LIMIT 1",

    arrayOf(sortBy))val user = rawDao.getUserViaQuery(query) ...

    A. A method in a Dao annotated class as a raw query method where you can pass the query as a SupportSQLiteQuery.
    B. A method in a Dao annotated class as a query method.
    C. A method in a RoomDatabase class as a query method.

  • Question 58:

    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 SharedPreferences.Editor should we use?

    A. delete(String key)
    B. clear()
    C. remove(String key)
    D. removeAll()

  • Question 59:

    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 isNotificationOn = PreferenceManager.getDefaultSharedPreferences(context).getBoolean(context!!.getString(R.string.pref_notification_key),context!!.resources.getBoolean(R.bool.pref_notification_default_value))
    B. val isNotificationOn = PreferenceManager.getSharedPreferences(context).getBoolean(context!!.getString(R.string.pref_notification_default_value),context!!.getString(R.string.pref_notification_key),)
    C. val isNotificationOn = PreferenceManager.getSharedPreferences(context).getBoolean(context!!.resources.getBoolean(R.bool.pref_notification_default_value),context!!.getString(R.string.pref_notification_key))

  • Question 60:

    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 SharedPreferences until you call:

    A. commit()
    B. apply()
    C. commit() or apply()

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.