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 is __________.
android.hardware.touchscreen
Activity
LTE
Linux based
2. Conversion of XML back to an object
Deserialize
onCreate() - onDestroy()
AbstractAccountAuthenticator
AsyncTask
3. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Intent filters
onStop();
BatteryManager
Implicit intent
4. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Implicit intent
onStart() - onStop()
onPause();
5. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Dots per inch
getInputStream()
Google Cloud Messaging for Android (GCM)
Destroyed - previous
6. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Widgets
Google Play
Dots per inch
7. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
View
inflate()
SQLite
8. These helpers are specialized classes for backing up certain kinds of data.
adb
Layouts
BroadcastReceiver
BackupHelper
9. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
XmlPullParser
Android SDK
ValueAnimator
10. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AsyncTask
authenticator class
onDraw()
Scroller
11. This is set up to animate for the duration of the fling.
visible
HTTP
ValueAnimator
OAuth2 protocol
12. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Application footprint
Explicit intent
Activity
13. A styleable entity that contains these two custom attributes: showText and labelPosition.
SurfaceView
PieChart
OAuth2
onStop();
14. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ETC1
Scroller
LTE
EXTRA_STREAM
15. An open source stand alone database
Account Manager
Stack
Deserialize
SQLite
16. This action is used in sending text content from one activity to another.
onDraw()
ACTION_SEND
drawBitmap()
AudioManager
17. Callback method: The activity is no longer visible
BackupHelper
onStop();
Android SDK
EXTRA_STREAM
18. 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.
ConnectivityManager
Activity
ViewStub
dual-
19. ______ are views derived from ViewGroup that provide a unique layout model for its child views
GestureDetector
Extensible Markup Language (XML)
AsyncTask
Layouts
20. This class exposes a number of methods for applications to receive location updates.
AccountAuthenticatorActivity
LocationManager
BroadcastReceiver
Scroller
21. An open source group led by Google
AudioManager
AsyncTask
Fragments
Open Handset Alliance
22. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
Google Play
View
Stack
23. Callback method: The activity is about to be destroyed.
Lifecycle callback methods
resolveSizeAndState()
onDestroy();
Activity
24. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
XmlPullParser
virtual table
Hierarchy Viewer
AudioManager
25. Android provides this handy method to direct volume key presses to the audio stream the user specify.
auth scope
Low power
visible
setVolumeControlStream()
26. Callback method: The activity has become visible.
Objects Activity lifecycle
onResume();
Google Cloud Messaging for Android (GCM)
onCreate();
27. The helper method is used to create the final width and height values.
SurfaceView
Application footprint
Canvas
resolveSizeAndState()
28. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Google Cloud Messaging (GCM)
BatteryManager
NetworkInfo
29. 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
security sandbox
GET_ACCOUNTS
OnCurrentItemChanged
Component - screen
30. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ActionProvider
onCreate() - onDestroy()
HttpURLConnection
BroadcastReceiver
31. The dock-state details are included as an extra in a sticky broadcast of this action.
onDraw()
onSearchRequested()
ACTION_DOCK_EVENT
OAuth2
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
touch
View
Account Manager
EXTRA_STREAM
33. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Explicit intent
Scroller
Dalvik Virtual Machine
BatteryManager
34. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onSearchRequested()
GET_ACCOUNTS
Lifecycle callback methods
getInputStream()
35. This includes tools to help you identify problems in your layout performance.
Dalvik Virtual Machine
onPause();
touch
Android SDK
36. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
virtual table
getInputStream()
Services
Android SDK
37. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Paint
onAudioFocusChange()
Dalvik Debug Monitor Server
LocationManager
38. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
<declare-styleable>
Emulator
SurfaceView
39. 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.
AsyncTask
BatteryManager
setContentView
ETC1
40. Shows the actual amount of memory the application uses
isConnected()
Hierarchy Viewer
inflate()
Application footprint
41. It is a string that defines the specific type of access your app is asking for.
Account
Application resources
OnCurrentItemChanged
auth scope
42. It is a subclass of PreferenceActivity.
SettingsActivity
Advanced Training
Activity
AndroidManifest.xml
43. 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?
View
AsyncTask
EXTRA_STREAM
Layouts
44. In order to get a list of accounts on the device - your app needs this permission.
virtual table
Extensible Markup Language (XML)
GET_ACCOUNTS
ViewStub
45. This is the simplest way to monitor device state changes.
setVolumeControlStream()
Account
Back stack
BroadcastReceiver
46. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Implicit intent
auth scope
ShareActionProvider
47. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AccountAuthenticatorActivity
Geocoder
onPause();
Dalvik Debug Monitor Server
48. Sharing of data in Android is done via________
Component - screen
visible
Service Content Provider
GET_ACCOUNTS
49. Allow to combine loosely coupled components to perform certain tasks
AttributeSet
ACTION_DOCK_EVENT
Intents
getInputStream()
50. For example - a ____ might be a button that initiates an action when the user touches it.
AudioManager
Google Cloud Messaging for Android (GCM)
<declare-styleable>
View