Android Programming (2180715) MCQs

MCQs of The Basics

Showing 1 to 10 out of 114 Questions
1.
Explain android activity life cycle?
(a) onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop() −> onActivityDistroy() −> onDestroy()
(b) OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onRestart() −> onDestroy()
(c) OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
(d) onResume()
Answer:

Option (b)

2.
Which of the following is/are the subclasses in Android?
(a) Action Bar Activity
(b) Launcher Activity
(c) Preference Activity
(d) All of above
Answer:

Option (d)

3.
What are the functionalities of Binder services in android?
(a) Binder is responsible to manage the thread while using aid in android
(b) Binder is responsible for marshaling and un-marshaling of the data
(c) A & B
(d) None of the above
Answer:

Option (c)

4.
Which features are considered while creating an android application?
(a) Screen Size
(b) Input configuration
(c) Platform Version
(d) All of above
Answer:

Option (d)

5.
What is APK in android?
(a) Android packages
(b) Android pack
(c) Android packaging kit
(d) None of the above.
Answer:

Option (c)

6.
In which directory XML layout files are stored
(a) /assets
(b) /src
(c) /res/values
(d) /res/layout
Answer:

Option (d)

7.
What does AAPT stands for?
(a) Android Asset Processing Tool
(b) Android Asset Providing Tool
(c) Android Asset Packaging Tool
(d) Android Asset Packaging Technique
Answer:

Option (c)

8.
What is JNI in android?
(a) Java Interface
(b) Java Native Interface
(c) Java Network Interface
(d) Image Editable Tool
Answer:

Option (b)

9.
Which programming language is used for Android Application Development?
(a) NodeJs
(b) PHP
(c) JSX
(d) Java
Answer:

Option (d)

10.
Android is based on which kernel?
(a) Linux
(b) Windows
(c) Mac
(d) Redhat
Answer:

Option (a)

Showing 1 to 10 out of 114 Questions