• 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

Explanation

Due to low memory problem. your application will close before reaching onStop()

Answer : C

Explanation

Manifest.xml is having information about application as number components in your application,Activity information,service information, and icon about an application

Each application has at least one Manifest file. Without manifest file we can't generate the APK file.

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

Explanation

Broadcast receiver has only onReceive() method. Broadcast starts from onRecieve() and control comes out from onRecieve().

Answer : E

Explanation

When CPU is on mode, PARTIAL_WAKE_LOCK will be active.

When CPU + bright Screen low is on mode, SCREEN_DIM_WAKE_LOCK will be active.

When CPU + bright Screen High is on mode,SCREEN_BRIGHT_WAKE_LOCK will be active.

When CPU, Screen, bright Screen High is on mode, FULL_WAKE_LOCK will be active.

Answer : C

Breaks the execution to find the debug value, It is one of the debugging techniques.

Q 7 - What is the package name of HTTP client in android?

A - com.json

B - org.apache.http.client

C - com.android.JSON

D - org.json

Answer : B

org.apache.http.client is the package name of HTTP client.

Answer : D

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

Q 9 -What are return types of startActivityForResult() in android?

A - RESULT_OK

B - RESULT_CANCEL

C - RESULT_CRASH

D - A & B

E - B & C

Answer : D

strartActivityforResult() returns RESULT_OK and RESULT_CANCEL.

Answer : B

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

android_questions_answers.htm
Advertisements