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

    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 doing this:

    A. InputStream input = context.getResources().openRawResource (R.raw.sample_teas);
    B. InputStream input = context.getAssets().open("sample_teas.json");
    C. InputStream input = context.getResources().getAssets().open ("sample_teas.json");

  • Question 122:

    Android uses adapters (from the Adapter class) to connect data with View items in a list. There are many different kinds of adapters available, and you can also write custom adapters. To connect data with View items, the adapter needs to know about the View items. From what is extended the entity that is usually used in an adapter and describes a View item and its position within the RecyclerView?

    A. RecyclerView.AdapterDataObserver
    B. RecyclerView.ItemDecoration
    C. RecyclerView.ViewHolder
    D. RecyclerViewAccessibilityDelegate

  • Question 123:

    @Query is the main annotation used in DAO classes. It allows you to perform read/write operations on a database. Each @Query method is verified at compile time, so what happens if there is a problem with the query?

    A. a runtime error occurs instead of a compilation failure.
    B. a compilation error occurs instead of a runtime failure.
    C. both compilation error and runtime failure occurs.

  • Question 124:

    By default, the notification's text content is truncated to fit one line. If you want your notification to be longer, for example, to create a larger text area, you can do it in this way:

    A. NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setStyle(new NotificationCompat.BigTextStyle().bigText("Much longer text that cannot fit one line...")) ...
    B. NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setLongText("Much longer text that cannot fit one line...")) ...
    C. NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setTheme(android.R.style.Theme_LongText); ...

  • Question 125:

    RecyclerView is a subclass of ViewGroup and is a more resource-efficient way to display scrollable lists. Instead of creating a View for each item that may or may not be visible on the screen, RecyclerView:

    A. creates a single list item and reuses it for visible content.
    B. creates an unlimited number of list items and never reuses them
    C. creates a limited number of list items and reuses them for visible content.
    D. creates a single list item and never reuses it

  • Question 126:

    By default, the notification's text content is truncated to fit one line. If you want your notification to be longer, for example, to create a larger text area, you can do it in this way:

    A. var builder = NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setStyle(NotificationCompat.BigTextStyle().bigText("Much longer text that cannot fit one line...")) ...
    B. var builder = NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setLongText("Much longer text that cannot fit one line...")) ...
    C. var builder = NotificationCompat.Builder(this, CHANNEL_ID).setContentText("Much longer text that cannot fit one line...").setTheme(android.R.style.Theme_LongText); ...

  • Question 127:

    If you added to your build.gradlefile 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.)

    A. It's a file with Room-exported schema
    B. Main JSONObject in this file usually should contain a number "formatVersion" and a JSONObject "database"
    C. The JSONObject "database" in this file usually should contain such objects, like "entities", "views", "setupQueries", ets.

  • Question 128:

    Content labels. What attribute to use to indicate that a View should act as a content label for another View?

    A. android:contentDescription
    B. android:hint
    C. android:labelFor

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.