• Android Video Tutorials

Android Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Android. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : B

Explanation

OnCreate() − The system will call this,when an activity is created first time.

onStart() − The system will call this,when an activity starts the actions/action on UI.

onResume() − The system will call this, when onRestart() or onPause() is called.

onPause() −> The system will call this, when an activity going into the background.

onStop() − The system will call this, when an activity going into stop.

onRestart() − The system will call this, when an activity going to stop stage and to start the activity again.

onDestroy() − The system will call this, when an activity going in stop mode.

Answer : E

Explanation

Android is having Linear Layout(Horizontal and Vertical), Frame Layout, Table Layout, and Relative Layout.

Answer : D

Explanation

We can stop the services by stopSelf() and stopService(), in some cases android will kill the services due to the low memory problem.

Answer : A

Explanation

CPU will be in sleeping mode and it does not take any commands except radio interface layer and alarm from mobile.

Answer : D

Explanation

Application class is the base class for any android application.

Q 6 - What are the debugging techniques available in android?

A - DDMS

B - Breaking point

C - Memory profiling

D - None of the above.

E - None of the above.

Answer : D

DDMS, Breaking Point and Memory profiling are the three debugging techniques available in Android. Based on requirement, we can use debugging techniques, each technique is having different capabilities to debug.

Answer : C

JSON is Java Script Object Notation with which we can exchange data between two systems in the connected network.

Answer : D

Using FragmentManager.findFragmentByID(R.id.fragment), we can find the fragment/fragments which are placed on the layout

Answer : D

Transient data is logical data and we can store application logic in it.

Answer : B

Anchor View provides the information on respective relative positions of views.

android_questions_answers.htm
Advertisements