Android Application Development v8 - AND-801 Exam Practice Test

Which of the following choices is the main role of the button which is illustrated in the red rectangle over the Android Studio tool bar?
Correct Answer: D
The following image displays an AndroidManifest.xml file for an Android app. Which of the following choices is correct about this file?
Correct Answer: B
The first image below includes an Android code to generate AlertDialog which is illustrated in the second image. The last line of the code includes "xxxxxxx". Which of the following choices is the correct line of code to replace "xxxxxxx" for the purpose of showing this AlertDialog?
Correct Answer: A
Check the following image which includes a code that runs when the user clicks on the button (id =button).
This code for an Android app includes three check boxes for the question: "Which countries are in North America?" Select one of the following choices, where the result will appear when the app user clicks the button.
Correct Answer: B
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?
Correct Answer: B