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


Pending Intent is fired or triggered at a future point of time.

Q 2 - WHich of the following is/are are the subclasses in Android?

A - Action Bar Activity

B - Launcher Activity

C - Preference Activity

D - Tab Activity

E - All of above

Answer : E


Action bar,Launcher, Preference and Tab activities are subclasses of activities in android

Q 3 - How many threads are there in asyncTask in android?

A - Only one

B- Two

C - AsyncTask doesn't have tread

D - None of the Above

Answer : A


In Android 3.0, It is having multi threads, but now it is having only one thread.

Answer : C


Content provider is used to share the data between applications

Q 5 -Which permissions are required to get a location in android?


B - GPRS permission

C - Internet permission

D - WIFI permission.

Answer : A


To get a location of a phone, ACCESS_FINE and ACCESS_COARSE permission in manifest file are required. Without these permissions, we can't get the location of a mobile.

Q 6 - How many ports are allocated for new emulator?

A - 2

B - 0

C - 10

D - None of the above.

Answer : A

Every emulator or device is allocated by 2 ports based on port availability.

Answer : B

Using with log cat, we can find the exception, which has occurred along with the line number. Using of line number, we can find the errors.

Answer : A

Using with google could messaging, we can push the data from the servers to client devices. In short, we can send messages to mobile devices through the cloud(Push Notification).

Q 9 - What is ANR responding time in android?

A - 10 sec

B - 5 sec

C - 1 min

D - None of the above

Answer : B

ANR responding time is 5 sec. If an application is not responding within 5 sec, ANR will occur

Answer : D

The concurrent executable unit is called a thread. It's performs some background functionalities with services.