Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Android AND-801 Dumps 2026 with Free Practice Questions and Answers

Practise for the Android Application Development v8 exam with 16 original questions, each with an answer and explanation.

Topics: Lesson 10: Location-Aware Apps: Using GPS And Google Maps, Lesson 1: Introduction To Kotlin, Lesson 2: Control Flow Statements, Lesson 3: Functions & Object-Oriented Programming (OOP) and 6 more.

Includes single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

AND-801 Practice Set Details

Vendor
Android
Exam Code
AND-801
Questions On This Page
16
Exam Topics Covered
10 of 10
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
45
Certification
Android Application Development
16 questions

Android AND-801 Exam Questions and Answers by Topic

Lesson 1: Introduction to Kotlin

2 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A team is building a small Kotlin command-line utility in Android Studio to validate imported records before they are copied into an Android app. The utility must run on a developer workstation without an emulator or Android framework dependencies. A developer has created a Kotlin file but receives unresolved references for standard input and output after configuring the project as an Android application module. What is the most appropriate correction while keeping the utility directly runnable from the IDE?

Correct answer: A

A Kotlin/JVM application is designed to compile and run Kotlin code on the workstation, with a main function as its entry point and the JDK providing the runtime. An emulator is unnecessary and does not convert an Android module into a command-line program. An Activity requires the Android framework and device runtime, contrary to the constraint. Google Maps is unrelated to resolving Kotlin standard-library references.

Question 2

Added

Dropdown

A Kotlin program must read a line of user input, retain it as nullable text, and print a fallback message when the user provides no line. Complete the expression using Kotlin null-safety behavior.

Choose the correct value for each blank.

val response: String? = readLine(); println(response "No input")
Correct answer:

val response: String? = readLine(); println(response ?: "No input")

The Elvis operator ?: evaluates its right-hand fallback when the nullable value on the left is null, so the expression safely prints either the input or the fallback. The not-null assertion !! can throw when input is absent. The as operator performs a cast and does not supply a null fallback. The && operator requires Boolean operands and is not a null-coalescing operator.

Lesson 2: Control Flow Statements

2 practice questions on this topicWhat this topic covers

Question 3

Added

Single Answer

A monitoring utility processes a sequence of sensor readings. It must ignore negative values, stop processing as soon as it encounters a sentinel value of 999, and otherwise accumulate readings until the sequence ends. The sequence may be empty, and the sentinel must not be included in the total. The current implementation uses nested if statements and incorrectly adds the sentinel before stopping. Which loop structure and jump behavior most directly satisfy the requirements?

Correct answer: C

The for loop naturally handles an empty sequence, and checking the sentinel before adding it ensures 999 is excluded. continue skips only the current negative reading, while break ends iteration at the sentinel. A do-while executes once even for an empty sequence and the described order risks adding the sentinel. Returning on a negative reading terminates the entire function rather than ignoring one reading. Reversing the continue and break conditions gives both special values the wrong behavior.

Question 4

Added

Single Answer

A Kotlin console utility classifies an integer status code into one of four named outcomes. The ranges are disjoint, and an unknown code must produce a default result. The team wants one expression that returns the classification directly, without a mutable result variable or a chain of nested conditionals. Which Kotlin construct is the best fit?

Correct answer: A

A when expression can select among disjoint status values or ranges and return the corresponding classification directly, with else covering unknown codes. A while loop adds unnecessary mutable state and iteration. A do-while loop executes at least once and is not a selection expression. A for loop is unnecessary for a fixed set of alternatives, and continuing after a match could overwrite the desired result.

Lesson 3: Functions & Object-Oriented Programming (OOP)

2 practice questions on this topicWhat this topic covers

Question 5

Added

Multiple Answers

A Kotlin app represents several kinds of payment methods. Every method exposes a readable identifier and must implement a charge operation, but the app should not require every payment method to inherit shared state or constructor behavior. A collection must accept different payment implementations and invoke charge polymorphically. The team wants the narrowest suitable abstraction and must avoid duplicating the charge contract across classes. Which two design choices meet these requirements? (Choose two.)

Correct answer: B, E

An interface can define the common property and function contract without imposing shared state or a base-class constructor. Typing the collection to that interface permits heterogeneous implementations and polymorphic calls. An abstract class can provide shared implementation but imposes inheritance and, as described, constructor behavior the team does not want. A generic type parameter does not itself provide the common runtime contract. An enum is a fixed set of values, not a suitable abstraction for independently implemented payment classes.

Question 6

Added

Single Answer

