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. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
EXTRA_STREAM
Widgets
BroadcastReceiver
2. Callback method: The activity is being created.
Parser
Activity
onStop();
onCreate();
3. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ConnectivityManager
Dalvik Debug Monitor Server
PackageManager
onAudioFocusChange()
4. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Android SDK
AttributeSet
Extensible Markup Language (XML)
Scroller
5. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
drawBitmap()
SurfaceView
ConnectivityManager
6. This is used to convert raw touch events into gestures.
setVolumeControlStream()
Full power
GestureDetector
SearchView
7. 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.
ETC1
Account Manager
Scroller
security sandbox
8. Amode where the action bar is set up with tabs for navigation.
ACTION_DOCK_EVENT
BackupHelper
ValueAnimator
dual-
9. It is a string that defines the specific type of access your app is asking for.
auth scope
Android SDK
onCreate() - onDestroy()
adb
10. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
NetworkInfo
auth scope
android.hardware.touchscreen
AccountAuthenticatorActivity
11. 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?
PackageManager
EXTRA_STREAM
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
12. Perform background tasks without providing a user interface
Services
AsyncTask
OAuth2
visible
13. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
virtual table
AccountAuthenticatorActivity
Entire
AttributeSet
14. 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
AttributeSet
PackageManager
Entire
resolveSizeAndState()
15. 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 _____
onDraw()
LocationManager
onCreate() - onDestroy()
PackageManager
16. An open source stand alone database
SQLite
AccountAuthenticatorActivity
Services
onDestroy();
17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
android.hardware.touchscreen
Lifecycle callback methods
Wi-Fi radio
onStart() - onStop()
18. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
android.hardware.touchscreen
ViewStub
Entire
NetworkInfo
19. This is the main class through which your application can access location services on Android.
Standby
LocationManager
<declare-styleable>
ShareActionProvider
20. It is used to load images in a background thread - then apply them to the UI once finished.
HttpURLConnection
GestureDetector
AsyncTask
Account Manager
21. Conversion of XML back to an object
Deserialize
onDraw()
onCreate() - onDestroy()
When the activity resumes
22. Callback method: The activity has become visible.
onResume();
ActionProvider
touch
Scroller
23. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Layouts
Account Manager
Application resources
24. 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
Layouts
Destroyed - previous
onCreate() - onDestroy()
Entire
25. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
authenticator class
onCreate() - onDestroy()
AbstractAccountAuthenticator
SecurityException
26. Callback method: The activity is about to be destroyed.
Google Cloud Messaging (GCM)
AndroidManifest.xml
onDestroy();
ACTION_DOCK_EVENT
27. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
setVolumeControlStream()
Low power
LTE
<declare-styleable>
28. This widget as an item in the action bar is the preferred way to provide search in your app.
SurfaceView
Destroyed - previous
Dalvik Debug Monitor Server
SearchView
29. Shows the actual amount of memory the application uses
AsyncTask
Application footprint
virtual table
Google Cloud Messaging for Android (GCM)
30. To define custom attributes - add this resources to your project.
<declare-styleable>
InputStream
Ducking
When the activity resumes
31. It is a subclass of PreferenceActivity.
Stack - back stack
View
BroadcastReceiver
SettingsActivity
32. This class is the basis for handling flywheel-style fling gestures.
Scroller
Dalvik Virtual Machine
Fragments
Activity
33. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ETC1
Geocoder
EXTRA_STREAM
BatteryManager
34. The entire lifetime of an activity happens between the call to _____ and the call to _____
LTE
onCreate() - onDestroy()
<declare-styleable>
Scroller
35. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Entire
onCreate() - onDestroy()
onMeasure()
36. Are used in activities to create the user interface and to interact with the user.
Paint
ValueAnimator
Fragments
Google
37. This is used to fetch the account names that the user has stored on their device.
ConnectivityManager
dual-
Account Manager
onCreate() - onDestroy()
38. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Android SDK
inflate()
Explicit intent
39. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BatteryManager
onResume();
visible
ViewStub
40. 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.
Stack
Paint
View
Lifecycle callback methods
41. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ViewStub
onCreate();
ACTION_SEND
setContentView
42. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Debug Monitor Server
Canvas
ViewStub
43. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
auth scope
Google Cloud Messaging (GCM)
SQLiteOpenHelper
Activity
44. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Intent filters
adb
OnCurrentItemChanged
Activity
45. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Intents
security sandbox
setVolumeControlStream()
46. This is the most common input event in the Android system.
onCreate() - onDestroy()
SQLiteOpenHelper
touch
Stack
47. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onDestroy();
virtual table
onMeasure()
Extensible Markup Language (XML)
48. Android request its permission using its ________
drawText()
AndroidManifest.xml
Dots per inch
visible
49. It is a set of rules for encoding documents in machine-readable form.
Dalvik Debug Monitor Server
Extensible Markup Language (XML)
AsyncTask
dual-
50. Callback method: The activity is no longer visible
onStop();
Intents
AttributeSet
PieChart