Android Programming (2180715) MCQs

MCQs of The Basics

Showing 111 to 114 out of 114 Questions
111.
What is a correct statement about an XML layout file?
(a) A layout PNG image file
(b) A file used to draw the content of an Activity
(c) A file that contains all application permission information
(d) A file that contains a single activity widget.
Answer:

Option (b)

112.
What does the src folder contain?
(a) Image and icon files
(b) XML resource files
(c) The application manifest file
(d) Java source code files
Answer:

Option (d)

113.
Which manifest file permission you should add to allow your application to read the device’s address book?
(a) READ_ADDRESS_DATA
(b) READ_PHONE_STATE
(c) READ_PHONE_CONTACTS
(d) READ_CONTACTS
Answer:

Option (d)

114.
By default in android studio during app development, the file that holds information about app's fundamental features and components is _____
(a) AndroidManifest.xml
(b) res/values
(c) Build.gradle
(d) res/layout
Answer:

Option (a)

Showing 111 to 114 out of 114 Questions