MCQ Chapter 8
Unit 8:
Taking apps
to Market
1)What is JNI in android?
A - Java network interface
B - Java interface
C - Image editable tool
D -
Java native interface.
Ans:D
2) What is DDMS in android?
A - Dalvik memory server
B - Device memory server
C - Dalvik monitoring services
D -
Dalvik debug monitor services
Ans:D
3) What is the package name of JSON?
A - com.json
B - in.json
C - com.android.JSON
D -
org.json
Ans:D
4) What are the JSON elements in
android?
A - integer, boolean
B - boolean
C - null
D -
Number, string, boolean, null, array, and object
Ans:D
5) What is ANR responding time in
android?
A - 10 sec
B - 5
sec
C - 1 min
D - None of the above
Ans:B
6) What are the main components in
android?
A -
Activity
B -
Services
C –
All of these
D -
Content provider
Ans: C
7) How to upgrade SQlite the
database from a lower version to higher version in android SQlite?
A -
Using helper Class
B - Using cursor
C - Using intent
D - None of the above
Ans:A
8) How to pass the data from activity
to services in android?
A - We can store the data in a
common database and access the data on services as well as in Activity
B - We can't pass data from
activity to services.
C - Using putExtra() method in
intent, we can pass the data using setResult()
D - A
& C
Ans:D
9) A type of service provided by android that shows
messages and alerts to user is
- Content Providers
- View System
- Notifications Manager
- Activity Manager
Ans:C
10) Broadcast that includes information about
battery state, level, etc. is
- android.intent.action.BATTERY_CHANGED
- android.intent.action.BATTERY_LOW
- android.intent.action.BATTERY_OKAY
- android.intent.action.CALL_BUTTON
Ans:A
11) One of application component, that manages
application's background services is called
- Activities
- Broadcast Receivers
- Services
- Content Providers
Ans:C
12) Tab that can be used to do any task that can be
done from DOS window is
- TODO
- messages
- terminal
- comments
Ans:C
13) Space outside of widget can be customized using
- padding
- height
- weight
- margins
Ans:D
14) Tab that shows hierarchy of project is
- Build variants
- Structure
- Favorites
- Project
Ans:B
15) In android, compiled code is executed by part
of android system called
- DEX
- DVM
- JDK
- API
Ans:B
16) A part of android studio, that work as a
simulator for android devices is called
- driver
- emulator
- stub
- firmware
Ans:B
17) Code that provide easy way to use all android
features is called
- API
- DEX
- DVM
- JDK
Ans:A
18) A type of service provided by android that
controls application lifespan and activity pile is
- Activity Manager
- View System
- Notifications Manager
- Content Providers
Ans:A
19) One of operating system that cannot be used for
android application development is
- Eclipse
- Cooja
- Netbeans
- Android studio
Ans:B
20) Android understandable form of code is called
- JDK
- DEX
- DVM
- API
Ans:B
Comments
Post a Comment