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. This is the most common input event in the Android system.
ValueAnimator
BackupHelper
touch
Stack - back stack
2. This is used for the need of finer control over your view's layout parameters.
onCreate() - onDestroy()
adb
onDraw()
onMeasure()
3. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
onPause();
XmlPullParser
Open Handset Alliance
4. Use this to draw text.
ACTION_DOCK_EVENT
Intents
PackageManager
drawText()
5. Callback method: The activity is about to be destroyed.
SurfaceHolder.Callback
onDestroy();
Dalvik Virtual Machine
single-pane
6. Most network-connected Android apps use this to send and receive data.
SurfaceHolder.Callback
HTTP
AbstractAccountAuthenticator
Stack - back stack
7. Allow to combine loosely coupled components to perform certain tasks
drawBitmap()
OAuth2
Intents
onMeasure()
8. This class exposes a number of methods for applications to receive location updates.
Entire
LocationManager
Advanced Training
View
9. This is the main class through which your application can access location services on Android.
drawBitmap()
LocationManager
onStop();
onSearchRequested()
10. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
resolveSizeAndState()
Account
Lifecycle callback methods
11. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
BatteryManager
Destroyed - previous
AbstractAccountAuthenticator
12. Callback method: The activity has become visible.
GET_ACCOUNTS
<declare-styleable>
Back stack
onResume();
13. An open source stand alone database
ACTION_DOCK_EVENT
SQLite
Application resources
HTTP
14. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Extensible Markup Language (XML)
onSearchRequested()
AbstractAccountAuthenticator
Entire
15. You can set the layout as the UI for your activity with passing the resource ID for the layout.
searchable configuration
onStop();
SearchView
setContentView
16. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Services
Advanced Training
AsyncTask
17. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
PackageManager
NetworkInfo
Android SDK
Geocoder
18. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
PackageManager
Ducking
Google Cloud Messaging (GCM)
19. Perform background tasks without providing a user interface
Services
AsyncTask
ACTION_SEND
<declare-styleable>
20. An intermediate state that uses around 50% of the battery power at the full state.
inflate()
Low power
Scroller
BackupHelper
21. 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?
ACTION_DOCK_EVENT
Deserialize
Scroller
AttributeSet
22. The minimal energy state during which no network connection is active or required.
Dots per inch
Open Handset Alliance
Standby
ViewStub
23. The entire lifetime of an activity happens between the call to _____ and the call to _____
Android SDK
XmlPullParser
Implicit intent
onCreate() - onDestroy()
24. This is used to convert raw touch events into gestures.
GestureDetector
Application resources
AbstractAccountAuthenticator
searchable configuration
25. Where Android is currently primarily developed
onMeasure()
HTTP
Serialize
Google
26. This is a readable source of bytes.
Scroller
onMeasure()
Layouts
InputStream
27. To create an activity - you must create a subclass of
Entire
adb
Activity
Google Play
28. Relative to pixels and resolution screen
Fragments
Dots per inch
ACTION_SEND
onSearchRequested()
29. Conversion of XML back to an object
EXTRA_STREAM
SQLiteOpenHelper
Deserialize
onStop();
30. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Extensible Markup Language (XML)
Stack
BatteryManager
AsyncTask
31. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
GestureDetector
Fragments
authenticator class
XmlPullParser
32. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
OnCurrentItemChanged
getInputStream()
adb
inflate()
33. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Open Handset Alliance
Google Cloud Messaging for Android (GCM)
onCreate();
Activity
34. Callback method: The activity is no longer visible
Canvas
SettingsActivity
onResume();
onStop();
35. 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.
BroadcastReceiver
Activity
setVolumeControlStream()
Low power
36. It is available starting with API Level 14 and higher.
onSearchRequested()
ShareActionProvider
Implicit intent
SearchView
37. This is used to register and de-register your media button event receiver.
onDraw()
AudioManager
ConnectivityManager
dual-
38. It provides a simple way to perform your work outside the main thread.
Low power
OAuth2
AsyncTask
Services
39. 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
onStart() - onStop()
Component - screen
LocationManager
single-pane
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Google Play
BroadcastReceiver
Application footprint
41. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Intents
Layouts
android.hardware.touchscreen
Account
42. Use this to draw bitmaps.
OnCurrentItemChanged
drawBitmap()
SearchView
onCreate() - onDestroy()
43. This class provides one of the simplest ways to fire off a new task from the UI thread.
Services
BatteryManager
AsyncTask
AccountAuthenticatorActivity
44. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
onCreate() - onDestroy()
ETC1
SurfaceHolder.Callback
45. The industry standard way to deal with authentication to third-party services.
ETC1
OAuth2 protocol
ConnectivityManager
onCreate() - onDestroy()
46. is run when running Android on the pc
ACTION_DOCK_EVENT
<declare-styleable>
Emulator
AbstractAccountAuthenticator
47. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
PackageManager
BackupHelper
searchable configuration
48. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Hierarchy Viewer
virtual table
Full power
49. Direct component call in Android
Implicit intent
Google Cloud Messaging (GCM)
AsyncTask
Explicit intent
50. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
BroadcastReceiver
AsyncTask
Stack
Dalvik Debug Monitor Server