Sie sind auf Seite 1von 8

1 what is an activity?

a)A single screen is an Application


b)Supporting Java Code
c)both a&b
d)None of these.

2 What A Single screen is an Application?


a)Activity
b)Intent
c)resource
d)None Of these

3 what is Intent?
a)A class which dscribes what a caller desires to do.
b)The caller will send this intent to android's intent resolver.
c)both
d)None of these.

4 what is Sticky Intent?


a)sendIntentcast()
b)sendStickyBroadcast()
c)sendBroadcast(Intent)
d)Both B&C

5 A User Defined JSON, XML,bitmap,or other file,injected into the application build
process,which can later be loaded from code.
a)Resource
b)Intent
c)Sticky Intent
d)Activity

6 What is Resource?
a)A use define JSON
b)XML
c)bitmap
d)All of the above

7 Permission.PROCESS_OUTGOING_CALLS is
a)Allow to permission for an application monitor
b)Modify
c)abort outgoing calls
d)All of Above
8 Android support the bluetooth serial port profile?
a)yes
b)no
c)it's depend on conditon
d)both A&B.

9 Can an application be started on powerup?


a)NO
b)Yes
c)Error
d)it's depend on condition

10 what are the features of Android?


a)Components can be reused and replaced by the application framework.
b)Optimized DVM for mobile devices
c)SQLite enables to store the data in a structured manner.
d)All of the Above.

11 What is the TTL?


a)Time to Live
b)TTL is the pakate of Internet Protocol
c)Both a&b
d)None of these

12 Who is communicates to the network router whether or not the packet should be in the
network for too long or discarded.
a)Intent
b)Activity
c)Stiky Intent
d)TTL

13 How is nine-patch image different from a regular bitmap?


a)No
b)The NinePatch class permits drawing a bitmap in nine sections.
c)It is a resizable bitmap resource that can be used for backgrounds or other images on the
device.
d)Both b&c

14 what is exceptions of Android?


a) InflateException
b) Surface.OutOfResourceException
c) SurfaceHolder.BadSurfaceTypeException
d)All of the above.
15 Surface.OutOfResourceException is a
a)When an error conditions are occurred, this exception is thrown
b)When a surface is not created or resized, this exception is thrown
c)This exception is thrown from the lockCanvas() method, when invoked on a Surface whose
is SURFACE_TYPE_PUSH_BUFFERS
d)This exception is thrown at the time of trying to add view an invalid
WindowManager.LayoutParamstoken

16 Inflate Exception is a
a)When an error conditions are occurred, this exception is thrown
b)When a surface is not created or resized, this exception is thrown
c)This exception is thrown from the lockCanvas() method, when invoked on a Surface whose
is SURFACE_TYPE_PUSH_BUFFERS
d)This exception is thrown at the time of trying to add view an invalid
WindowManager.LayoutParamstoken

17 SurfaceHolder.BadSurfaceTypeException
a)When an error conditions are occurred, this exception is thrown
b)When a surface is not created or resized, this exception is thrown
c)This exception is thrown from the lockCanvas() method, when invoked on a Surface whose
is SURFACE_TYPE_PUSH_BUFFERS
d)This exception is thrown at the time of trying to add view an invalid
WindowManager.LayoutParamstoken.

18 WindowManager.BadTokenException is a
a)When an error conditions are occurred, this exception is thrown
b)When a surface is not created or resized, this exception is thrown
c)This exception is thrown from the lockCanvas() method, when invoked on a Surface whose
is SURFACE_TYPE_PUSH_BUFFERS
d)This exception is thrown at the time of trying to add view an invalid
WindowManager.LayoutParamstoken.

19 what is adb?
a)Android Debug Bridge
b)A command-line debugging application shipped with the SDK
c)It provides tools to browse the device.
d)All of above

20 The Android releases available in a ROM?


a)yes
b)No
c)Android is not yet available in a ROM format
d)Both B&C
21 What is the future scope of Mobile Application developers?
a)When an error conditions are occurred, this exception is thrown
b)When a surface is not created or resized, this exception is thrown
c)This exception is thrown from the lockCanvas() method, when invoked on a Surface whose
is SURFACE_TYPE_PUSH_BUFFERS
d)Future of the mobile application development is bright

22 How do I create a new homescreen?


a)It is a resizable bitmap resource that can be used for backgrounds or other images on the
device.
b)The NinePatch class permits drawing a bitmap in nine sections.
c)I have used up all the space on one of my homescreens and I want to add some more
widgets to a new homescreen. I can't figure out how to add a new homescreen
d)A command-line debugging application shipped with the SDK

