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 set up to animate for the duration of the fling.
AsyncTask
Low power
SurfaceHolder.Callback
ValueAnimator
2. An open source group led by Google
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Linux based
Open Handset Alliance
3. Callback method: The activity is being created.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate();
Fragments
InputStream
4. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Android SDK
BroadcastReceiver
Widgets
touch
5. Callback method: Another activity is taking focus
GestureDetector
onPause();
onCreate();
onDestroy();
6. Sharing of data in Android is done via________
Hierarchy Viewer
Service Content Provider
adb
visible
7. 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.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
HttpURLConnection
onPause();
SearchView
8. 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.
HttpURLConnection
Scroller
OAuth2
Wi-Fi radio
9. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Paint
Dalvik Debug Monitor Server
onStart() - onStop()
setVolumeControlStream()
10. This is the main class through which your application can access location services on Android.
Serialize
LocationManager
authenticator class
Full power
11. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Objects Activity lifecycle
Standby
AccountAuthenticatorActivity
Parser
12. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onPause();
Serialize
ViewStub
virtual table
13. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
onPause();
HttpURLConnection
Google Cloud Messaging for Android (GCM)
14. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
visible
onAudioFocusChange()
Dalvik Debug Monitor Server
LocationManager
15. 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
PackageManager
ShareActionProvider
onSearchRequested()
touch
16. 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 ___ .
Stack
NetworkInfo
AndroidManifest.xml
SQLite
17. This action is used in sending text content from one activity to another.
single-pane
ACTION_SEND
Fragments
Application footprint
18. Evaluation of registered components
LocationManager
Implicit intent
HTTP
onCreate() - onDestroy()
19. 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?
Parser
ValueAnimator
setContentView
EXTRA_STREAM
20. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Serialize
Services
SearchView
21. It provides a simple way to perform your work outside the main thread.
EXTRA_STREAM
Dots per inch
AsyncTask
Scroller
22. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SettingsActivity
View
visible
Extensible Markup Language (XML)
23. is run when running Android on the pc
Layouts
drawBitmap()
Emulator
Linux based
24. Use this to draw bitmaps.
drawBitmap()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SurfaceView
Fragments
25. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Google Cloud Messaging (GCM)
inflate()
ConnectivityManager
SecurityException
26. It is used to load images in a background thread - then apply them to the UI once finished.
<declare-styleable>
AsyncTask
ConnectivityManager
onDraw()
27. This is used to convert raw touch events into gestures.
SQLiteOpenHelper
SearchView
GestureDetector
Implicit intent
28. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Dalvik Debug Monitor Server
Activity
onStop();
29. Android system uses a special virtual machine to run java based applicatons
Account
single-pane
Dalvik Virtual Machine
Lifecycle callback methods
30. Amode where the action bar is set up with tabs for navigation.
dual-
drawText()
Scroller
Extensible Markup Language (XML)
31. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Geocoder
onDraw()
onStart() - onStop()
32. The helper method is used to create the final width and height values.
resolveSizeAndState()
ACTION_DOCK_EVENT
GestureDetector
LocationManager
33. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SearchView
Entire
OnCurrentItemChanged
ConnectivityManager
34. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Services
Account
ConnectivityManager
getInputStream()
35. The most common way to define a layout using views is with an XML layout file saved in your ______
View
Intents
Application resources
onCreate() - onDestroy()
36. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Activity
Application resources
PackageManager
37. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Google
HttpURLConnection
When the activity resumes
android.hardware.touchscreen
38. This widget as an item in the action bar is the preferred way to provide search in your app.
Android SDK
LocationManager
SearchView
AsyncTask
39. Android request its permission using its ________
drawBitmap()
ViewStub
AndroidManifest.xml
Google
40. Converts XML Document to XML DOM
adb
Entire
Parser
Linux based
41. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Widgets
Google
ACTION_DOCK_EVENT
onDraw()
42. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
NetworkInfo
PieChart
When the activity resumes
Canvas
43. Represents the visual representation of an Android application
InputStream
Activity
Services
Open Handset Alliance
44. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
View
isConnected()
resolveSizeAndState()
45. Perform background tasks without providing a user interface
Services
NetworkInfo
onStart() - onStop()
Extensible Markup Language (XML)
46. An open source stand alone database
NetworkInfo
ViewStub
ACTION_DOCK_EVENT
SQLite
47. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
resolveSizeAndState()
onStop();
onCreate();
48. This is used to register and de-register your media button event receiver.
AudioManager
AsyncTask
Entire
Deserialize
49. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Application footprint
Google Cloud Messaging for Android (GCM)
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AndroidManifest.xml
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
BackupHelper
PieChart
InputStream
onCreate();