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. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Widgets
When the activity resumes
authenticator class
PackageManager
2. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
OAuth2 protocol
adb
NetworkInfo
3. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
Component - screen
Objects Activity lifecycle
LocationManager
EXTRA_STREAM
4. Most network-connected Android apps use this to send and receive data.
dual-
Activity
HTTP
Google Cloud Messaging (GCM)
5. If permissions are missing - the application will get this at runtime.
BroadcastReceiver
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onStop();
SecurityException
6. The entire lifetime of an activity happens between the call to _____ and the call to _____
Explicit intent
onCreate() - onDestroy()
AsyncTask
Google Cloud Messaging for Android (GCM)
7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
Stack - back stack
onSearchRequested()
BatteryManager
8. The helper method is used to create the final width and height values.
BroadcastReceiver
Widgets
onSearchRequested()
resolveSizeAndState()
9. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
HttpURLConnection
Parser
PackageManager
10. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BatteryManager
isConnected()
onCreate();
Hierarchy Viewer
11. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
android.hardware.touchscreen
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
12. This action is used in sending text content from one activity to another.
Geocoder
OAuth2 protocol
SearchView
ACTION_SEND
13. This is an interface which is used to pass image data from the camera hardware to the application.
Layouts
SurfaceHolder.Callback
getInputStream()
Paint
14. Conversion of XML back to an object
onDraw()
Deserialize
Google
Google Play
15. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Serialize
View
PieChart
visible
16. Callback method: The activity is being created.
onCreate();
Extensible Markup Language (XML)
Services
security sandbox
17. This class exposes a number of methods for applications to receive location updates.
Activity
LocationManager
BroadcastReceiver
onResume();
18. This object contains an account name - which for Google accounts is an email address.
GestureDetector
resolveSizeAndState()
Account
Google Play
19. You can set the layout as the UI for your activity with passing the resource ID for the layout.
SQLite
single-pane
Dalvik Virtual Machine
setContentView
20. Whenever the device is docked or undocked - this action is broadcast.
resolveSizeAndState()
ACTION_DOCK_EVENT
AsyncTask
ViewStub
21. This is the simplest way to monitor device state changes.
ConnectivityManager
ConnectivityManager
BroadcastReceiver
Dots per inch
22. Relative to pixels and resolution screen
XmlPullParser
Paint
Dots per inch
ACTION_DOCK_EVENT
23. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
OnCurrentItemChanged
Dalvik Virtual Machine
visible
24. 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
auth scope
OAuth2 protocol
Android SDK
Component - screen
25. Once installed on a device - each Android application lives in its own ______
security sandbox
GET_ACCOUNTS
Layouts
EXTRA_STREAM
26. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Entire
AsyncTask
BatteryManager
onStop();
27. Callback method: The activity has become visible.
onMeasure()
BatteryManager
BroadcastReceiver
onResume();
28. 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 ___ .
visible
Destroyed - previous
Full power
Stack
29. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Wi-Fi radio
onDraw()
NetworkInfo
android.hardware.touchscreen
30. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
touch
ACTION_DOCK_EVENT
Lifecycle callback methods
LTE
31. This is the main class through which your application can access location services on Android.
LocationManager
onMeasure()
Implicit intent
onCreate() - onDestroy()
32. It is called to invoke the search dialog on older devices.
OAuth2
onSearchRequested()
SurfaceView
OAuth2 protocol
33. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Deserialize
onDestroy();
touch
android.hardware.touchscreen
34. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
resolveSizeAndState()
AsyncTask
Geocoder
ETC1
35. ______ are views derived from ViewGroup that provide a unique layout model for its child views
security sandbox
touch
Layouts
NetworkInfo
36. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onCreate() - onDestroy()
OnCurrentItemChanged
HttpURLConnection
virtual table
37. Theseare a key part of Android applications that directly affect the user experience.
visible
Layouts
InputStream
When the activity resumes
38. Shows the actual amount of memory the application uses
Application footprint
Activity
Stack
Dalvik Debug Monitor Server
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Intent filters
Objects Activity lifecycle
GestureDetector
Activity
40. It provides a simple way to perform your work outside the main thread.
SurfaceHolder.Callback
onCreate() - onDestroy()
AsyncTask
onDestroy();
41. 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
OnCurrentItemChanged
touch
ACTION_DOCK_EVENT
Destroyed - previous
42. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Emulator
resolveSizeAndState()
Deserialize
Dalvik Debug Monitor Server
43. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
LTE
Android SDK
virtual table
SettingsActivity
44. The visible lifetime of an activity happens between the call to ____ and the call to ______
Destroyed - previous
onStart() - onStop()
OAuth2 protocol
onPause();
45. This is set up to animate for the duration of the fling.
auth scope
ValueAnimator
Destroyed - previous
single-pane
46. This is used to register and de-register your media button event receiver.
Activity
AudioManager
Intents
onDraw()
47. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
View
onAudioFocusChange()
Application footprint
setContentView
48. This includes tools to help you identify problems in your layout performance.
Objects Activity lifecycle
Dots per inch
Android SDK
PackageManager
49. A mode where navigation is set up with a spinner widget.
onStop();
GET_ACCOUNTS
single-pane
AccountAuthenticatorActivity
50. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Stack
Parser
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY