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. Android system uses a special virtual machine to run java based applicatons
ConnectivityManager
Dalvik Virtual Machine
Dots per inch
LTE
2. It inform the system what intents an application component is willing to accept.
Dalvik Virtual Machine
setVolumeControlStream()
Intent filters
authenticator class
3. This is set up to animate for the duration of the fling.
Emulator
LocationManager
ValueAnimator
onResume();
4. 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 _____
Objects Activity lifecycle
Deserialize
onResume();
onCreate() - onDestroy()
5. Callback method: The activity is no longer visible
AttributeSet
onStop();
Advanced Training
InputStream
6. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
dual-
OAuth2 protocol
single-pane
HttpURLConnection
7. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Application footprint
onCreate() - onDestroy()
resolveSizeAndState()
8. is run when running Android on the pc
AccountAuthenticatorActivity
Stack - back stack
adb
Emulator
9. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Google Cloud Messaging (GCM)
Dots per inch
onStop();
10. Perform background tasks without providing a user interface
Services
setVolumeControlStream()
onPause();
drawText()
11. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
GestureDetector
GET_ACCOUNTS
SQLiteOpenHelper
Intents
12. Callback method: The activity has become visible.
AsyncTask
ConnectivityManager
onResume();
SearchView
13. Callback method: The activity is being created.
Service Content Provider
onDestroy();
Hierarchy Viewer
onCreate();
14. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
AccountAuthenticatorActivity
onResume();
Services
getInputStream()
15. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onCreate();
AsyncTask
authenticator class
Application resources
16. 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.
AsyncTask
SearchView
AudioManager
onStop();
17. Once installed on a device - each Android application lives in its own ______
GET_ACCOUNTS
HttpURLConnection
security sandbox
Low power
18. A service in which programmers can offer their Android application to Android users.
ValueAnimator
getInputStream()
Full power
Google Play
19. Where Android is currently primarily developed
Entire
Google
Linux based
onAudioFocusChange()
20. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
touch
Dots per inch
Google
Full power
21. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Account
AsyncTask
AccountAuthenticatorActivity
authenticator class
22. Allow to combine loosely coupled components to perform certain tasks
Intents
onCreate() - onDestroy()
adb
ConnectivityManager
23. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Service Content Provider
onCreate() - onDestroy()
When the activity resumes
24. Callback method: Another activity is taking focus
inflate()
single-pane
onPause();
ACTION_DOCK_EVENT
25. Amode where the action bar is set up with tabs for navigation.
Open Handset Alliance
AudioManager
Account Manager
dual-
26. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Application resources
Dots per inch
AccountAuthenticatorActivity
27. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
isConnected()
LTE
Back stack
28. 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.
onMeasure()
LTE
Paint
onPause();
29. Direct component call in Android
Widgets
View
LocationManager
Explicit intent
30. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Widgets
HttpURLConnection
OnCurrentItemChanged
SurfaceHolder.Callback
31. When a new activity starts - it is pushed onto the ____ and takes user focus.
Explicit intent
AccountAuthenticatorActivity
Back stack
Android SDK
32. Use this to draw bitmaps.
Low power
Widgets
ViewStub
drawBitmap()
33. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
dual-
Full power
Component - screen
searchable configuration
34. This action is used in sending text content from one activity to another.
Google Cloud Messaging for Android (GCM)
SecurityException
AsyncTask
ACTION_SEND
35. An intermediate state that uses around 50% of the battery power at the full state.
Low power
BatteryManager
ETC1
ACTION_DOCK_EVENT
36. This widget as an item in the action bar is the preferred way to provide search in your app.
<declare-styleable>
Deserialize
HTTP
SearchView
37. The dock-state details are included as an extra in a sticky broadcast of this action.
inflate()
Intents
ACTION_DOCK_EVENT
OAuth2
38. The entire lifetime of an activity happens between the call to _____ and the call to _____
Account
onCreate() - onDestroy()
onDraw()
LTE
39. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Emulator
PackageManager
AccountAuthenticatorActivity
40. It is a subclass of PreferenceActivity.
drawText()
Standby
SettingsActivity
setContentView
41. An _______ is an application component that provides a screen 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.
SurfaceView
Parser
Activity
virtual table
42. Are used in activities to create the user interface and to interact with the user.
Fragments
OnCurrentItemChanged
onStart() - onStop()
onDestroy();
43. On a rooted device - the credentials would be readable by anyone with this access to the device.
onAudioFocusChange()
Emulator
HttpURLConnection
adb
44. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Widgets
touch
Emulator
45. This is used to convert raw touch events into gestures.
onStop();
GestureDetector
LocationManager
Fragments
46. It is available starting with API Level 14 and higher.
ShareActionProvider
View
onDraw()
ETC1
47. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
adb
GET_ACCOUNTS
isConnected()
virtual table
48. This can be used to draw previews of what the camera sensor is picking up.
onDraw()
android.hardware.touchscreen
SurfaceView
Destroyed - previous
49. Evaluation of registered components
Implicit intent
onCreate() - onDestroy()
Google
Android SDK
50. In order to get a list of accounts on the device - your app needs this permission.
Serialize
GET_ACCOUNTS
Lifecycle callback methods
Linux based