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 industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Serialize
SecurityException
security sandbox
2. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Deserialize
XmlPullParser
ValueAnimator
Geocoder
3. It inform the system what intents an application component is willing to accept.
<declare-styleable>
Intent filters
SearchView
onStop();
4. An Activity is an application ______ that provides a _______ 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
Component - screen
ValueAnimator
AccountAuthenticatorActivity
Advanced Training
5. To define custom attributes - add this resources to your project.
HttpURLConnection
LTE
<declare-styleable>
SearchView
6. Callback method: The activity is no longer visible
HttpURLConnection
onStop();
When the activity resumes
LTE
7. To create an activity - you must create a subclass of
Activity
AsyncTask
authenticator class
onPause();
8. Allow to combine loosely coupled components to perform certain tasks
Intents
SQLite
setVolumeControlStream()
onCreate();
9. It is a subclass of PreferenceActivity.
AsyncTask
Widgets
single-pane
SettingsActivity
10. 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
Low power
PackageManager
Hierarchy Viewer
Dots per inch
11. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Implicit intent
Account
setVolumeControlStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
12. This class exposes a number of methods for applications to receive location updates.
OAuth2
<declare-styleable>
LocationManager
Activity
13. If permissions are missing - the application will get this at runtime.
ACTION_SEND
Application footprint
AsyncTask
SecurityException
14. Direct component call in Android
AttributeSet
Account Manager
Explicit intent
dual-
15. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Component - screen
SQLiteOpenHelper
onDestroy();
Google
16. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
Linux based
Service Content Provider
Serialize
ETC1
17. 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
Destroyed - previous
dual-
AccountAuthenticatorActivity
Activity
18. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
EXTRA_STREAM
View
<declare-styleable>
GestureDetector
19. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate();
Parser
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
setVolumeControlStream()
PackageManager
onStart() - onStop()
21. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Open Handset Alliance
Google Play
isConnected()
LocationManager
22. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
Android SDK
AudioManager
onCreate() - onDestroy()
Lifecycle callback methods
23. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onStart() - onStop()
GET_ACCOUNTS
Layouts
24. This object contains an account name - which for Google accounts is an email address.
Android SDK
Back stack
Account
ACTION_DOCK_EVENT
25. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
AttributeSet
setContentView
ACTION_DOCK_EVENT
onCreate();
26. In order to get a list of accounts on the device - your app needs this permission.
ACTION_SEND
GET_ACCOUNTS
SQLiteOpenHelper
AsyncTask
27. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
setContentView
Application footprint
Stack - back stack
SearchView
28. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Layouts
BroadcastReceiver
Dalvik Debug Monitor Server
29. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
ConnectivityManager
onCreate();
adb
30. It is a free service for sending messages to Android devices.
onStop();
Google Play
Google Cloud Messaging (GCM)
LocationManager
31. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Scroller
AudioManager
LocationManager
32. Callback method: Another activity is taking focus
onPause();
onCreate() - onDestroy()
LTE
GET_ACCOUNTS
33. This class is the basis for handling flywheel-style fling gestures.
Application resources
BatteryManager
Scroller
isConnected()
34. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
Open Handset Alliance
onSearchRequested()
Account
35. A mode where navigation is set up with a spinner widget.
Account
SearchView
single-pane
HTTP
36. Are used in activities to create the user interface and to interact with the user.
Fragments
Intent filters
<declare-styleable>
onStop();
37. This is used to fetch the account names that the user has stored on their device.
Account Manager
Dots per inch
Canvas
dual-
38. This is set up to animate for the duration of the fling.
Widgets
ValueAnimator
Standby
android.hardware.touchscreen
39. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Widgets
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onStop();
40. This is a readable source of bytes.
NetworkInfo
InputStream
Application footprint
auth scope
41. Amode where the action bar is set up with tabs for navigation.
dual-
SearchView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ActionProvider
42. It doesn't currently support the <merge/> tag in the layouts to be inflated.
searchable configuration
BroadcastReceiver
ViewStub
Open Handset Alliance
43. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Services
ConnectivityManager
SQLiteOpenHelper
44. This is used to register and de-register your media button event receiver.
Google Cloud Messaging (GCM)
SearchView
EXTRA_STREAM
AudioManager
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Destroyed - previous
Android SDK
View
46. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
Component - screen
<declare-styleable>
AbstractAccountAuthenticator
SearchView
47. Theseare a key part of Android applications that directly affect the user experience.
BatteryManager
Layouts
AsyncTask
isConnected()
48. Necessary tools to develop Android applications
Application resources
Activity
Geocoder
Android SDK
49. Whenever the device is docked or undocked - this action is broadcast.
Account Manager
ACTION_DOCK_EVENT
ActionProvider
ACTION_SEND
50. A service in which programmers can offer their Android application to Android users.
AsyncTask
XmlPullParser
Google Play
Canvas