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

Explanation

We have to call startFordgroud(int id,Notification notification) to make services as foreground services. When it comes to foreground, it will show a notification.

Answer : C

Explanation

Binder is responsible to manage the thread while creating aidl and is responsible to do marshalling and un-marshalling of the data. Binders have sub functionalities and interface for clients

Answer : D

Explanation

sendBroadcast() &miuns; It's normal broadcast.

sendOrderBroadcast() &miuns; It has an order priority

sendStickyBroadcast() &miuns; Intent passed with broadcast for future users.

Answer : B

Explanation

Anonymous class doesn't have class name but has some functionalities in it.

Q 6 - WHich method is used to find GPS enabled or disabled pro-grammatically in android?

A - finish()

B - getGPSStatus()

C - onProviderDisable()

D - getGPS().

Answer : C

The onProviderDisable() method is used to find whether GPS is enabled or disabled in android pro-grammatically

Q 7 - What is the package name of JSON?

A - com.json

B - in.json

C - com.android.JSON

D - org.json

Answer : D

org.json is the package name of JSON object and JSON array

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

Answer : B

The super.onCreate() will create the graphical window for subclasses and place at onCreate() method.

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