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

Explanation

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

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

Answer : A

Explanation

View Group is collaborating with views and other child views,It is an invisible container and base classes for layouts.

Answer : E

Explanation

AsyncTask needs doInBackground() and remaining methods are optional. As a developer we should need to implement all methods which are given above.

Answer : C

Explanation

Content provider is used to share the data between applications

Answer : A

Explanation

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

Answer : C

Android debug bridge is a client and a server modelled tool and acts as a bridge between client and server.

Answer : A

Http request has get and post methods and it returns the response from the servers.

Q 8 - How to find the JSON element length in android JSON?

A - count()

B - sum()

C - add()

D - length()

Answer : D

Using length(), we can find the number of elements are in JSON.

Answer : A

It is not mandatory, the program will work perfectly without fail, but the programmer has to implement the life cycle of activity.

Answer : D

Set can't contain duplicate values. Examples of set are hashset,treeset and linked hash set

The list contains duplicate values. Example of list is linked list and array list

android_questions_answers.htm
Advertisements