Professional Documents
Culture Documents
Native Libraries
C.
Resources
D.
Dalvik Executable
A scale the image according to the device size on which app is loaded
B will make the image size smaller as compared to the png image
C is used for security purpose for the images used in project
D all of the above options are true
10.
Sleep mode is
A phone swithed off. CPU will not work when LCD is off
B CPU will be sleeping. CPU will not work when LCD is off
C CPU will be sleeping. CPU will not work after few seconds of LCD turning off.
D CPU will sleeping but will not accept any command except RIL
11.
A Micro Kernel
B Monolithic kernel
C Hybrid Kernel
D none
12.What does the .apk extension stand for?
A. Application Package
B. Application Program Kit
C. Android Proprietary Kit
D. Android Package
Ans: A
13. The ___________ file specifies the layout of your screen
A. Layout file
B. Manifest file
C. Strings XML
D. R file
Ans: A
14.Which of the following is the most "resource hungry" part of dealing with
Activities on Android.
A. Closing an app
B. Suspending an app
C. Opening a new app
D. Restoring the most recent app
Ans: C
15.Which of the following is NOT a state in the lifecycle of a service?
A. Starting
B. Running
C. Destroyed
D. Paused
Ans: D
16. Why are the so few users left with versions 1.0 and 1.1?
A, The first phones were released with version 1.5
B. 1.0 and 1.1 had security holes that forced carriers to recall phones using them
C. 1.0 and 1.1 are just number designations for the version Apple's iPhone is
running
D. Everyone with 1.0 and 1.1 were upgraded to 1.5 over the air automatically
Ans: D
17.Parent class of Activity?
a)Object
b)Context
c)ActivityGroup
d)ContextThemeWrapper
Ans) d
18.What is the difference between Activity context and Application
Context?
a) The Activity instance is tied to the lifecycle of an Activity.
while the application instance is tied to the lifecycle of the application,
b) The Activity instance is tied to the lifecycle of the application,
while the application instance is tied to the lifecycle of an Activity.
c) The Activity instance is tied to the lifecycle of the Activity,
while the application instance is tied to the lifecycle of an application.
d) None of the above
Ans) a
19.your service is private to your own application and runs in the same
process as the client (which is common), you should create your
interface by extending the ________class?
a) Messenger
b) Binder
c) AIDL
d)None of the above
Ans) b
20.
A 5 sec
B 1 sec
C 10 sec
D 2 sec
Ans A
21.
How to update UI from thread?
A It is not possible for other threads to manipulate UI
B They can hold lock on UI control and manipulate. Holding lock is to make sure
others are not touching it
C Request main thread through inter thread communication using handlers or