Home
Submit/Ask Question
How to Use
Show my Statistics
Contact Us
Select chapter
Android All (31.Papers) basics (5.Papers) activities (5.Papers) services (2.Papers) threads (2.Papers) receivers (1.Papers) Show all chapters
Previous page
0 Says Important
0 People Like it
RateToughness
Sponsored Links
Fresher interview question 61 How to start a broadcast receiver on phone boot completed? Toughness
A. <receiver > <intent-filter > <action android:name="android.intent.action.BOOT_COMPLETED"/> </intent-filter> </receiver> B. <receiver > <intent-filter > <action android:name="intent.action.BOOT_COMPLETED"/> </intent-filter> </receiver> C. <receiver > <action android:name="intent.action.BOOT_COMPLETED"/> </receiver> D. <broadcastreceiver > <intent-filter > <action android:name="intent.action.BOOT_COMPLETED"/> </intent-filter> </broadcastreceiver>
0 Says Important
0 People Like it
RateToughness
Fresher interview question 62 What is the difference between sendbroadcast(), sendorderedbroadcast(), sendstickybroadcast() ? Toughness
A. sendbroadcast() - normal broadcast sendorderedbroadcast() - we can set priority sendstickybroadcast() - intent passed with this will be stick for future users B. sendbroadcast() - normal broadcast, but we can set priority as well. sendorderedbroadcast() - we can set priority, and set result. can't block broadcasts. sendstickybroadcast() - intent passed with this will be stick for future users C. sendbroadcast() - normal broadcast, but we can set priority as well. sendorderedbroadcast() - we can set priority, and set result. can block broadcasts as well. sendstickybroadcast() - intent passed with this will be stick for future users D. sendbroadcast() - normal broadcast, but we can set priority as well. sendorderedbroadcast() - we can set priority, and set result. can block broadcasts. sendstickybroadcast() - intent passed with this will be available for only one time.
0 Says Important
0 People Like it
RateToughness
http://skillgun.com/android/interview-questions-and-answers-for-fresher#
1/5
3/13/2014
0 Says Important
Fresher interview question 63 What is the difference between service and a thread? Toughness
A. Service - is a component of android, which runs in the background with out any UI. Service will have default one thread to run in the back ground. Thread - is similar to service, it also runs in the background B. Service - is a component of android, which runs in the background with out any UI. By default service will run in Main thread only. Thread - is not android component, but still one can use thread to do some background task. Using thread in place of service is discouraged. C. Option 2 is right, but one can use Thread in place of Service, no problem will come. D. Option 1 is right, but it may have UI also some times.
0 Says Important
0 People Like it
RateToughness
Fresher interview question 64 start a service from activity and close activity, what will happen to that service, will it be alive or dead? Toughness
A. service will also be killed B. service will be alive for some time, and will be killed by android garbage collector. C. service will run for ever, no body can stop it now, and it leaks memory. D. service will be keep running in the background, but it can stop itself when the work given to it is done. Or others also can kill that service using stopService(), or android also can kill the service forcefully in case of low memory scenarios.
0 Says Important
0 People Like it
RateToughness
Fresher interview question 65 How to create a service with multiple threads in it? Toughness
A. Create a service with creating thread in onStartCommand B. Use Intent Service C. Create a service with one thread in OnCreate(). D. Either use option1 or use Async task with service
0 Says Important
0 People Like it
RateToughness
Fresher interview question 66 What is the difference between synchronized block(statement) and synchronized methods?
i. syn method - all statements in this are synchronized syn block - only this block of code is synchronized, not whole method. ii. syn method - if already any thread is holding lock on this function's object then other threads can't call another syn method on same object. syn block - If a function is having 1000 lines and I access shared data
http://skillgun.com/android/interview-questions-and-answers-for-fresher#
2/5
3/13/2014
B. i & ii D. none
0 Says Important
0 People Like it
RateToughness
B. Multi threading and multi tasking D. single task with multi threading
0 Says Important
0 People Like it
RateToughness
Fresher interview question 68 What are the mandatory functions to be implemented in AsyncTask class?
0 Says Important
0 People Like it
RateToughness
Fresher interview question 69 What are the Dialog classes available in android ?
i. Alert Dialog ii. Timepicker Dialog iii. Progress Dialog iv. DatePicker Dialog
Toughness
A. i C. i, ii, iii
B. i and ii D. All
http://skillgun.com/android/interview-questions-and-answers-for-fresher#
3/5
3/13/2014
0 Says Important
Fresher interview question 70 Which method need to be called to shut down an activity, itself? Toughness
A. onDestroy() C. finishActivity()
0 Says Important
0 People Like it
RateToughness
Fresher interview question 71 Which of the following are appropriate for saving the state of an android applications? Toughness
A. Activity.onFreeze() C. Activity.onPause()
B. Activity.onStop() D. Activity.onDestroy()
1 Says Important
0 People Like it
RateToughness
A. Activity C. Services
0 Says Important
0 People Like it
RateToughness
Fresher interview question 73 What is the purpose of the ContentProvider class? Toughness
A. To play rich media content files. B. To share data between Android applications. C. To access the global information about an application environment. D. To maintain global application state.
0 Says Important
0 People Like it
RateToughness
http://skillgun.com/android/interview-questions-and-answers-for-fresher#
4/5
3/13/2014
A. Android Debug Bridge - can be used to access android tools from command line interface. B. Android Direct Bridge - can be used to start emulator. C. Android Direct Bridge - provide acces to databases on the rooted device. D. None are correct.
0 Says Important
0 People Like it
RateToughness
Fresher interview question 75 Which of the following are the layouts available in android ?
i. Frame Layout ii. Table Layout iii. Linear Layout iv. Relative Layout
Toughness
A. i C. i, ii, iii
B. i, ii D. All
Job Interview
Interview Skill
Android SDK
Android Emulator
Bookmark to -
http://skillgun.com/android/interview-questions-and-answers-for-fresher#
5/5