New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

Android AND-801 Android Application Development v8 Exam Practice Test

Page: 1 / 5
Total 45 questions

Android Application Development v8 Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

The Android library code is organized in such a way that it can be used by multiple Android applications.

Options:

A.

True

B.

False

Question 2

Check the following image which includes Android code. In this code when the app user clicks the button, the user will get a toast message which states "Hello Android ATC". After executing the code, where on the android device screen will the toast message appear?

Options:

A.

Top middle (center).

B.

Top left.

C.

Top right.

D.

Right middle (center).

Question 3

Fill in the blank space in the following sentence with the correct choice: The..................... to arranges widgets in positions relative each other.

Options:

A.

RelativeLayout

B.

Table Layout

C.

Linear Layout

D.

ConstraintLayout

Question 4

The code snippet below displays a menu which is illustrated in another image. The emulator image displays a menu that contains three items, but in the code file none of these menu items are available. Where do these items come from?

Options:

A.

This file will not show any menu items.

B.

As illustrated in the code, these items are already added in the resource the called menu.xml and this file exists m a container called menu.

C.

These menu items are already added to AndroidManitfest,xml file.

D.

These items are added in activity_main.xml file.

Question 5

Which of the following Android Studio folders includes drawable files for different launcher icon densities?

Options:

A.

Values

B.

Drawable

C.

layout

D.

Mipmap

Question 6

You have an Android application that consists of two activities (MainActivity and SecondActivity) and you want to pass data in text field (ID: FirstNameJD) of MainAcitivity to SecondActivity. The passed data will appear in SecondActivity inside a TextView widget with Id: HelloMessageJD. You will use Intent to pass this data from MainActivity to SecondActivity. The Following two images include the Android code which will be written in MainActivity.kt and SecondActivity.kt files. Your data will not pass from MainActivity to SecondActivity due to a mistake in the code in SecodActivity.kt. Which of the following choices is a correct solution to make this app run correctly?

Options:

A.

Add startActivity(intent) to Secondryactivity.kt

B.

Replace getStringExtra("name") with putSiringExtra( "name") in SecondActiy.kt file

C.

You need to add an if statement to solve this issue in the two files

D.

Replace ''name'' with ''pass'' in intent.getSt4ingExtra( ''name'')

Page: 1 / 5
Total 45 questions