Official Bank 0/45

Android Application Development v8 (AND-801) - Android Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
45 Total Questions
1
Question
Assume you are developing an Android app which consists of two activities, MainActivity and SecondActivity. The following image includes part of MainActivity code. This file includes a button that has id "Mybutton". What does the following code snippet do if it is executed after the user taps on the button (id: Mybutton)?
Options
A Opens SecondActivity layout.
B Moves "Hello" message to Second Activity layout
C Closes the app. then opens the phone's applications list
D Re-opens the same MainActivity layout.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
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?

Exhibit
Options
A Top middle (center).
B Right middle (center).
C Top left.
D Top right.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
As an Android developer, to change the font size of a text in Android layout, you should use attribute "android:textSize". Which of the following choices is the recommended syntax to change the font size to 18?
Options
A android:textSize=18sd"
B android:TextSize=18dp”
C androtd:textSize="18sp"
D android:textSize=-"18point"
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
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 ConstraintLayout
C Table Layout
D Linear Layout
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
To add a Google map to an Android app, you should to use map fragments.
Options
A False
B True
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.