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. Perform background tasks without providing a user interface
Services
Canvas
Ducking
SurfaceView
2. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Deserialize
onCreate() - onDestroy()
NetworkInfo
ConnectivityManager
3. Callback method: The activity is being created.
Dots per inch
GET_ACCOUNTS
AndroidManifest.xml
onCreate();
4. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Low power
AbstractAccountAuthenticator
Open Handset Alliance
HTTP
5. 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 _____
Explicit intent
Objects Activity lifecycle
onCreate() - onDestroy()
security sandbox
6. To define custom attributes - add this resources to your project.
<declare-styleable>
SurfaceHolder.Callback
AbstractAccountAuthenticator
Fragments
7. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Dalvik Virtual Machine
ShareActionProvider
Scroller
inflate()
8. Whenever the device is docked or undocked - this action is broadcast.
Dots per inch
Google Cloud Messaging for Android (GCM)
visible
ACTION_DOCK_EVENT
9. An _______ is an application component that provides a screen 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.
Activity
inflate()
Scroller
Wi-Fi radio
10. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
AndroidManifest.xml
adb
ACTION_DOCK_EVENT
11. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Layouts
Account
single-pane
12. Sharing of data in Android is done via________
Full power
onPause();
Service Content Provider
ACTION_DOCK_EVENT
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?
EXTRA_STREAM
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Service Content Provider
14. A styleable entity that contains these two custom attributes: showText and labelPosition.
BatteryManager
PieChart
View
Full power
15. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
When the activity resumes
searchable configuration
BroadcastReceiver
16. This broadcasts an action whenever the device is connected or disconnected from power.
HTTP
onDraw()
BatteryManager
onResume();
17. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
InputStream
Advanced Training
ETC1
<declare-styleable>
18. This is used for the need of finer control over your view's layout parameters.
onMeasure()
security sandbox
Intent filters
drawBitmap()
19. This action is used in sending text content from one activity to another.
Activity
ACTION_SEND
Component - screen
BroadcastReceiver
20. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Dalvik Virtual Machine
BroadcastReceiver
getInputStream()
GET_ACCOUNTS
21. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
isConnected()
Advanced Training
AsyncTask
22. This class provides one of the simplest ways to fire off a new task from the UI thread.
Serialize
resolveSizeAndState()
AsyncTask
EXTRA_STREAM
23. It is a subclass of PreferenceActivity.
SettingsActivity
SurfaceHolder.Callback
ViewStub
setVolumeControlStream()
24. This object contains an account name - which for Google accounts is an email address.
onDraw()
ACTION_DOCK_EVENT
ViewStub
Account
25. 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.
PackageManager
Ducking
XmlPullParser
AbstractAccountAuthenticator
26. This is a readable source of bytes.
InputStream
Account
isConnected()
setContentView
27. This class exposes a number of methods for applications to receive location updates.
LocationManager
AsyncTask
Wi-Fi radio
getInputStream()
28. Theseare a key part of Android applications that directly affect the user experience.
ConnectivityManager
Open Handset Alliance
PackageManager
Layouts
29. If permissions are missing - the application will get this at runtime.
Parser
AndroidManifest.xml
PackageManager
SecurityException
30. To create an activity - you must create a subclass of
Scroller
XmlPullParser
Activity
Android SDK
31. The minimal energy state during which no network connection is active or required.
Destroyed - previous
adb
Standby
OAuth2
32. 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
ACTION_SEND
Layouts
Destroyed - previous
onStop();
33. An intermediate state that uses around 50% of the battery power at the full state.
Google Cloud Messaging (GCM)
Low power
Dalvik Virtual Machine
onDestroy();
34. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
single-pane
Stack
View
35. This includes tools to help you identify problems in your layout performance.
Android SDK
LocationManager
onCreate() - onDestroy()
Linux based
36. Callback method: The activity has become visible.
onDraw()
resolveSizeAndState()
onResume();
inflate()
37. 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.
XmlPullParser
OAuth2
AsyncTask
Account Manager
38. It is available starting with API Level 14 and higher.
Activity
onCreate() - onDestroy()
Parser
ShareActionProvider
39. is run when running Android on the pc
setContentView
Emulator
adb
Low power
40. 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
AccountAuthenticatorActivity
Activity
Open Handset Alliance
41. It is a string that defines the specific type of access your app is asking for.
Android SDK
auth scope
Dalvik Virtual Machine
Standby
42. Allow to combine loosely coupled components to perform certain tasks
Android SDK
setContentView
AsyncTask
Intents
43. 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
SearchView
BroadcastReceiver
HttpURLConnection
44. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
inflate()
ACTION_SEND
Destroyed - previous
45. 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?
AttributeSet
BatteryManager
Layouts
SQLiteOpenHelper
46. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
drawText()
auth scope
Google Cloud Messaging for Android (GCM)
47. The visible lifetime of an activity happens between the call to ____ and the call to ______
Widgets
onStart() - onStop()
Open Handset Alliance
AttributeSet
48. This class is the basis for handling flywheel-style fling gestures.
XmlPullParser
Scroller
Widgets
OAuth2
49. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Dalvik Debug Monitor Server
BroadcastReceiver
GestureDetector
Application footprint
50. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
GestureDetector
onPause();
Canvas
Full power