• 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

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

Explanation

Margin specifies the space left on four sides in the layout and padding specifies the exact position where the element going to be taking place in the layout.

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

Explanation

The getContext() method is used in onCreate() method and getApplicationContext() can be used anywhere in an application.

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.

Answer : D

HTTP Client has the capabilities to manage connections, cookies and Authentication.

Answer : B

Fragment is a peace of an activity. If you want to move your application in 360 degrees, you can do this by using a fragment.

Answer : A

Android version 2.2 is deprecated so we don't need to call MIN version to be 1

Answer : A

The Interface acts as a bridge between class and the outside world. Interface contains method declaration, nested types, and constants.

android_questions_answers.htm
Advertisements