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


Context is used to create new components or objects like views and it is used to start activity and services. Android has two kinds of contexts and those are getContext() and getApplicationContext().

Answer : C


X-large screens are having at least 960dp*720dp resolutions

Large screens are having at least 640dp*480dp resolutions

Normal screens are having at least 470dp*320dp resolutions

Small screens are having at least 426dp*320dp resolutions

Answer : D


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

Q 4 - How to store heavy structured data in android?

A - Shared Preferences

B - Cursor

C - SQlite database

D - Not possible

Answer : C


We can store structured data in SQlite database only. SQlite database is very efficient and faster to read and store the data.

Q 5 - Which features are considered while creating android application?

A - Screen Size

B - Input configuration

C - Platform Version

D - Device features

E - All of above

Answer : E


Before creating an application, developers should consider screen size, input configuration, version, and device features

Answer : A

Base Adapter is a common class for any adapter. We can use a base adapter for both listView and spinner. It has some methods as shown below


Q 7 - What does httpclient.execute() returns in android?

A - Http entity

B - Http response

C - Http result

D - None of the above.

Answer : B

Httpclient.execute() executes only once and it will return http response from the server or device, Http entity is embedded the body of the Http response.

Answer : D

Json elements are Number, string, boolean, null, array, and object

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

Q 10 - What are the main components in android?

A - Activity

B - Services

C - Broadcast Receiver

D - Content provider

Answer : A,B,C and D

The main components in android are Activity, services, Broadcast Receiver and content providers.