23 Is GSensor working?
a)yes
b)No
c)It's depend on Condition
d)with the help of Intent

24 What is .apk extension?


a)In Android in Stable for Android package file
b)In this Package file containing all of the files to related for a single Android application.
c)In this file itself is a compressed collection of an AndroidManifest.xml file.
d)All of Above

25 What is Dalvik?
a)In Android in Stable for Android package file
b)In this Package file containing all of the files to related for a single Android application.
c)The Dalvik VM is an interpreter-only virtual machine that executes files in the Dalvik
Executable (.dex) format, a format that is optimized for efficient storage and memory-
mappable execution.
d)The NinePatch class permits drawing a bitmap in nine sections.

26 (.dex) format is a
a)GSensor extension
b)Dalvik extension
c)Anroid extension
d)Intent extension
27 Android Arhtecture
a)Intent
b)Resource externization
c)Notification signal certification
d)All of these

28 who is booted by running a special application called 'Haret.exe' residing on your SD


Card which will terminate the Windows kernel and boot into Linux/Android.
a)RAM
b)ROM
c)Cache Memory
d)Hard-disk

29 Once installed on a device, each Android application lives in_______?


a)device memory
b)external memory
c) security sandbox
d)None of the above

30Parent class of Activity?


a)Object
b)Context
c)ActivityGroup
d)ContextThemeWrapper

31What are the Direct subclasses of Activity?


a)AccountAuthenticatorActivity
b) ActivityGroup
c) ExpandableListActivity
d) FragmentActivity
e) ListActivity
f) all the aove

32What are the indirect Direct subclasses of Activity?


a)LauncherActivity
b)PreferenceActivity
c) TabActivity
d)All the above

33Parent class of Service?


a)Object
b)Context
c) ContextWrapper
d)ContextThemeWrapper

34 What are the indirect Direct subclasses of Services?


a) RecognitionService
b) RemoteViewsService
c)SpellCheckerService
d)InputMethodService

35 Which component is not activated by an Intent?


a)Activity
b)Services
c)ContentProvider
d)BroadcastReceiver

36 When contentProvider would be activated?


a)Using Intent
b)Using SQLite
c)Using ContentResolver
d)None of the above

37 Which of the important device characteristics that you should consider as you design
and develop your application?
a)Screen size and density
b)Input configurations
c)Device features
d)Platform Version
e)All of the above

38 Which are the screen sizes in Android?


a)small
b)normal
c)large
d)extra large
e)All of the above

39 Which are the screen densities in Android?


a)low density
b)medium density
c)high density
d)extra high density
e)All of the above

40 You can shut down an activity by calling its _______ method


a)onDestory()
b)finishActivity()
c)finish()
d)None of the above

41 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

42 Which one is NOT related to fragment class?


a)DialogFragment
b)ListFragment
c)PreferenceFragment
d)CursorFragment

43 Definition of Loader?
a) loaders make it easy to asynchronously load data in an activity or fragment.
b) loaders make it easy to synchronously load data in an activity or fragment.
c) loaders does not make it easy to asynchronously load data in an activity or fragment.
d) None of the above.

44 Characteristics of the Loaders?


a)They are available to every Activity and Fragment.
b)They provide asynchronous loading of data.
c)They monitor the source of their data and deliver new results when the content changes.
d)They automatically reconnect to the last loader's cursor when being recreated after a
configuration change. Thus, they don't need to re-query their data.
e)All of the above.

45 How many ways to start services?


a)Started
b)Bound
c)a & b
d)None of the above.

46 If 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

47 If you need your interface to work across different processes, you can create an interface
for the service with a ________?
a)Binder
b)Messenger
c)AIDL
d) b or c

48 AsyncTask allows you to perform asynchronous work on your user interface. It performs
the blocking operations in a worker thread and then publishes the results on the UI thread.
a)true
b)false

49 Layouts in android?
a)Frame Layout
b)Linear Layout
c)Relative Layout
d)Table Layout
e)All of the above

50 Dialog classes in android?


a)AlertDialog
b)ProgressDialog
c)DatePickerDialog
d)TimePickerDialog
e)All of the above

51 If you want share the data accross the all applications ,you should go for?
a)Shared Preferences
b)Internal Storage
c)SQLite Databases
d)content provider

Das könnte Ihnen auch gefallen