An inventory model has a base class that defines a calculated display name. A specialized product must provide a different display name while retaining the base class's other behavior. The base implementation should not be replaceable accidentally, and the specialized class should be usable wherever the base type is expected. Which Kotlin design is correct?

Correct answer: A

Kotlin members are final by default, so the base property must be marked open to permit overriding; the subclass then uses override to supply the specialized value while preserving substitutability. A private base property cannot be overridden and does not expose the intended polymorphic contract. A local variable is not an overridable member. An interface does not make a class inherit from the base type or replace its property implementation.

Lesson 4: Android Framework and Android Studio

1 practice question on this topicWhat this topic covers

Question 7

Added

Single Answer

An Android Studio project builds successfully on one developer's machine but fails on a clean workstation because the required Android SDK platform is missing. The team needs reproducible builds, wants the build to obtain the project's declared SDK components, and does not want to commit machine-specific absolute paths. Which project configuration is the best next step?

Correct answer: D

The module's Gradle configuration should declare the compile SDK requirement, while each workstation points to its local SDK installation through local configuration that is not committed. Gradle and Android Studio can then identify missing required components and support consistent project builds. Committing an entire SDK is unnecessary and machine-dependent. Removing the declared SDK version weakens reproducibility. A copied APK avoids building the source and does not meet the team's development requirement.

Lesson 5: Creating User Interface UI

2 practice questions on this topicWhat this topic covers

Question 8

Added

Single Answer

A pizza-order screen has a set of mutually exclusive crust choices and independent topping add-ons. The screen must prevent customers from selecting two crusts at once while allowing any combination of toppings. The layout team has already placed the controls in the required visual positions, so changing the layout is not desired. Which control configuration best implements the selection rules?

Correct answer: D

A RadioGroup enforces a single selected RadioButton among the crust options, while independent CheckBoxes allow customers to select multiple toppings. CheckBoxes for crusts permit multiple simultaneous choices, and grouping toppings would wrongly make them mutually exclusive. Ungrouped RadioButtons do not provide the required shared single-selection behavior. A single crust CheckBox does not represent the available alternatives, and a RadioGroup for toppings imposes the wrong rule.

Question 9

Added

Single Answer

A meal-order screen includes an optional promotional offer that can be enabled independently of every other choice. The current interface uses a RadioButton, and users report that selecting the offer clears another unrelated selection in the same group. The team wants to preserve the existing visual placement and make the offer independently selectable. What is the best correction?

Correct answer: B

A CheckBox represents an independent optional choice, so enabling the offer will not clear a selection from another RadioGroup. Moving the RadioButton into its own group makes it single-choice only within that group, but still uses the wrong control semantics for an independent toggle. Replacing all controls would break any mutually exclusive choices. A TextView can be made clickable, but it does not provide the standard checked-state behavior or accessibility semantics of a CheckBox.

Lesson 6: Android Layouts, Styles, Theme and Menus

1 practice question on this topicWhat this topic covers

Question 10

Added

Order List

A team is adding a new Activity to an existing app. The Activity must be launchable by Android, use an existing app theme, and display a layout containing a scrollable form whose content may exceed the screen height. Arrange the implementation steps in the order they must be performed, beginning with project configuration and ending with runtime verification.

Drag the steps into the correct order, or use the arrows.

  1. Launch the Activity and verify the form scrolls on a device
  2. Create the layout with a ScrollView containing the form content
  3. Declare the Activity in the app manifest
  4. Apply the existing theme to the Activity
Correct answer:
  1. Declare the Activity in the app manifest
  2. Apply the existing theme to the Activity
  3. Create the layout with a ScrollView containing the form content
  4. Launch the Activity and verify the form scrolls on a device

The Activity must first be declared so Android recognizes it as an application component. The theme can then be assigned to that component, and its layout should place the form content inside a ScrollView. Runtime verification comes after configuration and layout work. Creating and testing the layout before declaring the Activity would not make it launchable through the app, and assigning the theme after verification reverses the configuration sequence.

Lesson 7: Toasts, Activities, Navigations, and Views

1 practice question on this topicWhat this topic covers

Question 11

Added

Single Answer

A catalog screen uses a RecyclerView to show products. Selecting a row opens a detail Activity, and the detail screen needs only the selected product's stable database identifier so it can load current data. Product objects contain large images and are not designed to be serialized. Which navigation approach is the most appropriate?

Correct answer: D

An explicit Intent identifies the destination Activity, and an identifier extra is a small, appropriate value for the receiving Activity to use when loading current product data. Passing an unprepared large object creates serialization and payload problems the scenario specifically avoids. The adapter is not an Activity parent or a reliable cross-Activity data channel. A Toast is transient user feedback, not a mechanism for passing data between components.

