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

Explanation

Activity is a single screen in an application, Activity performs the actions on the screen(UI)

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

Explanation

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

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

Explanation

We can store persist data in android in shared preferences, internal/external storage, SQlite, and Network servers.

Answer : D

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

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.

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

Using with Javac, we can compile Java files

Use dx tool to convert all Java class files to single dex file

Use AAPT tool to create apk file

Sign the apk file by using jar signer

Zipalign of signed apk

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.


android_questions_answers.htm

Advertisements