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. Callback method: The activity is no longer visible.
onPause();
authenticator class
LTE
onStop();
2. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BackupHelper
LocationManager
BatteryManager
Google Cloud Messaging (GCM)
3. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
single-pane
NetworkInfo
onMeasure()
searchable configuration
4. This action is used in sending text content from one activity to another.
LTE
Stack
SQLiteOpenHelper
ACTION_SEND
5. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Standby
drawText()
inflate()
Objects Activity lifecycle
6. This is used to register and de-register your media button event receiver.
Stack - back stack
When the activity resumes
AudioManager
Wi-Fi radio
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Emulator
Android SDK
BroadcastReceiver
8. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
AsyncTask
onCreate() - onDestroy()
Service Content Provider
Intents
9. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Parser
HttpURLConnection
Activity
Activity
10. Callback method: The activity is no longer visible
onStop();
SearchView
onCreate() - onDestroy()
AsyncTask
11. Shows the actual amount of memory the application uses
dual-
Application footprint
Application resources
<declare-styleable>
12. An open source group led by Google
Ducking
Open Handset Alliance
onCreate() - onDestroy()
auth scope
13. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
onAudioFocusChange()
onCreate() - onDestroy()
BroadcastReceiver
14. 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.
onStop();
OAuth2
searchable configuration
Entire
15. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
LocationManager
isConnected()
LocationManager
ViewStub
16. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onAudioFocusChange()
drawBitmap()
Dalvik Virtual Machine
LTE
17. Android is __________.
ValueAnimator
EXTRA_STREAM
android.hardware.touchscreen
Linux based
18. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
HttpURLConnection
Destroyed - previous
Geocoder
19. This is used for the need of finer control over your view's layout parameters.
Activity
Full power
OnCurrentItemChanged
onMeasure()
20. 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
ShareActionProvider
Serialize
LocationManager
21. Callback method: Another activity is taking focus
BatteryManager
Lifecycle callback methods
SecurityException
onPause();
22. 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?
Full power
AttributeSet
BroadcastReceiver
Dalvik Debug Monitor Server
23. This is the main class through which your application can access location services on Android.
LocationManager
authenticator class
OAuth2
Lifecycle callback methods
24. Theseare a key part of Android applications that directly affect the user experience.
Activity
SecurityException
LTE
Layouts
25. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Lifecycle callback methods
Standby
Layouts
26. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
ETC1
ACTION_DOCK_EVENT
OAuth2 protocol
27. is run when running Android on the pc
Component - screen
Scroller
Services
Emulator
28. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Fragments
Dalvik Virtual Machine
android.hardware.touchscreen
AccountAuthenticatorActivity
29. Android provides this handy method to direct volume key presses to the audio stream the user specify.
OAuth2 protocol
android.hardware.touchscreen
Linux based
setVolumeControlStream()
30. This is used to convert raw touch events into gestures.
AbstractAccountAuthenticator
GestureDetector
Open Handset Alliance
Android SDK
31. A styleable entity that contains these two custom attributes: showText and labelPosition.
Objects Activity lifecycle
Intents
onStop();
PieChart
32. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Scroller
SurfaceHolder.Callback
AccountAuthenticatorActivity
SQLite
33. A service in which programmers can offer their Android application to Android users.
SQLite
Google Play
SecurityException
When the activity resumes
34. Callback method: The activity is being created.
onCreate();
EXTRA_STREAM
auth scope
BroadcastReceiver
35. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Extensible Markup Language (XML)
setContentView
ViewStub
36. 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.
Implicit intent
OAuth2
SettingsActivity
ETC1
37. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Android SDK
AccountAuthenticatorActivity
ConnectivityManager
SearchView
38. It inform the system what intents an application component is willing to accept.
LTE
Intent filters
AudioManager
Intents
39. To define custom attributes - add this resources to your project.
<declare-styleable>
Android SDK
Dalvik Debug Monitor Server
Paint
40. Android system uses a special virtual machine to run java based applicatons
touch
Scroller
authenticator class
Dalvik Virtual Machine
41. Use this to draw bitmaps.
ViewStub
Intents
drawBitmap()
Account
42. Use this to draw text.
AndroidManifest.xml
onResume();
Services
drawText()
43. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Implicit intent
OAuth2 protocol
onCreate();
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
InputStream
Full power
visible
onDestroy();
45. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Service Content Provider
BroadcastReceiver
onDraw()
SurfaceView
46. The visible lifetime of an activity happens between the call to ____ and the call to ______
Destroyed - previous
GET_ACCOUNTS
onStart() - onStop()
Android SDK
47. Amode where the action bar is set up with tabs for navigation.
dual-
inflate()
BackupHelper
Parser
48. An intermediate state that uses around 50% of the battery power at the full state.
AsyncTask
Application resources
Google Cloud Messaging (GCM)
Low power
49. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
setContentView
Dalvik Virtual Machine
single-pane
isConnected()
50. 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?
adb
setContentView
onSearchRequested()
EXTRA_STREAM