• Android Video Tutorials

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

Explanation

finish() − It is used to close the activity.

finish(int requestCode) − It is used to close the activity with requestCode.

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

Explanation

Using putExtra() method, we can send the data. While using it, we need to call setResult() method in services. We can also store data in a common database and access it on services as well as in Activity.

Answer : A

Explanation

CPU will be in sleeping mode and it does not take any commands except radio interface layer and alarm from mobile.

Answer : A

Explanation

We can change bitmap images to 9 sections as four corners, four edges and one axis.

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.

Q 7 - In which technique, we can refresh the dynamic content in android?

A - Java

B - Ajax

C - Android

D - None of the Above

Answer : B

Using with Ajax technology, we can refresh the dynamic data in web pages.

Answer : A

Each application runs securely in sandbox without interrupting another process. If an application is running in a sandbox, outside application can't touch sandbox application

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

Bean class can hold other states and objects. It contains all fields which are private with setter and getter.

android_questions_answers.htm
Advertisements