• 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

Q 1 - Is it possible to have an activity without UI to perform action/actions?

A - Not possible

B - Wrong question

C - Yes, it is possible

D - None of the above

Answer : C

Explanation

Generally, every activity is having its UI(Layout). But if a developer wants to create an activity without UI, he can do it.

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

Explanation

It is a main component of android. It reacts on the system broadcast announcements, and it acts as a gateway between outside application environment with your application.

Q 4 - How to store heavy structured data in android?

A - Shared Preferences

B - Cursor

C - SQlite database

D - Not possible

Answer : C

Explanation

We can store structured data in SQlite database only. SQlite database is very efficient and faster to read and store the data.

Answer : B

Explanation

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

Answer : C

APK is an android packaging kit. We can pack/zip, our code in apk format to work on Android devices as an application.

Answer : C

JSON is Java Script Object Notation with which we can exchange data between two systems in the connected network.

Answer : A

Json exception can be thrown while parsing JSON response from the server.

Answer : C

Android is having four levels of protection in android permission tag. They are normal, dangerous, signature, and signatureOrsystem

Q 10 - What are the main components in android?

A - Activity

B - Services

C - Broadcast Receiver

D - Content provider

Answer : A,B,C and D

The main components in android are Activity, services, Broadcast Receiver and content providers.

android_questions_answers.htm
Advertisements