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. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
AndroidManifest.xml
BatteryManager
Scroller
HTTP
2. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Stack
When the activity resumes
isConnected()
3. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Wi-Fi radio
onMeasure()
getInputStream()
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
resolveSizeAndState()
android.hardware.touchscreen
When the activity resumes
single-pane
5. is run when running Android on the pc
onResume();
ACTION_SEND
EXTRA_STREAM
Emulator
6. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Account
getInputStream()
Layouts
onStart() - onStop()
7. Amode where the action bar is set up with tabs for navigation.
Emulator
Stack - back stack
Paint
dual-
8. A mode where navigation is set up with a spinner widget.
Google Cloud Messaging for Android (GCM)
single-pane
SurfaceHolder.Callback
GET_ACCOUNTS
9. 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
Dalvik Debug Monitor Server
Account Manager
onStart() - onStop()
10. This broadcasts an action whenever the device is connected or disconnected from power.
onSearchRequested()
BatteryManager
Lifecycle callback methods
When the activity resumes
11. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Stack - back stack
Activity
InputStream
AccountAuthenticatorActivity
12. Conversion of an object to XML
Google Play
Serialize
Extensible Markup Language (XML)
setContentView
13. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
PieChart
inflate()
ActionProvider
onDraw()
14. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
AsyncTask
Layouts
BroadcastReceiver
Geocoder
15. 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.
inflate()
android.hardware.touchscreen
AsyncTask
SearchView
16. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
NetworkInfo
Layouts
Android SDK
17. The visible lifetime of an activity happens between the call to ____ and the call to ______
Layouts
onStart() - onStop()
onResume();
Android SDK
18. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
BackupHelper
BroadcastReceiver
onSearchRequested()
19. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ACTION_DOCK_EVENT
ConnectivityManager
Android SDK
onStart() - onStop()
20. When a new activity starts - it is pushed onto the ____ and takes user focus.
resolveSizeAndState()
Back stack
Deserialize
Activity
21. This action is used in sending text content from one activity to another.
Linux based
security sandbox
ACTION_SEND
Activity
22. 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.
onStart() - onStop()
Low power
Activity
Intent filters
23. Necessary tools to develop Android applications
security sandbox
Application footprint
isConnected()
Android SDK
24. For example - a ____ might be a button that initiates an action when the user touches it.
GestureDetector
AttributeSet
View
ACTION_DOCK_EVENT
25. Theseare a key part of Android applications that directly affect the user experience.
<declare-styleable>
Activity
Layouts
BackupHelper
26. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onStart() - onStop()
Lifecycle callback methods
HttpURLConnection
ETC1
27. It provides a simple way to perform your work outside the main thread.
AsyncTask
Lifecycle callback methods
BroadcastReceiver
authenticator class
28. Most network-connected Android apps use this to send and receive data.
onAudioFocusChange()
SecurityException
SurfaceView
HTTP
29. It is called to invoke the search dialog on older devices.
Geocoder
onSearchRequested()
<declare-styleable>
Application resources
30. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Component - screen
View
AndroidManifest.xml
Advanced Training
31. 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 ___ .
SQLiteOpenHelper
Stack
Entire
resolveSizeAndState()
32. A styleable entity that contains these two custom attributes: showText and labelPosition.
Entire
PieChart
Hierarchy Viewer
Layouts
33. It made implementing an effective and user friendly share action in your ActionBar even easier.
onCreate() - onDestroy()
onStop();
ActionProvider
Low power
34. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Stack
BatteryManager
ValueAnimator
Dalvik Debug Monitor Server
35. The minimal energy state during which no network connection is active or required.
Standby
Activity
Dalvik Virtual Machine
resolveSizeAndState()
36. Android system uses a special virtual machine to run java based applicatons
LocationManager
Ducking
Dalvik Virtual Machine
Standby
37. Where Android is currently primarily developed
AsyncTask
SurfaceView
Google
onCreate() - onDestroy()
38. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
security sandbox
virtual table
Services
Geocoder
39. This object contains an account name - which for Google accounts is an email address.
Component - screen
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
dual-
Account
40. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Dalvik Virtual Machine
Advanced Training
OnCurrentItemChanged
Scroller
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
Destroyed - previous
Lifecycle callback methods
Account Manager
ACTION_SEND
42. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Deserialize
Google Cloud Messaging for Android (GCM)
View
Emulator
43. Conversion of XML back to an object
SearchView
Deserialize
Canvas
Scroller
44. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Deserialize
Full power
Google Cloud Messaging (GCM)
45. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Entire
isConnected()
Paint
SurfaceHolder.Callback
46. Use this to draw bitmaps.
LocationManager
ActionProvider
drawBitmap()
Fragments
47. This is used to register and de-register your media button event receiver.
Dots per inch
BatteryManager
AudioManager
BroadcastReceiver
48. An intermediate state that uses around 50% of the battery power at the full state.
Open Handset Alliance
Low power
onCreate() - onDestroy()
ViewStub
49. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Google Cloud Messaging (GCM)
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Android SDK
BroadcastReceiver
50. Relative to pixels and resolution screen
Account Manager
Ducking
Dots per inch
Fragments