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 system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
SecurityException
AsyncTask
HTTP
2. 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
AsyncTask
Destroyed - previous
Application footprint
Low power
3. 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
NetworkInfo
adb
PackageManager
visible
4. Sharing of data in Android is done via________
SQLiteOpenHelper
Service Content Provider
Destroyed - previous
Android SDK
5. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
View
ConnectivityManager
Google Play
6. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Stack - back stack
Service Content Provider
Dalvik Debug Monitor Server
inflate()
7. On a rooted device - the credentials would be readable by anyone with this access to the device.
InputStream
adb
inflate()
AttributeSet
8. In most cases this will offer greater bandwidth at a significantly lower battery cost.
ConnectivityManager
Activity
Wi-Fi radio
AsyncTask
9. 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
Google Cloud Messaging (GCM)
Widgets
Ducking
10. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
LocationManager
Ducking
When the activity resumes
11. It is used to load images in a background thread - then apply them to the UI once finished.
Serialize
Canvas
Google Cloud Messaging for Android (GCM)
AsyncTask
12. Use this to draw text.
PieChart
OnCurrentItemChanged
Google
drawText()
13. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Standby
auth scope
Google Play
14. Use this to draw bitmaps.
single-pane
OAuth2
drawBitmap()
Google Cloud Messaging for Android (GCM)
15. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Scroller
SurfaceView
touch
16. It inform the system what intents an application component is willing to accept.
Intent filters
Service Content Provider
ACTION_SEND
Entire
17. The helper method is used to create the final width and height values.
Entire
AttributeSet
resolveSizeAndState()
ACTION_DOCK_EVENT
18. An open source group led by Google
Serialize
Wi-Fi radio
Application resources
Open Handset Alliance
19. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
ConnectivityManager
Stack
HTTP
getInputStream()
20. An open source stand alone database
Wi-Fi radio
EXTRA_STREAM
AndroidManifest.xml
SQLite
21. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
ConnectivityManager
Google Play
adb
22. A service in which programmers can offer their Android application to Android users.
Activity
AccountAuthenticatorActivity
Google Play
onAudioFocusChange()
23. Where Android is currently primarily developed
SearchView
Dots per inch
Google
Objects Activity lifecycle
24. This includes tools to help you identify problems in your layout performance.
AbstractAccountAuthenticator
LocationManager
SearchView
Android SDK
25. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
LocationManager
Dalvik Virtual Machine
inflate()
26. To define custom attributes - add this resources to your project.
Stack - back stack
isConnected()
NetworkInfo
<declare-styleable>
27. Callback method: The activity is about to be destroyed.
Service Content Provider
onDraw()
onDestroy();
onSearchRequested()
28. This is set up to animate for the duration of the fling.
ValueAnimator
auth scope
AccountAuthenticatorActivity
View
29. It is an efficient and maintainable way to parse XML on Android.
Widgets
XmlPullParser
visible
Android SDK
30. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Google Cloud Messaging (GCM)
isConnected()
Entire
31. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
XmlPullParser
searchable configuration
virtual table
32. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SecurityException
Account
Explicit intent
Hierarchy Viewer
33. These helpers are specialized classes for backing up certain kinds of data.
ACTION_DOCK_EVENT
Android SDK
ActionProvider
BackupHelper
34. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
onCreate() - onDestroy()
Service Content Provider
Full power
35. 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 ___ .
Stack
Scroller
BroadcastReceiver
View
36. It is available starting with API Level 14 and higher.
onCreate();
ShareActionProvider
security sandbox
Service Content Provider
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.
Component - screen
ETC1
Paint
onDestroy();
38. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Google Play
HttpURLConnection
Back stack
android.hardware.touchscreen
39. Callback method: The activity has become visible.
SurfaceHolder.Callback
onResume();
Advanced Training
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
40. It is a string that defines the specific type of access your app is asking for.
Wi-Fi radio
single-pane
auth scope
onCreate() - onDestroy()
41. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
ViewStub
Account Manager
LocationManager
Entire
42. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Android SDK
AsyncTask
AccountAuthenticatorActivity
43. The industry standard way to deal with authentication to third-party services.
SQLiteOpenHelper
onCreate() - onDestroy()
Activity
OAuth2 protocol
44. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Linux based
onStop();
inflate()
Dots per inch
45. The minimal energy state during which no network connection is active or required.
Layouts
Destroyed - previous
Standby
BroadcastReceiver
46. This class provides one of the simplest ways to fire off a new task from the UI thread.
adb
SurfaceHolder.Callback
AsyncTask
Google Cloud Messaging (GCM)
47. This is the main class through which your application can access location services on Android.
Android SDK
BackupHelper
Geocoder
LocationManager
48. To create an activity - you must create a subclass of
Activity
View
Widgets
onMeasure()
49. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
AsyncTask
Stack - back stack
Scroller
AbstractAccountAuthenticator
50. This action is used in sending text content from one activity to another.
ACTION_SEND
Activity
Extensible Markup Language (XML)
onAudioFocusChange()