Android quiz questions

Android interview questions

  • 1.

    Select all true statements:

    A - Keeping track of what the user currently cares about (what is on screen) to ensure that the system keeps running the process that is hosting the activity.

    B - Knowing that previously used processes contain things the user may return to (stopped activities), and thus more highly prioritize keeping those processes around.

    C - Helping the app handle having its process killed so the user can return to activities with their previous state restored.

    1. A

    2. B

    3. A&B

    4. C

    5. All of above

    Answer
  • 2.

    Which of following are valid types of app components?

    1. Activities

    2. Services

    3. Content providers

    4. Broadcast receivers

    5. All of them

    Answer
  • 3.

    How can an app share data with other apps?

    1. It's possible to arrange for two apps to share the same Linux user ID, in which case they are able to access each other's files. The apps must also be signed with the same certificate

    2. There is no way to do this

    Answer
  • 4.

    Which of the following are Android security features?

    1. The Android operating system is a multi-user Linux system in which each app is a different user.

    2. By default, the system assigns each app a unique Linux user ID

    3. Each process has its own virtual machine (VM), so an app's code runs in isolation from other apps.

    4. By default, every app runs in its own Linux process.

    5. All of above

    Answer
  • 5.

    Which step below is NOT a valid step when an asynchronous task is executed

    1. onPreExecute()

    2. doInBackground(Params...)

    3. onProgressUpdate(Progress...)

    4. onPostExecute(Result)

    5. onComplete(Result)

    Answer
  • 6.

    Which of the following don’t have any UI component and run as a background process?

    1. services

    2. simulator

    3. Emulator

    4. none of these

    Answer
  • 7.

    ADB stands for

    1. Android Debug Bridge

    2. Application Debug Bridge

    3. Android data bridge

    4. Application data bridge

    Answer
  • 8.

    To update contents of content provider using curser and commit you need to call

    1. commitUpdates()

    2. updates()

    3. commit()

    4. None of these

    Answer
  • 9.

    Is Android hack proof?

    1. Yes

    2. No

    Answer
  • 10.

    Android is based on which language.

    1. C

    2. C++

    3. VC++

    4. JAVA

    Answer
  • 11.

    Is Android available in ROM?

    1. Yes

    2. No

    Answer
  • 12.

    Android is based on which kernel?

    1. Linux kernel

    2. Windows kernel

    3. MAC kernel

    4. Hybrid Kernel

    Answer
  • 13.

    Web browser available in android is based on

    1. Chrome

    2. Firefox

    3. Open-source Webkit

    4. Opera

    Answer
  • 14.

    Which permissions are required to get a location in android?

    1. ACCESS_FINE and ACCESS_COARSE

    2. GPRS permission

    3. Internet permission

    4. WIFI permission.

    Answer
  • 15.

    What are the return values of onStartCommand() in android services?

    1. START_STICKY

    2. START_NOT_STICKY

    3. START_REDELIVER_INTENT

    4. All of the above

    5. None of the above

    Answer
  • 16.

    What is the life cycle of services in android?

    1. onCreate()−>onStartCommand()−>onDestory()

    2. onRecieve()

    3. final()

    4. Service life cycle is same as activity life cycle.

    Answer
  • 17.

    What is Android?

    1. Android is a stack of software's for mobility

    2. Google mobile device name

    3. Virtual machine

    4. None of the above

    Answer
  • 18.

    What is a thread in android?

    1. Same as services

    2. Background activity

    3. Broadcast Receiver

    4. Independent dis-patchable unit is called a thread

    Answer
  • 19.

    What is transient data in android?

    1. Permanent data

    2. Secure data

    3. Temporary data

    4. Logical data

    Answer
  • 20.

    How to find the JSON element length in android JSON?

    1. count()

    2. sum()

    3. add()

    4. length()

    Answer

© 2017 QuizBucket.org