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. Callback method: The activity is no longer visible
BatteryManager
onStop();
virtual table
searchable configuration
2. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Google Cloud Messaging (GCM)
auth scope
Hierarchy Viewer
Services
3. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Destroyed - previous
Wi-Fi radio
OAuth2
authenticator class
4. Whenever the device is docked or undocked - this action is broadcast.
SecurityException
SQLite
ACTION_DOCK_EVENT
SurfaceHolder.Callback
5. It is available starting with API Level 14 and higher.
ACTION_DOCK_EVENT
onResume();
ShareActionProvider
drawText()
6. This object contains an account name - which for Google accounts is an email address.
Account
onAudioFocusChange()
onCreate() - onDestroy()
XmlPullParser
7. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
View
Geocoder
Intent filters
Extensible Markup Language (XML)
8. This is the main class through which your application can access location services on Android.
ACTION_DOCK_EVENT
LocationManager
GestureDetector
onAudioFocusChange()
9. ______ are views derived from ViewGroup that provide a unique layout model for its child views
BatteryManager
Layouts
Deserialize
AsyncTask
10. Conversion of XML back to an object
Deserialize
Component - screen
touch
ACTION_DOCK_EVENT
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Android SDK
Canvas
BackupHelper
onCreate() - onDestroy()
12. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Virtual Machine
ACTION_DOCK_EVENT
Advanced Training
When the activity resumes
13. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Extensible Markup Language (XML)
OnCurrentItemChanged
GestureDetector
ACTION_SEND
14. 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
Layouts
single-pane
onResume();
15. This widget as an item in the action bar is the preferred way to provide search in your app.
onStart() - onStop()
SearchView
ValueAnimator
Ducking
16. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
inflate()
Activity
android.hardware.touchscreen
AsyncTask
17. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
AttributeSet
Entire
NetworkInfo
Account
18. Most network-connected Android apps use this to send and receive data.
XmlPullParser
Emulator
HTTP
Activity
19. In most cases this will offer greater bandwidth at a significantly lower battery cost.
HTTP
visible
Wi-Fi radio
SQLiteOpenHelper
20. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Google
searchable configuration
View
visible
21. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BackupHelper
Advanced Training
onDestroy();
BroadcastReceiver
22. Android request its permission using its ________
NetworkInfo
AndroidManifest.xml
adb
ValueAnimator
23. The industry standard way to deal with authentication to third-party services.
Emulator
onCreate() - onDestroy()
OAuth2 protocol
BatteryManager
24. 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.
BatteryManager
onCreate() - onDestroy()
ETC1
ConnectivityManager
25. Amode where the action bar is set up with tabs for navigation.
dual-
GestureDetector
AbstractAccountAuthenticator
Wi-Fi radio
26. Callback method: The activity has become visible.
onResume();
BatteryManager
isConnected()
<declare-styleable>
27. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Account
View
AttributeSet
28. This class is the basis for handling flywheel-style fling gestures.
Scroller
OnCurrentItemChanged
SQLite
PieChart
29. 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
AsyncTask
android.hardware.touchscreen
PackageManager
auth scope
30. An intermediate state that uses around 50% of the battery power at the full state.
Low power
ETC1
PackageManager
AbstractAccountAuthenticator
31. In order to get a list of accounts on the device - your app needs this permission.
setVolumeControlStream()
GET_ACCOUNTS
Account
PackageManager
32. Use this to draw bitmaps.
drawBitmap()
Layouts
Serialize
Deserialize
33. Sharing of data in Android is done via________
Service Content Provider
resolveSizeAndState()
getInputStream()
Dots per inch
34. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ETC1
onCreate() - onDestroy()
Android SDK
onDraw()
35. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Android SDK
Google Cloud Messaging for Android (GCM)
Destroyed - previous
setVolumeControlStream()
36. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ACTION_SEND
View
Dalvik Debug Monitor Server
Serialize
37. Perform background tasks without providing a user interface
View
Services
Activity
Activity
38. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Services
getInputStream()
Account Manager
onMeasure()
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Paint
SurfaceView
HTTP
Objects Activity lifecycle
40. Callback method: Another activity is taking focus
SecurityException
Layouts
onPause();
SurfaceView
41. An open source group led by Google
SecurityException
Account Manager
android.hardware.touchscreen
Open Handset Alliance
42. Relative to pixels and resolution screen
ACTION_DOCK_EVENT
Dots per inch
Linux based
NetworkInfo
43. 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.
isConnected()
Back stack
NetworkInfo
Ducking
44. This is set up to animate for the duration of the fling.
Android SDK
AttributeSet
onDestroy();
ValueAnimator
45. This includes tools to help you identify problems in your layout performance.
Android SDK
touch
Stack - back stack
ACTION_DOCK_EVENT
46. 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
Destroyed - previous
Component - screen
Android SDK
onCreate();
47. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
AbstractAccountAuthenticator
onMeasure()
ViewStub
48. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
setVolumeControlStream()
Entire
auth scope
inflate()
49. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Application footprint
virtual table
Canvas
SQLiteOpenHelper
50. 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
Services
setVolumeControlStream()
PieChart
Component - screen