-
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.
A
B
A&B
C
All of above
Answer
-
2.
Which of following are valid types of app components?
Activities
Services
Content providers
Broadcast receivers
All of them
Answer
-
3.
How can an app share data with other apps?
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
There is no way to do this
Answer
-
4.
Which of the following are Android security features?
The Android operating system is a multi-user Linux system in which each app is a different user.
By default, the system assigns each app a unique Linux user ID
Each process has its own virtual machine (VM), so an app's code runs in isolation from other apps.
By default, every app runs in its own Linux process.
All of above
Answer
-
5.
Which step below is NOT a valid step when an asynchronous task is executed
onPreExecute()
doInBackground(Params...)
onProgressUpdate(Progress...)
onPostExecute(Result)
onComplete(Result)
Answer
-
6.
Which of the following don’t have any UI component and run as a background process?
services
simulator
Emulator
none of these
Answer
-
7.
ADB stands for
Android Debug Bridge
Application Debug Bridge
Android data bridge
Application data bridge
Answer
-
8.
To update contents of content provider using curser and commit you need to call
commitUpdates()
updates()
commit()
None of these
Answer
-
9.
Is Android hack proof?
Yes
No
Answer
-
10.
Android is based on which language.
C
C++
VC++
JAVA
Answer
-
11.
Is Android available in ROM?
Yes
No
Answer
-
12.
Android is based on which kernel?
Linux kernel
Windows kernel
MAC kernel
Hybrid Kernel
Answer
-
13.
Web browser available in android is based on
Chrome
Firefox
Open-source Webkit
Opera
Answer
-
14.
Which permissions are required to get a location in android?
ACCESS_FINE and ACCESS_COARSE
GPRS permission
Internet permission
WIFI permission.
Answer
-
15.
What are the return values of onStartCommand() in android services?
START_STICKY
START_NOT_STICKY
START_REDELIVER_INTENT
All of the above
None of the above
Answer
-
16.
What is the life cycle of services in android?
onCreate()−>onStartCommand()−>onDestory()
onRecieve()
final()
Service life cycle is same as activity life cycle.
Answer
-
17.
What is Android?
Android is a stack of software's for mobility
Google mobile device name
Virtual machine
None of the above
Answer
-
18.
What is a thread in android?
Same as services
Background activity
Broadcast Receiver
Independent dis-patchable unit is called a thread
Answer
-
19.
What is transient data in android?
Permanent data
Secure data
Temporary data
Logical data
Answer
-
20.
How to find the JSON element length in android JSON?
count()
sum()
add()
length()
Answer