Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Android AND-801 Android Application Development v8 Exam Practice Test

Demo: 6 questions
Total 45 questions

Android Application Development v8 Questions and Answers

Question 1

The SharedPreferences class provides a general framework that lets you save and retrieve persistent key-value pairs of primitive data types.

Options:

A.

False

B.

True

Question 2

Which of the following files has the correct name for a layout design file of an activity in an Android app?

Options:

A.

Gradle.sql

B.

MainActivity,java or MainActivity.kt

C.

Sample.class

D.

ctivity_ main.xml

Question 3

What does the following code snippet do?

Options:

A.

Creates a FrameView.

B.

Creates a Cradview.

C.

Creates a RecyclerView.

D.

Creates a ListView-

Question 4

What is the main role of adding the following permission tag to AndroidManifest.xml file in an Android app?

Options:

A.

Allow the Android app to download Google map database.

B.

Allow thisapp to snare internal Google map database with another applications.

C.

Allow the Android app to access the user's precise (exact) location.

D.

This tag is not enough, you still need to add another tag which includes the user name and password to upload the user's location coordinates to Google map database.

Question 5

The following Android code will show the small popup message "Message saved as draft" for 3.5 seconds, and then automatically disappears: Toast.makeText(this, "Message saved as draft". Toast.LENGTH_LONG).show()

Options:

A.

True

B.

False

Question 6

Check the following image which includes Android code for a sum calculator. Which of the following choices is correct about this Android code?

Options:

A.

The sum result will not appear on the app until adding another print out method.

B.

The sum result of N1 and N2 will appear in result_view TextView widget when the user clicks button_sum button.

C.

The sum result will not work, because N1 and N2 must be changed to Integer first.

D.

You must add input method to this code to enter the value of N1 and N2 numbers.

Demo: 6 questions
Total 45 questions