Android Programming (2180715) MCQs

MCQs of Polish and Publish

Showing 1 to 10 out of 20 Questions
1.
In which file, permissions are set in Android?
(a) Src
(b) Bin
(c) AndroidManifest.xml
(d) Java
Answer:

Option (c)

2.
To write files on the external storage, which permission you will write in AndroidManifest.xml
(a) WRITE_STORAGE
(b) WRITE_EXTERNAL_STORAGE
(c) WRITE_FILES
(d) WRITE_EXTERNAL_DATA
Answer:

Option (b)

3.
What is the permission for using the camera?
(a) android.permission.USE_CAMERA
(b) android.permission.hardware.CAMERA
(c) android.device.camera
(d) android.permission.CAMERA
Answer:

Option (b)

4.
What is contained within the manifest xml file?
(a) The permissions the app requires
(b) The list of strings used in the app
(c) The source code
(d) All other choices
Answer:

Option (a)

5.
Which permission you need to declare in your AndroidManifest.xml file for sending SMS.
(a) <uses-permission android:name="android.permission.SEND_SMS"/>
(b) <uses-permission android:name="android.SEND_SMS"/>
(c) <uses-permission ="android.permission.SEND_SMS"/>
(d) None of the above.
Answer:

Option (a)

6.
Which permission you need to declare in your AndroidManifest.xml file for initiating a call using the system in-call Activity?
(a) CALL_NUMBER uses-permission
(b) DIAL_PHONE uses-permission
(c) CALL_PHONE uses-permission
(d) CALL_USING_DIALER uses.permission
Answer:

Option (c)

7.
Which among these are NOT a part of Android’s native libraries?
(a) Webkit
(b) Dalvik
(c) OpenGL
(d) SQLite
Answer:

Option (b)

8.
Where to define external library project?
(a) Dependencies
(b) Defaultconfig
(c) AndroidManifest.xml
(d) Layout
Answer:

Option (a)

9.
All Library project structure contains
(a) Java
(b) res
(c) AndroidManifest.xml
(d) All of above
Answer:

Option (d)

10.
Android library compiles into an _____?
(a) AAR Files
(b) APK Files
(c) BUNDLE Files
(d) JAR Files
Answer:

Option (a)

Showing 1 to 10 out of 20 Questions