SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Android Programming
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_SEND
AttributeSet
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
2. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
GestureDetector
single-pane
AndroidManifest.xml
3. Sharing of data in Android is done via________
visible
Service Content Provider
<declare-styleable>
View
4. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Intent filters
Activity
Destroyed - previous
Android SDK
5. A mode where navigation is set up with a spinner widget.
Entire
BroadcastReceiver
Objects Activity lifecycle
single-pane
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
Widgets
PieChart
SearchView
Services
7. This is used to fetch the account names that the user has stored on their device.
Google Cloud Messaging (GCM)
Account Manager
Standby
Parser
8. This is set up to animate for the duration of the fling.
ConnectivityManager
Deserialize
ValueAnimator
setContentView
9. The minimal energy state during which no network connection is active or required.
SurfaceView
HttpURLConnection
adb
Standby
10. Callback method: The activity is about to be destroyed.
Standby
onDestroy();
ACTION_DOCK_EVENT
Google Play
11. In most cases this will offer greater bandwidth at a significantly lower battery cost.
BatteryManager
Wi-Fi radio
dual-
AsyncTask
12. Represents the visual representation of an Android application
Deserialize
SQLite
Activity
HttpURLConnection
13. An _______ is an application component that provides a screen with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map.
Activity
Ducking
drawBitmap()
Google Cloud Messaging (GCM)
14. It provides a simple way to perform your work outside the main thread.
EXTRA_STREAM
visible
Back stack
AsyncTask
15. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
BroadcastReceiver
onCreate() - onDestroy()
BackupHelper
View
16. Use this to draw bitmaps.
drawBitmap()
authenticator class
<declare-styleable>
onStop();
17. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Dots per inch
LocationManager
Google Cloud Messaging for Android (GCM)
Canvas
18. Perform background tasks without providing a user interface
Services
HttpURLConnection
SurfaceView
When the activity resumes
19. Shows the actual amount of memory the application uses
Application footprint
Dalvik Virtual Machine
onMeasure()
onDestroy();
20. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
security sandbox
onStart() - onStop()
LocationManager
Entire
21. Most network-connected Android apps use this to send and receive data.
Objects Activity lifecycle
LTE
SearchView
HTTP
22. To create an activity - you must create a subclass of
Deserialize
ViewStub
Activity
When the activity resumes
23. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Android SDK
HttpURLConnection
onResume();
auth scope
24. is run when running Android on the pc
Android SDK
getInputStream()
SearchView
Emulator
25. This includes tools to help you identify problems in your layout performance.
Android SDK
Stack - back stack
onCreate() - onDestroy()
SurfaceHolder.Callback
26. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
AsyncTask
adb
PackageManager
View
27. This is the main class through which your application can access location services on Android.
onSearchRequested()
Google
LocationManager
SearchView
28. Direct component call in Android
Back stack
AttributeSet
Objects Activity lifecycle
Explicit intent
29. This action is used in sending text content from one activity to another.
Advanced Training
ACTION_SEND
Intents
Android SDK
30. It is a string that defines the specific type of access your app is asking for.
auth scope
Services
Dalvik Debug Monitor Server
BroadcastReceiver
31. This can be used to draw previews of what the camera sensor is picking up.
security sandbox
SurfaceView
inflate()
<declare-styleable>
32. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
drawBitmap()
HTTP
single-pane
33. Callback method: The activity is no longer visible
virtual table
drawBitmap()
onStop();
Serialize
34. It made implementing an effective and user friendly share action in your ActionBar even easier.
GestureDetector
ActionProvider
getInputStream()
SearchView
35. Conversion of an object to XML
Intents
BackupHelper
Stack - back stack
Serialize
36. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
HTTP
onResume();
SearchView
visible
37. This class is the basis for handling flywheel-style fling gestures.
Scroller
Service Content Provider
Intents
InputStream
38. It inform the system what intents an application component is willing to accept.
dual-
Services
Intent filters
Scroller
39. Android provides this handy method to direct volume key presses to the audio stream the user specify.
getInputStream()
Google Cloud Messaging for Android (GCM)
adb
setVolumeControlStream()
40. These helpers are specialized classes for backing up certain kinds of data.
Hierarchy Viewer
ActionProvider
searchable configuration
BackupHelper
41. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
drawBitmap()
OAuth2
OnCurrentItemChanged
Fragments
42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Hierarchy Viewer
getInputStream()
virtual table
SQLite
43. This object contains an account name - which for Google accounts is an email address.
Account
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google
Application resources
44. On a rooted device - the credentials would be readable by anyone with this access to the device.
Ducking
adb
searchable configuration
Fragments
45. Android is __________.
Advanced Training
Linux based
onCreate() - onDestroy()
Standby
46. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ShareActionProvider
onAudioFocusChange()
Destroyed - previous
android.hardware.touchscreen
47. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
<declare-styleable>
AsyncTask
SearchView
Lifecycle callback methods
48. Android system uses a special virtual machine to run java based applicatons
drawText()
Scroller
Dalvik Virtual Machine
onCreate() - onDestroy()
49. This class provides one of the simplest ways to fire off a new task from the UI thread.
Android SDK
adb
AsyncTask
onPause();
50. Callback method: The activity is no longer visible.
Stack
onDraw()
Dalvik Debug Monitor Server
onStop();