Last Update 10 hours ago Total Questions : 128
The Google Developers Certification - Associate Android Developer (Kotlin and Java Exam) content is now fully updated, with all current exam questions added 10 hours ago. Deciding to include Associate-Android-Developer practice exam questions in your study plan goes far beyond basic test preparation.
You'll find that our Associate-Android-Developer exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these Associate-Android-Developer sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Google Developers Certification - Associate Android Developer (Kotlin and Java Exam) practice test comfortably within the allotted time.
Select four different types of app components. (Choose four.)
Room can export your database ' s schema information into a JSON file at compile time. What annotation processor property you should set in your app/build.gradle file to export the schema?
Select 3 major components of the Room. (Choose three.)
If you added to your build.gradle file a room.schemaLocation:
android {
defaultConfig {
javaCompileOptions {
annotationProcessorOptions {
arguments = [ " room.schemaLocation " : " $projectDir/schemas " .toString
()]
}
}
}
}
Then, you build your app or module.
As a result you got a json file, with such path to it: app/schemas/your_app_package/db_package/DbClass/DB_VERSION.json What are the correct statements about this file? (Choose all that apply.)
LiveData.postValue() and LiveData.setValue() methods have some differences. So if you have a following code executed in the main thread:
liveData.postValue( " a " ); liveData.setValue( " b " );
What will be the correct statement?
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)
...
Filter logcat messages. If in the filter menu, a filter option “Edit Filter Configuration”? means:
To run your local unit tests, follow these steps:
1. Be sure your project is synchronized with Gradle by clicking Sync Project in the toolbar.
2. Run your test in one of the following ways (select possible): (Choose three.)
What do you want from Room when you create a DAO method and annotate it with @Delete?
Example:
@Dao
public interface MyDao {
@Delete
public void deleteUsers(User... users);
}
If no any folder like res/anim- < qualifiers > , res/drawable- < qualifiers > , res/layout- < qualifiers > , res/raw-
< qualifiers > , res/xml- < qualifiers > exist in the project. Which folders are required in the project anyway? (Choose two.)
