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. The helper method is used to create the final width and height values.
resolveSizeAndState()
HTTP
Intent filters
Layouts
2. A mode where navigation is set up with a spinner widget.
Extensible Markup Language (XML)
GestureDetector
single-pane
InputStream
3. It is called to invoke the search dialog on older devices.
onStop();
drawText()
onSearchRequested()
Emulator
4. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onStop();
Paint
Intent filters
Objects Activity lifecycle
5. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
PackageManager
Activity
AbstractAccountAuthenticator
AudioManager
6. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
getInputStream()
When the activity resumes
Destroyed - previous
onCreate();
7. It is a subclass of PreferenceActivity.
SettingsActivity
HTTP
InputStream
AsyncTask
8. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
authenticator class
LocationManager
Canvas
PackageManager
9. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Paint
Google Cloud Messaging (GCM)
SQLiteOpenHelper
PieChart
10. This is used for the need of finer control over your view's layout parameters.
Deserialize
onMeasure()
Paint
SQLite
11. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ShareActionProvider
Account
setContentView
12. To create an activity - you must create a subclass of
Activity
Layouts
isConnected()
<declare-styleable>
13. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onSearchRequested()
LocationManager
Stack - back stack
authenticator class
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Google Play
AudioManager
SurfaceHolder.Callback
Advanced Training
15. This class provides one of the simplest ways to fire off a new task from the UI thread.
SurfaceView
<declare-styleable>
AsyncTask
Implicit intent
16. Evaluation of registered components
View
auth scope
AccountAuthenticatorActivity
Implicit intent
17. 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 _____
Objects Activity lifecycle
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
Application resources
18. In most cases this will offer greater bandwidth at a significantly lower battery cost.
PackageManager
Account
security sandbox
Wi-Fi radio
19. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Dalvik Debug Monitor Server
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Intent filters
onSearchRequested()
20. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
visible
single-pane
NetworkInfo
onDestroy();
21. In order to get a list of accounts on the device - your app needs this permission.
onDestroy();
Widgets
GET_ACCOUNTS
Lifecycle callback methods
22. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
InputStream
virtual table
Service Content Provider
SearchView
23. It made implementing an effective and user friendly share action in your ActionBar even easier.
Activity
ActionProvider
PackageManager
EXTRA_STREAM
24. This is the most common input event in the Android system.
touch
OAuth2
onCreate();
Google Cloud Messaging (GCM)
25. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onStop();
Google Cloud Messaging for Android (GCM)
SearchView
Low power
26. 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
Destroyed - previous
authenticator class
onCreate() - onDestroy()
Google Play
27. The minimal energy state during which no network connection is active or required.
Standby
AndroidManifest.xml
Services
BackupHelper
28. Callback method: The activity is no longer visible
onMeasure()
onStop();
Wi-Fi radio
Stack - back stack
29. Converts XML Document to XML DOM
ViewStub
Scroller
inflate()
Parser
30. 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
isConnected()
LTE
AsyncTask
31. Sharing of data in Android is done via________
Service Content Provider
Emulator
ConnectivityManager
NetworkInfo
32. is run when running Android on the pc
ValueAnimator
onStop();
setContentView
Emulator
33. For example - a ____ might be a button that initiates an action when the user touches it.
Entire
ACTION_DOCK_EVENT
When the activity resumes
View
34. 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.
Services
Ducking
SearchView
GET_ACCOUNTS
35. Relative to pixels and resolution screen
Dots per inch
Linux based
Component - screen
Scroller
36. This class exposes a number of methods for applications to receive location updates.
LocationManager
Implicit intent
ActionProvider
AsyncTask
37. 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?
Stack - back stack
AttributeSet
SearchView
AsyncTask
38. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
ActionProvider
BroadcastReceiver
Entire
Deserialize
39. Represents the visual representation of an Android application
onDraw()
Dots per inch
Activity
AttributeSet
40. Allow to combine loosely coupled components to perform certain tasks
Intents
Dalvik Debug Monitor Server
AbstractAccountAuthenticator
onSearchRequested()
41. The most common way to define a layout using views is with an XML layout file saved in your ______
onSearchRequested()
Intents
Application resources
Scroller
42. Whenever the device is docked or undocked - this action is broadcast.
Extensible Markup Language (XML)
Serialize
AttributeSet
ACTION_DOCK_EVENT
43. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
SettingsActivity
Lifecycle callback methods
Activity
Geocoder
44. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Parser
OnCurrentItemChanged
Fragments
SecurityException
45. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SurfaceHolder.Callback
onStart() - onStop()
setVolumeControlStream()
onAudioFocusChange()
46. An intermediate state that uses around 50% of the battery power at the full state.
Activity
onStart() - onStop()
Low power
AsyncTask
47. An open source group led by Google
Open Handset Alliance
ConnectivityManager
onCreate() - onDestroy()
SearchView
48. Perform background tasks without providing a user interface
SQLite
setVolumeControlStream()
Services
Account Manager
49. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Implicit intent
HttpURLConnection
onCreate() - onDestroy()
SQLite
50. When a new activity starts - it is pushed onto the ____ and takes user focus.
auth scope
AsyncTask
Back stack
SearchView