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 main class through which your application can access location services on Android.
authenticator class
Application footprint
LocationManager
SQLiteOpenHelper
2. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onPause();
Hierarchy Viewer
onSearchRequested()
Full power
3. 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
Fragments
OAuth2
PackageManager
SQLite
4. The visible lifetime of an activity happens between the call to ____ and the call to ______
<declare-styleable>
onStart() - onStop()
Activity
View
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
When the activity resumes
ValueAnimator
GET_ACCOUNTS
SQLiteOpenHelper
6. Callback method: Another activity is taking focus
auth scope
onStop();
onPause();
Open Handset Alliance
7. An intermediate state that uses around 50% of the battery power at the full state.
Activity
Low power
onResume();
Extensible Markup Language (XML)
8. It inform the system what intents an application component is willing to accept.
Service Content Provider
Intent filters
setVolumeControlStream()
onStop();
9. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Stack - back stack
Layouts
onCreate() - onDestroy()
dual-
10. Necessary tools to develop Android applications
isConnected()
Implicit intent
Google Cloud Messaging (GCM)
Android SDK
11. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onCreate() - onDestroy()
Extensible Markup Language (XML)
OnCurrentItemChanged
inflate()
12. It is called to invoke the search dialog on older devices.
onDestroy();
onSearchRequested()
onStart() - onStop()
XmlPullParser
13. Use this to draw bitmaps.
drawBitmap()
Google Cloud Messaging (GCM)
SearchView
Standby
14. Android is __________.
AndroidManifest.xml
AsyncTask
getInputStream()
Linux based
15. 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
Layouts
adb
AbstractAccountAuthenticator
16. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Google Play
Lifecycle callback methods
BatteryManager
Destroyed - previous
17. Theseare a key part of Android applications that directly affect the user experience.
Layouts
onStart() - onStop()
BroadcastReceiver
Lifecycle callback methods
18. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Intent filters
NetworkInfo
Implicit intent
19. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ETC1
Dalvik Debug Monitor Server
Component - screen
20. This class exposes a number of methods for applications to receive location updates.
Explicit intent
onDestroy();
LocationManager
Activity
21. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SQLiteOpenHelper
Back stack
setVolumeControlStream()
NetworkInfo
22. These helpers are specialized classes for backing up certain kinds of data.
drawBitmap()
Implicit intent
BackupHelper
ActionProvider
23. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onResume();
Wi-Fi radio
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Advanced Training
24. The minimal energy state during which no network connection is active or required.
Standby
Emulator
Low power
onCreate() - onDestroy()
25. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
onCreate() - onDestroy()
View
LocationManager
26. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
NetworkInfo
SQLite
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
setContentView
27. 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
single-pane
Services
onStop();
28. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
PackageManager
Service Content Provider
Activity
Widgets
29. 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
onStop();
Scroller
Standby
30. An open source stand alone database
Paint
ShareActionProvider
SurfaceView
SQLite
31. This is used to convert raw touch events into gestures.
SurfaceHolder.Callback
Layouts
GestureDetector
Lifecycle callback methods
32. Converts XML Document to XML DOM
drawText()
Parser
OnCurrentItemChanged
SurfaceHolder.Callback
33. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
ActionProvider
Android SDK
Ducking
onStop();
34. It is a set of rules for encoding documents in machine-readable form.
getInputStream()
SearchView
Account Manager
Extensible Markup Language (XML)
35. This is a readable source of bytes.
onCreate() - onDestroy()
Full power
Activity
InputStream
36. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
PackageManager
BatteryManager
Standby
37. This widget as an item in the action bar is the preferred way to provide search in your app.
HTTP
SearchView
AccountAuthenticatorActivity
BroadcastReceiver
38. Android request its permission using its ________
Extensible Markup Language (XML)
ViewStub
AndroidManifest.xml
Services
39. This broadcasts an action whenever the device is connected or disconnected from power.
authenticator class
NetworkInfo
BatteryManager
Layouts
40. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
InputStream
Geocoder
LocationManager
41. It made implementing an effective and user friendly share action in your ActionBar even easier.
BatteryManager
BackupHelper
<declare-styleable>
ActionProvider
42. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
When the activity resumes
HttpURLConnection
resolveSizeAndState()
Widgets
43. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Back stack
Full power
onPause();
ViewStub
44. is run when running Android on the pc
Emulator
onStop();
drawBitmap()
BroadcastReceiver
45. 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
When the activity resumes
onCreate() - onDestroy()
BackupHelper
46. 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.
Stack - back stack
Paint
OAuth2
SurfaceHolder.Callback
47. 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 _____
OAuth2 protocol
onCreate() - onDestroy()
onStop();
Google Cloud Messaging (GCM)
48. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ETC1
android.hardware.touchscreen
Canvas
touch
49. A styleable entity that contains these two custom attributes: showText and labelPosition.
Widgets
Layouts
SQLiteOpenHelper
PieChart
50. For example - a ____ might be a button that initiates an action when the user touches it.
ACTION_DOCK_EVENT
View
<declare-styleable>
ViewStub