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 includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
SQLite
drawBitmap()
Account Manager
2. It is a subclass of PreferenceActivity.
resolveSizeAndState()
SettingsActivity
Account Manager
Stack - back stack
3. Use this to draw bitmaps.
EXTRA_STREAM
ViewStub
AccountAuthenticatorActivity
drawBitmap()
4. It is used to load images in a background thread - then apply them to the UI once finished.
Standby
AsyncTask
Intent filters
AndroidManifest.xml
5. This is a readable source of bytes.
drawText()
Scroller
AndroidManifest.xml
InputStream
6. Theseare a key part of Android applications that directly affect the user experience.
Layouts
onCreate() - onDestroy()
Dots per inch
SurfaceHolder.Callback
7. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
onStart() - onStop()
SearchView
android.hardware.touchscreen
8. This is used to convert raw touch events into gestures.
GestureDetector
SurfaceView
virtual table
SQLiteOpenHelper
9. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
ACTION_SEND
XmlPullParser
dual-
10. The visible lifetime of an activity happens between the call to ____ and the call to ______
BroadcastReceiver
onStart() - onStop()
NetworkInfo
InputStream
11. The most common way to define a layout using views is with an XML layout file saved in your ______
Dalvik Debug Monitor Server
resolveSizeAndState()
HttpURLConnection
Application resources
12. 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
ConnectivityManager
ACTION_DOCK_EVENT
Component - screen
ACTION_SEND
13. Callback method: The activity is no longer visible
Lifecycle callback methods
AsyncTask
onStop();
OAuth2 protocol
14. Represents the visual representation of an Android application
onDestroy();
onCreate();
Activity
Linux based
15. Callback method: The activity is being created.
<declare-styleable>
OnCurrentItemChanged
onCreate();
ShareActionProvider
16. On a rooted device - the credentials would be readable by anyone with this access to the device.
onCreate() - onDestroy()
adb
SurfaceHolder.Callback
Stack - back stack
17. This is the simplest way to monitor device state changes.
Scroller
SecurityException
Standby
BroadcastReceiver
18. Converts XML Document to XML DOM
Service Content Provider
Parser
Activity
Low power
19. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
BatteryManager
Stack - back stack
Activity
Google Cloud Messaging (GCM)
20. Callback method: Another activity is taking focus
ACTION_DOCK_EVENT
onPause();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onMeasure()
21. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onCreate() - onDestroy()
virtual table
AbstractAccountAuthenticator
Fragments
22. A mode where navigation is set up with a spinner widget.
single-pane
SecurityException
Standby
HTTP
23. Callback method: The activity is no longer visible.
LTE
onStop();
BroadcastReceiver
authenticator class
24. This broadcasts an action whenever the device is connected or disconnected from power.
HttpURLConnection
Emulator
BatteryManager
Paint
25. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
onCreate() - onDestroy()
Account Manager
getInputStream()
onCreate() - onDestroy()
26. 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 ___ .
visible
Stack
Application footprint
SQLiteOpenHelper
27. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
<declare-styleable>
Full power
Dalvik Virtual Machine
NetworkInfo
28. 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
Stack
Application resources
searchable configuration
29. The dock-state details are included as an extra in a sticky broadcast of this action.
Standby
drawBitmap()
Activity
ACTION_DOCK_EVENT
30. It is a set of rules for encoding documents in machine-readable form.
BackupHelper
Widgets
Extensible Markup Language (XML)
touch
31. It is an efficient and maintainable way to parse XML on Android.
onResume();
GET_ACCOUNTS
touch
XmlPullParser
32. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Widgets
ActionProvider
Canvas
AccountAuthenticatorActivity
33. This is set up to animate for the duration of the fling.
android.hardware.touchscreen
Back stack
onCreate();
ValueAnimator
34. 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.
ETC1
drawBitmap()
onDestroy();
Open Handset Alliance
35. Allow to combine loosely coupled components to perform certain tasks
Geocoder
Service Content Provider
ActionProvider
Intents
36. ______ are views derived from ViewGroup that provide a unique layout model for its child views
setContentView
GET_ACCOUNTS
ETC1
Layouts
37. An open source stand alone database
SQLite
Serialize
Lifecycle callback methods
SurfaceView
38. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Linux based
SQLiteOpenHelper
onStop();
LTE
39. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Layouts
OnCurrentItemChanged
ViewStub
PackageManager
40. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Extensible Markup Language (XML)
Serialize
Ducking
41. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Android SDK
onCreate() - onDestroy()
AsyncTask
Linux based
42. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onMeasure()
ValueAnimator
Hierarchy Viewer
ACTION_DOCK_EVENT
43. It made implementing an effective and user friendly share action in your ActionBar even easier.
XmlPullParser
Widgets
Geocoder
ActionProvider
44. This is used to fetch the account names that the user has stored on their device.
ACTION_DOCK_EVENT
inflate()
Deserialize
Account Manager
45. It is called to invoke the search dialog on older devices.
onSearchRequested()
<declare-styleable>
Activity
searchable configuration
46. This is used to register and de-register your media button event receiver.
AbstractAccountAuthenticator
visible
ViewStub
AudioManager
47. Callback method: The activity is about to be destroyed.
SurfaceHolder.Callback
Layouts
authenticator class
onDestroy();
48. Conversion of XML back to an object
BroadcastReceiver
Back stack
Layouts
Deserialize
49. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
SearchView
auth scope
BroadcastReceiver
android.hardware.touchscreen
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
drawBitmap()
Canvas
LocationManager
PieChart