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 handles cases like flaky mobile networks - airplane mode - and restricted background data.
BatteryManager
isConnected()
AbstractAccountAuthenticator
AsyncTask
2. It is a subclass of PreferenceActivity.
Extensible Markup Language (XML)
SettingsActivity
security sandbox
BackupHelper
3. 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
SettingsActivity
single-pane
Destroyed - previous
SearchView
4. This is the simplest way to monitor device state changes.
BroadcastReceiver
Low power
authenticator class
AbstractAccountAuthenticator
5. Shows the actual amount of memory the application uses
Component - screen
security sandbox
Application footprint
auth scope
6. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onStop();
onCreate() - onDestroy()
PieChart
authenticator class
7. The minimal energy state during which no network connection is active or required.
Objects Activity lifecycle
Standby
drawBitmap()
Component - screen
8. 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.
OnCurrentItemChanged
onDraw()
Paint
Full power
9. Converts XML Document to XML DOM
virtual table
Scroller
ConnectivityManager
Parser
10. 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 _____
BatteryManager
Google Cloud Messaging (GCM)
onCreate() - onDestroy()
Linux based
11. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
AsyncTask
Entire
LocationManager
12. Direct component call in Android
Dots per inch
resolveSizeAndState()
dual-
Explicit intent
13. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
View
SettingsActivity
SQLite
14. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
drawText()
SecurityException
Implicit intent
Entire
15. Necessary tools to develop Android applications
View
Android SDK
AttributeSet
searchable configuration
16. This broadcasts an action whenever the device is connected or disconnected from power.
View
BatteryManager
ACTION_DOCK_EVENT
SurfaceView
17. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
android.hardware.touchscreen
Hierarchy Viewer
Linux based
SearchView
18. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
inflate()
Ducking
OAuth2 protocol
19. On a rooted device - the credentials would be readable by anyone with this access to the device.
AccountAuthenticatorActivity
ActionProvider
adb
getInputStream()
20. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
LocationManager
Entire
Intent filters
Widgets
21. 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
onStop();
AsyncTask
BatteryManager
PackageManager
22. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
XmlPullParser
virtual table
Google Cloud Messaging for Android (GCM)
Advanced Training
23. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
OAuth2
AccountAuthenticatorActivity
Stack - back stack
onAudioFocusChange()
24. When a new activity starts - it is pushed onto the ____ and takes user focus.
NetworkInfo
Back stack
InputStream
onCreate();
25. It is used to load images in a background thread - then apply them to the UI once finished.
Paint
Service Content Provider
Android SDK
AsyncTask
26. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
View
onCreate() - onDestroy()
Widgets
27. It is a string that defines the specific type of access your app is asking for.
Standby
Paint
GET_ACCOUNTS
auth scope
28. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
SurfaceView
AccountAuthenticatorActivity
Application resources
ActionProvider
29. This action is used in sending text content from one activity to another.
Dalvik Virtual Machine
SecurityException
ACTION_SEND
Google
30. Callback method: The activity is about to be destroyed.
Objects Activity lifecycle
onDestroy();
Stack
Extensible Markup Language (XML)
31. 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.
drawBitmap()
ETC1
Destroyed - previous
Google
32. Where Android is currently primarily developed
SQLite
virtual table
Google
SearchView
33. It is an efficient and maintainable way to parse XML on Android.
ConnectivityManager
OAuth2 protocol
XmlPullParser
AsyncTask
34. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Stack - back stack
Activity
Google Cloud Messaging (GCM)
35. Are used in activities to create the user interface and to interact with the user.
Standby
Geocoder
touch
Fragments
36. For example - a ____ might be a button that initiates an action when the user touches it.
Application footprint
View
BroadcastReceiver
PieChart
37. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
onMeasure()
Google
AsyncTask
38. It is a set of rules for encoding documents in machine-readable form.
Ducking
Extensible Markup Language (XML)
Google Play
BackupHelper
39. This widget as an item in the action bar is the preferred way to provide search in your app.
onCreate() - onDestroy()
single-pane
Services
SearchView
40. It inform the system what intents an application component is willing to accept.
AccountAuthenticatorActivity
Google Play
Intent filters
Scroller
41. It made implementing an effective and user friendly share action in your ActionBar even easier.
AsyncTask
ActionProvider
setVolumeControlStream()
Destroyed - previous
42. This is used to convert raw touch events into gestures.
Scroller
Objects Activity lifecycle
GestureDetector
resolveSizeAndState()
43. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
virtual table
visible
Intent filters
Google Cloud Messaging (GCM)
44. This is used to register and de-register your media button event receiver.
AudioManager
Advanced Training
Activity
Intent filters
45. It is available starting with API Level 14 and higher.
searchable configuration
GET_ACCOUNTS
ShareActionProvider
Hierarchy Viewer
46. Amode where the action bar is set up with tabs for navigation.
Activity
dual-
AndroidManifest.xml
Emulator
47. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
ViewStub
ShareActionProvider
onMeasure()
48. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AsyncTask
BatteryManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
49. 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
Fragments
onAudioFocusChange()
Ducking
Component - screen
50. is run when running Android on the pc
Application resources
LocationManager
Scroller
Emulator