Lesson 8: Android Dailogs, Snackbar, Menus WebView and Notifications

1 practice question on this topicWhat this topic covers

Question 12

Added

Single Answer

A field-service app sends status notifications on devices running Android versions that require notification channels. Users must be able to control the notification category's behavior in system settings, and notifications should still be posted from the app after the feature is first enabled. Which implementation sequence is correct?

Correct answer: A

On channel-requiring Android versions, the app must create a notification channel before posting notifications, and each notification must reference the channel ID. A stable category channel also lets users manage its behavior in system settings. Posting first does not satisfy channel setup. Creating a new channel for every notification fragments user controls and misuses notification IDs. Toasts are not notifications and do not remove the channel requirement for later posts.

Lesson 9: Android Storage, SQLite and Content Providers

2 practice questions on this topicWhat this topic covers

Question 13

Added

Single Answer

A small medical-clinic app stores appointment records in a local SQLite database. Staff need to retrieve appointments by date and update individual records, but the database is used only by this app and must not be accessible to other apps. The current implementation performs database operations directly in an Activity, making it difficult to reuse queries and manage database connections consistently. The team has one day to refactor without adding a third-party library or introducing a content-sharing requirement. What is the best next step?

Correct answer: C

A SQLiteOpenHelper subclass centralizes database creation and version management, while a separate data-access class keeps queries and updates out of the Activity and supports reuse. A ContentProvider is useful when structured data must be exposed through provider URIs, but this app has no cross-app sharing requirement. External-storage JSON files complicate querying and do not meet the private-database design. SharedPreferences is intended for simple key-value settings, not searchable collections of structured appointment records.

Question 14

Added

Multiple Answers

A note-taking app stores private drafts locally and must preserve them across process restarts. Drafts are structured records that users search by title and update individually. They must not be exposed to other apps, and the app does not need cross-device synchronization. The team is choosing local storage and query mechanisms under a short implementation timeline. Which two choices best fit? (Choose two.)

Correct answer: A, B

SQLite suits structured records that need individual updates and searchable fields, and parameterized queries safely bind user-provided search values. Keeping the database in app-internal storage provides app-private access by default; omitting a ContentProvider avoids deliberately exposing drafts. SharedPreferences is better suited to small preference values than a searchable record collection. A provider is unnecessary and conflicts with privacy. External storage does not provide the stated private-data boundary merely through file naming.

Lesson 10: Location-Aware Apps: Using GPS and Google Maps

2 practice questions on this topicWhat this topic covers

Question 15

Added

Single Answer

A delivery app displays nearby pickup points on a Google Map. The client wants the user's position to update while the activity is visible, but location access must stop when the activity is no longer in the foreground. The app targets an Android version that requires runtime permission requests for location. The map already works with a correctly configured API key, and the app does not need background tracking. Which implementation best meets these requirements?

Correct answer: A

Requesting fine-location permission at runtime addresses the platform's permission model, and restricting fused-provider updates to the resumed activity avoids unnecessary background tracking. Declaring permission only in the manifest does not satisfy the runtime grant requirement. A started service continues beyond the visible activity and violates the lifecycle constraint. Coarse permission does not guarantee the requested precision, and a map camera position is not the device's location or an authorization mechanism.

Question 16

Added

Drag And Drop

A location-aware restaurant finder uses a Google Map and Android location services. The team must keep distinct configuration responsibilities clear so that a Maps credential is not mistaken for a runtime permission or a geocoding operation. Match each implementation requirement to the appropriate Android or Google Maps mechanism.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Authorize the app's Google Maps SDK requests
Obtain the device's current geographic position
Represent a restaurant location visually
Convert an address into latitude and longitude
GoogleMap marker
Geocoder geocoding operation
Google Maps API key in the app configuration
Android location provider
Correct answer:
  • Authorize the app's Google Maps SDK requests → Google Maps API key in the app configuration
  • Obtain the device's current geographic position → Android location provider
  • Convert an address into latitude and longitude → Geocoder geocoding operation
  • Represent a restaurant location visually → GoogleMap marker

The Maps API key authorizes use of the configured Google Maps service; it does not grant device location access. Android location providers supply the device's position, while Geocoder converts between human-readable location data and geographic coordinates. A marker is a map visualization for a location. Using Geocoder as the device-position source confuses address conversion with sensing, and using a map marker or API key as a permission mechanism does not obtain location.

More Practice Questions

Get the Full Android AND-801 Dumps as PDF and Practice Test

16 questions are free on this page and the full set has 45. It comes as a PDF and an online practice test, with 90 days of free updates.