Google ASSOCIATE-ANDROID-DEVELOPER Online Practice
Questions and Exam Preparation
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 91:
If you want the Database Inspector to automatically update the data it presents as you interact with your running app, check the Live updates checkbox at the top of the inspector window. While live updates are enabled, what happens with the table in the inspector window?
A. It is still editable. You can modify data in a table by double-clicking a cell, typing a new value, and pressing Enter. B. It becomes read-only and you cannot modify its values. C. It becomes read-only, but you cannot see its updated values before updating the data by clicking the Refresh table button at the top of the inspector window.
B. It becomes read-only and you cannot modify its values.
Question 92:
The Log class allows you to create log messages that appear in logcat. Generally, you could use the following log methods: (Choose five.)
A. Log.e(String, String) (error) B. Log.a(String, String) (all outputs) C. Log.w(String, String) (warning) D. Log.i(String, String) (information) E. Log.q(String, String) (questions) F. Log.d(String, String) (debug) G. Log.v(String, String) (verbose)
A. Log.e(String, String) (error) C. Log.w(String, String) (warning) D. Log.i(String, String) (information) F. Log.d(String, String) (debug) G. Log.v(String, String) (verbose)
Question 93:
When using an ImageView, ImageButton, CheckBox, or other View that conveys information graphically. What attribute to use to provide a content label for that View?
A. android:contentDescription B. android:hint C. android:labelFor
A. android:contentDescription
Question 94:
Filter logcat messages. If in the filter menu, a filter option "Edit Filter Configuration"? means:
A. Display the messages produced by the app code only (the default). Logcat filters the log messages using the PID of the active app. B. Apply no filters. Logcat displays all log messages from the device, regardless of which process you selected. C. Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
C. Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
new SimpleSQLiteQuery("SELECT * FROM User WHERE id = ? LIMIT 1",
new Object[]{userId});User 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.
A. A method in a Dao annotated class as a raw query method where you can pass the query as a SupportSQLiteQuery.
Question 96:
An example. In our ViewModelFactory(that implements ViewModelProvider.Factory) we have an instance of our Repository, named mRepository. Our ViewModel has such constructor:
class MyViewModel(private val mRepository: MyRepository) : ViewModel() ...
Next, in our ViewModelFactory create ViewModel method (overriden) looks like this:
override fun create(modelClass: Class): T { return try { //MISSED RETURN VALUE HERE” } catch (e: InstantiationException) { throw RuntimeException("Cannot create an instance of $modelClass", e) } catch (e: IllegalAccessException) { throw RuntimeException("Cannot create an instance of $modelClass", e) } catch (e: NoSuchMethodException) { throw RuntimeException("Cannot create an instance of $modelClass", e) } catch (e: InvocationTargetException) { throw RuntimeException("Cannot create an instance of $modelClass", e) } }
What should we write instead of “//MISSED RETURN VALUE HERE”?
A. modelClass.getConstructor().newInstance(mRepository) B. modelClass.getConstructor(MyRepository::class.java).newInstance() C. modelClass.getConstructor(MyRepository::class.java).newInstance(mRepository)
C. modelClass.getConstructor(MyRepository::class.java).newInstance(mRepository)
Question 97:
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. String sortBy = PreferenceManager.getDefaultSharedPreferences(getContext()).getString(getContext().getString(R.string.pref_sort_key),getContext().getResources().getBoolean(R.bool.pref_default_sort_value)); B. String sortBy = PreferenceManager.getSharedPreferences(getContext()).getString(getContext().getString(R.string.pref_default_sort_value),getContext().getString(R.string.pref_sort_key)); C. boolean sortBy = PreferenceManager.getSharedPreferences(getContext()).getBoolean(getContext().getResources().getBoolean(R.bool.pref_default_sort_value),getContext().getString(R.string.pref_sort_key)); D. String sortBy = PreferenceManager.getDefaultSharedPreferences(getContext()).getString(getContext().getString(R.string.pref_sort_key),getContext().getString(R.string.pref_default_sort_value))
D. String sortBy = PreferenceManager.getDefaultSharedPreferences(getContext()).getString(getContext().getString(R.string.pref_sort_key),getContext().getString(R.string.pref_default_sort_value))
Question 98:
Which build options in the Build menu to choose to delete all intermediate/cached build files.
A. Make Module B. Generate Signed Bundle / APK C. Rebuild Project D. Clean Project E. Make Project
D. Clean Project
Question 99:
In application theme style, value statusBarColor () means:
A. Color of text (usually same as colorForeground). B. Shows a thin line of the specified color between the navigation bar and the app content. For this to take effect, the window must be drawing the system bar backgrounds with C. attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with R.attr.windowTranslucentNavigation. Corresponds to Window.setNavigationBarDividerColor(int). D. The color for the status bar. If the color is not opaque, consider setting View.SYSTEM_UI_FLAG_LAYOUT_STABLE and View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN. For this to take effect, the window must be drawing the system bar backgrounds with E. attr.windowDrawsSystemBarBackgrounds and the status bar must not have been requested to be translucent with R.attr.windowTranslucentStatus. Corresponds to Window.setStatusBarColor(int). F. The color for the navigation bar. If the color is not opaque, consider setting View.SYSTEM_UI_FLAG_LAYOUT_STABLE and View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION. For this to take effect, the window must be drawing the system bar backgrounds with R.attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with G. attr.windowTranslucentNavigation. Corresponds to Window.setNavigationBarColor(int).
C. attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with R.attr.windowTranslucentNavigation. Corresponds to Window.setNavigationBarDividerColor(int).
Question 100:
What is a correct part of an Implicit Intent for sharing data implementation?
A. val sendIntent = Intent(this, UploadService::class.java).apply { putExtra(Intent.EXTRA_TEXT, textMessage) ... B. val sendIntent = Intent().apply { type = Intent.ACTION_SEND; ... C. val sendIntent = Intent(this, UploadService::class.java).apply { data = Uri.parse(fileUrl) ... D. val sendIntent = Intent().apply { action = Intent.ACTION_SEND ...
D. val sendIntent = Intent().apply { action = Intent.ACTION_SEND ...
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.