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 is used to register and de-register your media button event receiver.
ACTION_SEND
Android SDK
InputStream
AudioManager
2. Sharing of data in Android is done via________
Service Content Provider
Android SDK
AsyncTask
Scroller
3. This includes tools to help you identify problems in your layout performance.
Android SDK
Full power
onCreate() - onDestroy()
AccountAuthenticatorActivity
4. It doesn't currently support the <merge/> tag in the layouts to be inflated.
View
ViewStub
resolveSizeAndState()
ConnectivityManager
5. Whenever the device is docked or undocked - this action is broadcast.
Widgets
NetworkInfo
HTTP
ACTION_DOCK_EVENT
6. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
When the activity resumes
Ducking
ETC1
inflate()
7. A service in which programmers can offer their Android application to Android users.
Explicit intent
Google Play
SurfaceView
searchable configuration
8. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
SurfaceView
Implicit intent
NetworkInfo
Dalvik Debug Monitor Server
9. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Intents
XmlPullParser
setVolumeControlStream()
drawText()
10. 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.
Implicit intent
SurfaceView
Layouts
OAuth2
11. It is used to load images in a background thread - then apply them to the UI once finished.
Low power
AsyncTask
BroadcastReceiver
Scroller
12. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
android.hardware.touchscreen
Entire
LocationManager
getInputStream()
13. It is available starting with API Level 14 and higher.
ShareActionProvider
Account Manager
onResume();
Deserialize
14. Android request its permission using its ________
onCreate();
AndroidManifest.xml
Lifecycle callback methods
View
15. To create an activity - you must create a subclass of
Activity
ACTION_SEND
ACTION_DOCK_EVENT
ConnectivityManager
16. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Stack - back stack
Back stack
AbstractAccountAuthenticator
17. It is called to invoke the search dialog on older devices.
Extensible Markup Language (XML)
isConnected()
onSearchRequested()
SurfaceView
18. The visible lifetime of an activity happens between the call to ____ and the call to ______
Wi-Fi radio
InputStream
onStart() - onStop()
adb
19. Callback method: The activity is about to be destroyed.
AttributeSet
onDestroy();
BroadcastReceiver
inflate()
20. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
SearchView
AttributeSet
auth scope
virtual table
21. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
AsyncTask
LocationManager
onMeasure()
22. For example - a ____ might be a button that initiates an action when the user touches it.
Google Cloud Messaging for Android (GCM)
Advanced Training
auth scope
View
23. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Dots per inch
Google Cloud Messaging for Android (GCM)
inflate()
dual-
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.
resolveSizeAndState()
<declare-styleable>
Activity
ETC1
25. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Application footprint
Activity
onDraw()
onCreate() - onDestroy()
26. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Application resources
AccountAuthenticatorActivity
Android SDK
Advanced Training
27. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
NetworkInfo
OAuth2
isConnected()
auth scope
28. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
LocationManager
Widgets
Implicit intent
29. An open source stand alone database
SQLite
OAuth2
android.hardware.touchscreen
BatteryManager
30. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
authenticator class
BroadcastReceiver
resolveSizeAndState()
Back stack
31. Callback method: The activity is being created.
SettingsActivity
onCreate();
Dalvik Debug Monitor Server
SearchView
32. Most network-connected Android apps use this to send and receive data.
onStop();
HTTP
Scroller
Services
33. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
ACTION_SEND
Widgets
Stack
34. Amode where the action bar is set up with tabs for navigation.
XmlPullParser
dual-
security sandbox
LocationManager
35. 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
Dots per inch
onCreate() - onDestroy()
Destroyed - previous
View
36. Evaluation of registered components
dual-
SearchView
Implicit intent
onDestroy();
37. An intermediate state that uses around 50% of the battery power at the full state.
Paint
Low power
dual-
View
38. This is the main class through which your application can access location services on Android.
onCreate() - onDestroy()
LocationManager
Activity
Android SDK
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
Stack
Geocoder
BatteryManager
AsyncTask
40. Represents the visual representation of an Android application
Application footprint
Intent filters
GET_ACCOUNTS
Activity
41. A mode where navigation is set up with a spinner widget.
Stack
Advanced Training
single-pane
ConnectivityManager
42. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
onCreate() - onDestroy()
Lifecycle callback methods
onDestroy();
43. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
setContentView
AccountAuthenticatorActivity
Deserialize
setVolumeControlStream()
44. The helper method is used to create the final width and height values.
Layouts
ShareActionProvider
Hierarchy Viewer
resolveSizeAndState()
45. Are used in activities to create the user interface and to interact with the user.
Fragments
PieChart
onCreate();
Layouts
46. Android is __________.
Component - screen
Linux based
onCreate() - onDestroy()
PieChart
47. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
OAuth2 protocol
SearchView
BatteryManager
authenticator class
48. 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 _____
onCreate() - onDestroy()
SecurityException
OAuth2 protocol
Geocoder
49. Relative to pixels and resolution screen
Dots per inch
XmlPullParser
View
OAuth2
50. This is a readable source of bytes.
Google Cloud Messaging (GCM)
onStop();
InputStream
Dalvik Virtual Machine