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 has become visible.
onPause();
ActionProvider
onResume();
Account
2. Direct component call in Android
Fragments
View
Full power
Explicit intent
3. It is used to load images in a background thread - then apply them to the UI once finished.
single-pane
When the activity resumes
ACTION_DOCK_EVENT
AsyncTask
4. The minimal energy state during which no network connection is active or required.
onCreate();
AbstractAccountAuthenticator
Standby
Serialize
5. 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.
security sandbox
Account
Ducking
onCreate();
6. Android system uses a special virtual machine to run java based applicatons
BatteryManager
onMeasure()
View
Dalvik Virtual Machine
7. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
BackupHelper
Stack - back stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
8. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AsyncTask
BackupHelper
OnCurrentItemChanged
Google Cloud Messaging for Android (GCM)
9. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SQLiteOpenHelper
AbstractAccountAuthenticator
Destroyed - previous
10. This broadcasts an action whenever the device is connected or disconnected from power.
setContentView
BatteryManager
SearchView
OnCurrentItemChanged
11. This class is the basis for handling flywheel-style fling gestures.
Scroller
Service Content Provider
onDraw()
LTE
12. 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
Android SDK
Activity
drawBitmap()
13. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
SecurityException
Google Play
HTTP
14. This is used to convert raw touch events into gestures.
BackupHelper
onCreate() - onDestroy()
GestureDetector
BroadcastReceiver
15. This includes tools to help you identify problems in your layout performance.
onPause();
Account Manager
Android SDK
GET_ACCOUNTS
16. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
SurfaceHolder.Callback
onPause();
SQLite
17. This action is used in sending text content from one activity to another.
onAudioFocusChange()
ACTION_SEND
AsyncTask
onCreate();
18. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
ValueAnimator
Objects Activity lifecycle
Application footprint
Service Content Provider
19. To create an activity - you must create a subclass of
Activity
ETC1
ShareActionProvider
onCreate() - onDestroy()
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
LTE
AudioManager
ACTION_SEND
21. Android is __________.
Destroyed - previous
Linux based
View
isConnected()
22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Android SDK
drawText()
security sandbox
authenticator class
23. Amode where the action bar is set up with tabs for navigation.
Activity
SecurityException
dual-
onSearchRequested()
24. Where Android is currently primarily developed
Fragments
getInputStream()
ViewStub
Google
25. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ACTION_SEND
ViewStub
onMeasure()
ACTION_DOCK_EVENT
26. This is the most common input event in the Android system.
onStop();
onResume();
touch
Full power
27. The industry standard way to deal with authentication to third-party services.
View
SurfaceView
adb
OAuth2 protocol
28. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack
Fragments
Activity
29. Callback method: The activity is no longer visible.
onStop();
Dots per inch
Account
SQLiteOpenHelper
30. Converts XML Document to XML DOM
single-pane
LocationManager
Parser
SearchView
31. 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
resolveSizeAndState()
Destroyed - previous
onStop();
<declare-styleable>
32. An open source stand alone database
PackageManager
HttpURLConnection
dual-
SQLite
33. It made implementing an effective and user friendly share action in your ActionBar even easier.
onSearchRequested()
ActionProvider
Canvas
ACTION_DOCK_EVENT
34. It inform the system what intents an application component is willing to accept.
Parser
Google
Intents
Intent filters
35. 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 _____
onCreate() - onDestroy()
android.hardware.touchscreen
<declare-styleable>
onStart() - onStop()
36. The helper method is used to create the final width and height values.
SQLite
Full power
resolveSizeAndState()
Dots per inch
37. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Objects Activity lifecycle
When the activity resumes
HTTP
PieChart
38. 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 ___ .
Implicit intent
ACTION_DOCK_EVENT
Stack
ACTION_SEND
39. 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.
SecurityException
LTE
Activity
drawBitmap()
40. If permissions are missing - the application will get this at runtime.
SecurityException
onDraw()
SearchView
setVolumeControlStream()
41. Evaluation of registered components
Implicit intent
Layouts
Service Content Provider
PieChart
42. is run when running Android on the pc
ViewStub
onStop();
Layouts
Emulator
43. 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
Service Content Provider
single-pane
Google Play
44. 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
PackageManager
getInputStream()
Stack - back stack
AccountAuthenticatorActivity
45. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Objects Activity lifecycle
View
Wi-Fi radio
Lifecycle callback methods
46. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
setVolumeControlStream()
Full power
setContentView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
47. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
onStop();
onCreate() - onDestroy()
isConnected()
Layouts
48. On a rooted device - the credentials would be readable by anyone with this access to the device.
AsyncTask
Geocoder
onCreate() - onDestroy()
adb
49. This is a readable source of bytes.
InputStream
SurfaceHolder.Callback
Linux based
Scroller
50. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Scroller
PackageManager
Wi-Fi radio
Layouts