Free Android AND-801 Exam Actual Questions

The questions for AND-801 were last updated On Jan 16, 2025

Question No. 1

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?

Show Answer Hide Answer
Correct Answer: B

Question No. 2

If you want to configure a link between two Android activities in the same Android application, you need to use:

Show Answer Hide Answer
Correct Answer: C

Question No. 3

Which of the following is true about the following line of code: button.setOnClickListener({})

Show Answer Hide Answer
Correct Answer: B

Question No. 4

Android is an open source, Linux-based software stack.

Show Answer Hide Answer
Correct Answer: A

Question No. 5

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?

Show Answer Hide Answer
Correct Answer: D