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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onCreate();
Objects Activity lifecycle
Google Play
authenticator class
2. The helper method is used to create the final width and height values.
Implicit intent
resolveSizeAndState()
SettingsActivity
Activity
3. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Full power
Widgets
Fragments
ConnectivityManager
4. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
getInputStream()
ConnectivityManager
OnCurrentItemChanged
android.hardware.touchscreen
5. A styleable entity that contains these two custom attributes: showText and labelPosition.
Dalvik Virtual Machine
Dalvik Debug Monitor Server
Open Handset Alliance
PieChart
6. This broadcasts an action whenever the device is connected or disconnected from power.
AttributeSet
onStop();
BatteryManager
inflate()
7. This is the most common input event in the Android system.
Low power
onStop();
Account
touch
8. Converts XML Document to XML DOM
Application resources
Parser
onCreate() - onDestroy()
SecurityException
9. Necessary tools to develop Android applications
Linux based
Android SDK
Full power
android.hardware.touchscreen
10. Amode where the action bar is set up with tabs for navigation.
Dalvik Virtual Machine
Intent filters
onStop();
dual-
11. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Implicit intent
XmlPullParser
When the activity resumes
BatteryManager
12. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onPause();
LocationManager
BatteryManager
authenticator class
13. Android is __________.
dual-
ACTION_DOCK_EVENT
Linux based
touch
14. 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.
SearchView
Linux based
Advanced Training
Intent filters
15. It is an efficient and maintainable way to parse XML on Android.
GET_ACCOUNTS
BackupHelper
XmlPullParser
Advanced Training
16. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Activity
Canvas
Google Cloud Messaging (GCM)
17. When a new activity starts - it is pushed onto the ____ and takes user focus.
Standby
LTE
Back stack
BackupHelper
18. This includes tools to help you identify problems in your layout performance.
SecurityException
Fragments
onStop();
Android SDK
19. The entire lifetime of an activity happens between the call to _____ and the call to _____
Canvas
onPause();
onCreate() - onDestroy()
Ducking
20. An open source stand alone database
SQLite
authenticator class
AttributeSet
ACTION_SEND
21. Conversion of an object to XML
Serialize
drawText()
Activity
Component - screen
22. This object contains an account name - which for Google accounts is an email address.
onResume();
isConnected()
Paint
Account
23. This is used to fetch the account names that the user has stored on their device.
Layouts
Account Manager
ViewStub
ACTION_DOCK_EVENT
24. It is a free service for sending messages to Android devices.
PackageManager
resolveSizeAndState()
visible
Google Cloud Messaging (GCM)
25. Conversion of XML back to an object
Deserialize
Component - screen
Intents
ViewStub
26. Once installed on a device - each Android application lives in its own ______
authenticator class
Canvas
security sandbox
Google Cloud Messaging (GCM)
27. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
AudioManager
inflate()
View
28. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
onDraw()
SQLiteOpenHelper
onSearchRequested()
onStop();
29. The visible lifetime of an activity happens between the call to ____ and the call to ______
Application resources
Android SDK
onStart() - onStop()
onCreate() - onDestroy()
30. This can be used to draw previews of what the camera sensor is picking up.
Ducking
SurfaceView
Services
SecurityException
31. Use this to draw text.
Intents
drawText()
drawBitmap()
Linux based
32. This is a readable source of bytes.
BatteryManager
Back stack
InputStream
Account Manager
33. It provides a simple way to perform your work outside the main thread.
onCreate() - onDestroy()
Android SDK
AsyncTask
Service Content Provider
34. Use this to draw bitmaps.
isConnected()
auth scope
resolveSizeAndState()
drawBitmap()
35. An intermediate state that uses around 50% of the battery power at the full state.
Scroller
Objects Activity lifecycle
Intents
Low power
36. This class exposes a number of methods for applications to receive location updates.
SurfaceView
LocationManager
drawBitmap()
security sandbox
37. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Paint
Android SDK
dual-
onDraw()
38. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
HTTP
<declare-styleable>
Android SDK
39. In order to get a list of accounts on the device - your app needs this permission.
AccountAuthenticatorActivity
ACTION_SEND
drawBitmap()
GET_ACCOUNTS
40. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Wi-Fi radio
visible
onDestroy();
onCreate() - onDestroy()
41. Where Android is currently primarily developed
Account Manager
resolveSizeAndState()
Google
single-pane
42. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
SurfaceView
Canvas
ViewStub
Android SDK
43. 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 _____
Low power
onCreate() - onDestroy()
authenticator class
Explicit intent
44. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
XmlPullParser
onCreate();
onDraw()
AttributeSet
45. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
setContentView
Android SDK
getInputStream()
drawText()
46. Android request its permission using its ________
Standby
ConnectivityManager
Ducking
AndroidManifest.xml
47. It is a subclass of PreferenceActivity.
setContentView
Deserialize
SettingsActivity
View
48. The dock-state details are included as an extra in a sticky broadcast of this action.
SQLite
getInputStream()
ACTION_DOCK_EVENT
Intent filters
49. To create an activity - you must create a subclass of
Canvas
View
onPause();
Activity
50. A service in which programmers can offer their Android application to Android users.
Entire
Full power
EXTRA_STREAM
Google Play