Android Online Quiz


Advertisements


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 : D

Explanation

Splash is an activity. Generally it appears as initial screen of an application and works based on thread concept.

Answer : A

Explanation

When an Application is not responding ANR will be occur, and it will stop the process or an application

Answer : C

Explanation

Content provider is used to share the data between applications

Answer : C

Explanation

GPRS and Location provider is used to fetch the current location of a phone as longitude and latitude.

Answer : D

DDMS provides port forwarding, screen capturing, memory mapping, logcat, calls, SMS etc.

Answer : C

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

Q 8 - How many orientations does android support?

A - 4

B - 10

C - 2

D - None of the above

Answer : A

According to the Google documentation, Android supports 4 types of orientations, those are landscape, portrait, sensor and No orientation

Answer : A

Android version 2.2 is deprecated so we don't need to call MIN version to be 1

Answer : A

The Interface acts as a bridge between class and the outside world. Interface contains method declaration, nested types, and constants.


android_questions_answers.htm

Advertisements