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 object contains an account name - which for Google accounts is an email address.
Account
Deserialize
When the activity resumes
Explicit intent
2. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onPause();
Application resources
BroadcastReceiver
OAuth2
3. You can set the layout as the UI for your activity with passing the resource ID for the layout.
AsyncTask
BatteryManager
GestureDetector
setContentView
4. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
authenticator class
AsyncTask
OAuth2
5. 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 ___ .
Scroller
Stack
Dalvik Debug Monitor Server
Layouts
6. It inform the system what intents an application component is willing to accept.
Intent filters
Google Cloud Messaging (GCM)
onPause();
Activity
7. It is a free service for sending messages to Android devices.
Linux based
LTE
resolveSizeAndState()
Google Cloud Messaging (GCM)
8. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
inflate()
OAuth2
onStop();
9. A styleable entity that contains these two custom attributes: showText and labelPosition.
Stack - back stack
virtual table
Standby
PieChart
10. Relative to pixels and resolution screen
AudioManager
Back stack
Dots per inch
Intent filters
11. It is available starting with API Level 14 and higher.
ShareActionProvider
ACTION_DOCK_EVENT
Account Manager
SurfaceHolder.Callback
12. Sharing of data in Android is done via________
onAudioFocusChange()
View
Service Content Provider
onCreate() - onDestroy()
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Serialize
onResume();
Layouts
ConnectivityManager
14. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Account Manager
Dalvik Debug Monitor Server
Advanced Training
Intents
15. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
security sandbox
Lifecycle callback methods
isConnected()
onCreate() - onDestroy()
16. ______ are views derived from ViewGroup that provide a unique layout model for its child views
PieChart
Stack
AccountAuthenticatorActivity
Layouts
17. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onCreate();
AttributeSet
<declare-styleable>
18. Are used in activities to create the user interface and to interact with the user.
Fragments
SurfaceHolder.Callback
Layouts
Account
19. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
inflate()
When the activity resumes
onResume();
Implicit intent
20. Callback method: The activity is no longer visible
Dalvik Virtual Machine
SearchView
touch
onStop();
21. This is used to convert raw touch events into gestures.
Low power
View
Activity
GestureDetector
22. In order to get a list of accounts on the device - your app needs this permission.
Intents
GET_ACCOUNTS
Stack - back stack
Paint
23. This class is the basis for handling flywheel-style fling gestures.
resolveSizeAndState()
Implicit intent
ETC1
Scroller
24. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
auth scope
ETC1
Stack
LTE
25. This class provides one of the simplest ways to fire off a new task from the UI thread.
dual-
Serialize
ACTION_SEND
AsyncTask
26. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Component - screen
OAuth2
ViewStub
Services
27. This is the most common input event in the Android system.
touch
InputStream
Layouts
Activity
28. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
BackupHelper
HTTP
Activity
29. The entire lifetime of an activity happens between the call to _____ and the call to _____
onStop();
BroadcastReceiver
onCreate() - onDestroy()
Android SDK
30. Where Android is currently primarily developed
ETC1
SQLiteOpenHelper
Google
BatteryManager
31. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Fragments
dual-
onPause();
32. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Service Content Provider
Full power
View
33. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_DOCK_EVENT
Widgets
LTE
ACTION_DOCK_EVENT
34. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
AsyncTask
Activity
Explicit intent
35. This is set up to animate for the duration of the fling.
ValueAnimator
touch
GestureDetector
Implicit intent
36. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Serialize
Widgets
single-pane
37. This action is used in sending text content from one activity to another.
Full power
XmlPullParser
BroadcastReceiver
ACTION_SEND
38. This is the main class through which your application can access location services on Android.
authenticator class
AndroidManifest.xml
LocationManager
auth scope
39. An open source group led by Google
SQLite
Open Handset Alliance
GET_ACCOUNTS
EXTRA_STREAM
40. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Destroyed - previous
GET_ACCOUNTS
Standby
Geocoder
41. It is used to load images in a background thread - then apply them to the UI once finished.
Service Content Provider
XmlPullParser
AsyncTask
onStop();
42. 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?
Google Cloud Messaging (GCM)
Emulator
AttributeSet
AsyncTask
43. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BackupHelper
Open Handset Alliance
LocationManager
ViewStub
44. Converts XML Document to XML DOM
single-pane
Parser
SettingsActivity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
45. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AudioManager
Fragments
Advanced Training
visible
46. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Intents
Objects Activity lifecycle
onStop();
Intent filters
47. This is used to register and de-register your media button event receiver.
Implicit intent
AudioManager
SearchView
onDraw()
48. This is used to fetch the account names that the user has stored on their device.
Account Manager
single-pane
PackageManager
onStop();
49. Callback method: The activity is being created.
onCreate();
android.hardware.touchscreen
Implicit intent
View
50. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
SettingsActivity
LTE
XmlPullParser
When the activity resumes