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 provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Entire
Emulator
BatteryManager
2. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Dalvik Debug Monitor Server
When the activity resumes
BatteryManager
3. This is used for the need of finer control over your view's layout parameters.
Component - screen
SearchView
touch
onMeasure()
4. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Geocoder
SQLiteOpenHelper
BatteryManager
Paint
5. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Account Manager
ETC1
Geocoder
Scroller
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
BackupHelper
PieChart
ActionProvider
Service Content Provider
7. Amode where the action bar is set up with tabs for navigation.
Layouts
Fragments
dual-
onResume();
8. To create an activity - you must create a subclass of
onStart() - onStop()
Activity
getInputStream()
ACTION_SEND
9. 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
When the activity resumes
ConnectivityManager
Component - screen
SecurityException
10. Most network-connected Android apps use this to send and receive data.
ETC1
Scroller
Advanced Training
HTTP
11. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Objects Activity lifecycle
OnCurrentItemChanged
onResume();
onCreate() - onDestroy()
12. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
android.hardware.touchscreen
LocationManager
AbstractAccountAuthenticator
BroadcastReceiver
13. You can set the layout as the UI for your activity with passing the resource ID for the layout.
HttpURLConnection
LocationManager
setContentView
PieChart
14. The helper method is used to create the final width and height values.
Activity
adb
resolveSizeAndState()
AccountAuthenticatorActivity
15. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Low power
Objects Activity lifecycle
Google Cloud Messaging (GCM)
Full power
16. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
GET_ACCOUNTS
Back stack
Canvas
PackageManager
17. This can be used to draw previews of what the camera sensor is picking up.
onStart() - onStop()
GestureDetector
SurfaceView
SearchView
18. A mode where navigation is set up with a spinner widget.
Android SDK
Hierarchy Viewer
single-pane
isConnected()
19. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ETC1
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BatteryManager
Geocoder
20. Necessary tools to develop Android applications
Dots per inch
Android SDK
OnCurrentItemChanged
Dalvik Debug Monitor Server
21. This action is used in sending text content from one activity to another.
setVolumeControlStream()
Low power
onCreate();
ACTION_SEND
22. On a rooted device - the credentials would be readable by anyone with this access to the device.
<declare-styleable>
onAudioFocusChange()
Application resources
adb
23. 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
onPause();
touch
24. It is a string that defines the specific type of access your app is asking for.
ViewStub
auth scope
isConnected()
Account Manager
25. Conversion of an object to XML
AttributeSet
Serialize
SurfaceHolder.Callback
Intents
26. Are used in activities to create the user interface and to interact with the user.
SQLite
SettingsActivity
Account
Fragments
27. This is the simplest way to monitor device state changes.
Account
AbstractAccountAuthenticator
SQLiteOpenHelper
BroadcastReceiver
28. This object contains an account name - which for Google accounts is an email address.
Account
ACTION_SEND
Paint
SQLite
29. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onCreate() - onDestroy()
OAuth2 protocol
NetworkInfo
Layouts
30. It provides a simple way to perform your work outside the main thread.
AsyncTask
Parser
virtual table
ETC1
31. 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?
Extensible Markup Language (XML)
EXTRA_STREAM
OAuth2
Android SDK
32. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
OAuth2 protocol
PieChart
SurfaceView
33. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Activity
HttpURLConnection
ShareActionProvider
Full power
34. Evaluation of registered components
onSearchRequested()
Implicit intent
virtual table
Dalvik Virtual Machine
35. An open source stand alone database
SQLite
AsyncTask
Hierarchy Viewer
SecurityException
36. 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 _____
Open Handset Alliance
onCreate() - onDestroy()
Entire
AsyncTask
37. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
AsyncTask
Dots per inch
Stack
OAuth2
38. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Serialize
ViewStub
Parser
39. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Layouts
Widgets
Paint
visible
40. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onPause();
Parser
ACTION_SEND
41. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Dalvik Virtual Machine
dual-
Account
42. Callback method: Another activity is taking focus
View
Dalvik Debug Monitor Server
Advanced Training
onPause();
43. This is a readable source of bytes.
ConnectivityManager
InputStream
Google
View
44. This is set up to animate for the duration of the fling.
Open Handset Alliance
Dots per inch
Scroller
ValueAnimator
45. For example - a ____ might be a button that initiates an action when the user touches it.
resolveSizeAndState()
View
XmlPullParser
OAuth2
46. Relative to pixels and resolution screen
Dalvik Virtual Machine
SurfaceHolder.Callback
Implicit intent
Dots per inch
47. The visible lifetime of an activity happens between the call to ____ and the call to ______
Ducking
OAuth2 protocol
SurfaceView
onStart() - onStop()
48. It inform the system what intents an application component is willing to accept.
Open Handset Alliance
Layouts
Explicit intent
Intent filters
49. Represents the visual representation of an Android application
Objects Activity lifecycle
Activity
When the activity resumes
SearchView
50. Use this to draw text.
Objects Activity lifecycle
onResume();
drawText()
Open Handset Alliance