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. A styleable entity that contains these two custom attributes: showText and labelPosition.
Stack - back stack
Stack
Android SDK
PieChart
2. Are used in activities to create the user interface and to interact with the user.
Dots per inch
Fragments
Wi-Fi radio
onSearchRequested()
3. The visible lifetime of an activity happens between the call to ____ and the call to ______
onSearchRequested()
dual-
onStart() - onStop()
single-pane
4. This action is used in sending text content from one activity to another.
EXTRA_STREAM
ValueAnimator
Entire
ACTION_SEND
5. It is a set of rules for encoding documents in machine-readable form.
PackageManager
Extensible Markup Language (XML)
onAudioFocusChange()
Objects Activity lifecycle
6. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onDestroy();
PieChart
Google Play
LTE
7. Converts XML Document to XML DOM
Parser
Stack
ACTION_DOCK_EVENT
onSearchRequested()
8. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
ShareActionProvider
Services
HttpURLConnection
9. 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
dual-
setVolumeControlStream()
Application footprint
10. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Paint
single-pane
OnCurrentItemChanged
11. 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
onCreate() - onDestroy()
Destroyed - previous
When the activity resumes
onPause();
12. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
InputStream
Lifecycle callback methods
Activity
BroadcastReceiver
13. Relative to pixels and resolution screen
Serialize
Dots per inch
BatteryManager
Parser
14. Most network-connected Android apps use this to send and receive data.
HTTP
Services
SettingsActivity
SQLite
15. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
ViewStub
HttpURLConnection
PackageManager
Hierarchy Viewer
16. Allow to combine loosely coupled components to perform certain tasks
Intents
ACTION_SEND
Layouts
drawBitmap()
17. It made implementing an effective and user friendly share action in your ActionBar even easier.
visible
BackupHelper
ActionProvider
authenticator class
18. Callback method: The activity has become visible.
adb
Stack
onResume();
Geocoder
19. 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.
SQLiteOpenHelper
Activity
onPause();
OAuth2
20. Amode where the action bar is set up with tabs for navigation.
LTE
Destroyed - previous
dual-
Application footprint
21. The most common way to define a layout using views is with an XML layout file saved in your ______
onCreate() - onDestroy()
Stack - back stack
Application resources
Lifecycle callback methods
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Ducking
Intent filters
onStop();
BroadcastReceiver
23. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
AsyncTask
onDraw()
Ducking
24. Where Android is currently primarily developed
onResume();
Destroyed - previous
Google
Ducking
25. An open source stand alone database
setContentView
Dots per inch
ViewStub
SQLite
26. 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
AndroidManifest.xml
Stack - back stack
onResume();
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
Objects Activity lifecycle
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
28. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SearchView
getInputStream()
Paint
drawText()
29. This is used to register and de-register your media button event receiver.
Fragments
AudioManager
setContentView
Objects Activity lifecycle
30. An intermediate state that uses around 50% of the battery power at the full state.
Low power
dual-
ShareActionProvider
setContentView
31. This can be used to draw previews of what the camera sensor is picking up.
HttpURLConnection
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
SurfaceView
32. This class is the basis for handling flywheel-style fling gestures.
<declare-styleable>
Scroller
Dalvik Virtual Machine
Hierarchy Viewer
33. The minimal energy state during which no network connection is active or required.
onCreate() - onDestroy()
HTTP
Standby
onCreate() - onDestroy()
34. A mode where navigation is set up with a spinner widget.
auth scope
visible
single-pane
Open Handset Alliance
35. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
LocationManager
SearchView
android.hardware.touchscreen
36. The helper method is used to create the final width and height values.
BatteryManager
resolveSizeAndState()
GestureDetector
getInputStream()
37. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
GestureDetector
BroadcastReceiver
getInputStream()
38. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Dalvik Debug Monitor Server
Canvas
Linux based
Full power
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
onResume();
AndroidManifest.xml
Standby
40. 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
security sandbox
View
PackageManager
Account
41. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
LTE
OAuth2
Implicit intent
42. If permissions are missing - the application will get this at runtime.
Activity
SecurityException
EXTRA_STREAM
Layouts
43. 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.
AttributeSet
Activity
Back stack
Stack
44. The dock-state details are included as an extra in a sticky broadcast of this action.
Advanced Training
BroadcastReceiver
onResume();
ACTION_DOCK_EVENT
45. A service in which programmers can offer their Android application to Android users.
onDraw()
drawText()
Dots per inch
Google Play
46. is run when running Android on the pc
Activity
onCreate() - onDestroy()
Emulator
SQLite
47. 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 _____
SurfaceView
AccountAuthenticatorActivity
Google Play
onCreate() - onDestroy()
48. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Hierarchy Viewer
SQLiteOpenHelper
ETC1
inflate()
49. Conversion of an object to XML
SQLite
Android SDK
Serialize
drawText()
50. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
<declare-styleable>
ConnectivityManager
OnCurrentItemChanged
SecurityException