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. It is called to invoke the search dialog on older devices.
Ducking
onSearchRequested()
<declare-styleable>
BroadcastReceiver
2. In order to get a list of accounts on the device - your app needs this permission.
Full power
EXTRA_STREAM
GET_ACCOUNTS
SecurityException
3. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Activity
Canvas
View
SurfaceHolder.Callback
4. Android request its permission using its ________
Fragments
AndroidManifest.xml
Activity
Low power
5. This is used to convert raw touch events into gestures.
resolveSizeAndState()
Advanced Training
onCreate();
GestureDetector
6. Direct component call in Android
ViewStub
SQLiteOpenHelper
Explicit intent
LocationManager
7. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Component - screen
Account
onMeasure()
8. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
ShareActionProvider
Layouts
Emulator
9. 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
ETC1
Component - screen
PieChart
onMeasure()
10. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onPause();
AccountAuthenticatorActivity
PackageManager
11. 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.
SearchView
HTTP
ACTION_DOCK_EVENT
HttpURLConnection
12. Callback method: The activity is being created.
Intents
OnCurrentItemChanged
onCreate();
Activity
13. 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?
AsyncTask
EXTRA_STREAM
SurfaceView
setContentView
14. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
isConnected()
SQLiteOpenHelper
inflate()
Ducking
15. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
PackageManager
Google Cloud Messaging for Android (GCM)
Geocoder
Hierarchy Viewer
16. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
inflate()
onCreate() - onDestroy()
ACTION_DOCK_EVENT
17. Whenever the device is docked or undocked - this action is broadcast.
GET_ACCOUNTS
Wi-Fi radio
ACTION_DOCK_EVENT
onDestroy();
18. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
auth scope
AbstractAccountAuthenticator
Activity
onResume();
19. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Scroller
HttpURLConnection
Dalvik Debug Monitor Server
ConnectivityManager
20. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Dalvik Virtual Machine
Extensible Markup Language (XML)
drawText()
onCreate() - onDestroy()
21. Represents the visual representation of an Android application
setVolumeControlStream()
BroadcastReceiver
authenticator class
Activity
22. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
security sandbox
ViewStub
onSearchRequested()
touch
23. This is used to fetch the account names that the user has stored on their device.
Deserialize
Ducking
Account Manager
BackupHelper
24. 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 ___ .
Activity
Google Cloud Messaging (GCM)
Intents
Stack
25. The visible lifetime of an activity happens between the call to ____ and the call to ______
Hierarchy Viewer
HTTP
onStart() - onStop()
onDestroy();
26. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
<declare-styleable>
OAuth2
OnCurrentItemChanged
27. Use this to draw text.
Google Cloud Messaging (GCM)
SearchView
drawText()
onResume();
28. This class provides one of the simplest ways to fire off a new task from the UI thread.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
PieChart
AsyncTask
isConnected()
29. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
<declare-styleable>
When the activity resumes
XmlPullParser
android.hardware.touchscreen
30. Relative to pixels and resolution screen
Dots per inch
BatteryManager
Low power
Extensible Markup Language (XML)
31. Conversion of XML back to an object
Deserialize
Extensible Markup Language (XML)
SQLiteOpenHelper
OnCurrentItemChanged
32. It made implementing an effective and user friendly share action in your ActionBar even easier.
Extensible Markup Language (XML)
visible
ActionProvider
Low power
33. Android is __________.
visible
HttpURLConnection
Open Handset Alliance
Linux based
34. This can be used to draw previews of what the camera sensor is picking up.
Low power
Serialize
Hierarchy Viewer
SurfaceView
35. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
onDraw()
AttributeSet
touch
36. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
onResume();
Activity
ACTION_SEND
37. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
OnCurrentItemChanged
AsyncTask
searchable configuration
isConnected()
38. This includes tools to help you identify problems in your layout performance.
Google Cloud Messaging for Android (GCM)
Android SDK
Dalvik Debug Monitor Server
ConnectivityManager
39. This action is used in sending text content from one activity to another.
getInputStream()
Account
Parser
ACTION_SEND
40. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
ViewStub
SettingsActivity
ActionProvider
41. To create an activity - you must create a subclass of
onCreate() - onDestroy()
SecurityException
Activity
Standby
42. These helpers are specialized classes for backing up certain kinds of data.
Lifecycle callback methods
onCreate() - onDestroy()
Canvas
BackupHelper
43. An intermediate state that uses around 50% of the battery power at the full state.
Low power
InputStream
AbstractAccountAuthenticator
Google Cloud Messaging (GCM)
44. A service in which programmers can offer their Android application to Android users.
Layouts
security sandbox
Google Play
AsyncTask
45. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
AsyncTask
onAudioFocusChange()
HTTP
Android SDK
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Layouts
Intents
GestureDetector
47. 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
onPause();
View
PackageManager
BroadcastReceiver
48. It is a subclass of PreferenceActivity.
SQLite
AsyncTask
setContentView
SettingsActivity
49. 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.
Dots per inch
Stack
adb
Paint
50. To define custom attributes - add this resources to your project.
Explicit intent
<declare-styleable>
Emulator
inflate()