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. This is set up to animate for the duration of the fling.
ValueAnimator
getInputStream()
ShareActionProvider
Canvas
2. Android request its permission using its ________
onCreate() - onDestroy()
AndroidManifest.xml
Google Cloud Messaging (GCM)
dual-
3. Perform background tasks without providing a user interface
Intents
ACTION_SEND
AsyncTask
Services
4. Converts XML Document to XML DOM
touch
Lifecycle callback methods
Parser
SurfaceHolder.Callback
5. It is a subclass of PreferenceActivity.
View
Parser
SettingsActivity
AccountAuthenticatorActivity
6. Android system uses a special virtual machine to run java based applicatons
Google
Dalvik Virtual Machine
drawBitmap()
security sandbox
7. It is called to invoke the search dialog on older devices.
onSearchRequested()
SQLite
Android SDK
Stack
8. An open source group led by Google
onCreate() - onDestroy()
setContentView
Open Handset Alliance
LocationManager
9. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onResume();
LTE
Canvas
Google Cloud Messaging for Android (GCM)
10. When a new activity starts - it is pushed onto the ____ and takes user focus.
Ducking
drawBitmap()
AsyncTask
Back stack
11. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Serialize
Ducking
Application resources
ViewStub
12. On a rooted device - the credentials would be readable by anyone with this access to the device.
onDraw()
adb
Advanced Training
ETC1
13. This class provides one of the simplest ways to fire off a new task from the UI thread.
searchable configuration
AudioManager
Canvas
AsyncTask
14. This can be used to draw previews of what the camera sensor is picking up.
SearchView
Application footprint
Back stack
SurfaceView
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Lifecycle callback methods
SurfaceView
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
16. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ViewStub
Account
BroadcastReceiver
Deserialize
17. Necessary tools to develop Android applications
auth scope
Stack - back stack
OAuth2 protocol
Android SDK
18. Shows the actual amount of memory the application uses
Layouts
Account
Destroyed - previous
Application footprint
19. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Google
Lifecycle callback methods
authenticator class
Google Play
20. It made implementing an effective and user friendly share action in your ActionBar even easier.
Scroller
Destroyed - previous
NetworkInfo
ActionProvider
21. 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?
EXTRA_STREAM
Google Play
AttributeSet
onCreate() - onDestroy()
22. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AsyncTask
inflate()
onStop();
Widgets
23. Android is __________.
Wi-Fi radio
SettingsActivity
NetworkInfo
Linux based
24. A styleable entity that contains these two custom attributes: showText and labelPosition.
Deserialize
searchable configuration
AttributeSet
PieChart
25. This is the main class through which your application can access location services on Android.
LocationManager
onAudioFocusChange()
onStart() - onStop()
security sandbox
26. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Parser
ValueAnimator
AndroidManifest.xml
27. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Serialize
onCreate();
Entire
Layouts
28. Allow to combine loosely coupled components to perform certain tasks
Android SDK
ViewStub
Intents
View
29. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
auth scope
AttributeSet
AsyncTask
30. This class exposes a number of methods for applications to receive location updates.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google
ValueAnimator
LocationManager
31. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
adb
Advanced Training
ACTION_SEND
isConnected()
32. This is a readable source of bytes.
LocationManager
InputStream
Activity
SQLiteOpenHelper
33. This class is the basis for handling flywheel-style fling gestures.
SQLiteOpenHelper
Scroller
single-pane
touch
34. 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 _____
onCreate() - onDestroy()
BroadcastReceiver
Google Play
AbstractAccountAuthenticator
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onResume();
OnCurrentItemChanged
AsyncTask
InputStream
36. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
touch
Dots per inch
resolveSizeAndState()
Full power
37. It is an efficient and maintainable way to parse XML on Android.
View
onResume();
XmlPullParser
Deserialize
38. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
AndroidManifest.xml
<declare-styleable>
Intent filters
HttpURLConnection
39. The helper method is used to create the final width and height values.
resolveSizeAndState()
BackupHelper
PackageManager
Service Content Provider
40. Amode where the action bar is set up with tabs for navigation.
virtual table
SQLiteOpenHelper
dual-
ShareActionProvider
41. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
ACTION_DOCK_EVENT
Activity
SQLite
42. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Application resources
AbstractAccountAuthenticator
onStart() - onStop()
43. Use this to draw text.
drawText()
View
ACTION_SEND
ActionProvider
44. Callback method: The activity is being created.
ACTION_DOCK_EVENT
single-pane
Stack
onCreate();
45. 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
authenticator class
Dalvik Debug Monitor Server
Component - screen
Destroyed - previous
46. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Back stack
Destroyed - previous
Lifecycle callback methods
onSearchRequested()
47. It is used to load images in a background thread - then apply them to the UI once finished.
SecurityException
AsyncTask
AbstractAccountAuthenticator
authenticator class
48. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
inflate()
Activity
AudioManager
49. 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.
Objects Activity lifecycle
Serialize
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ETC1
50. Callback method: Another activity is taking focus
virtual table
onPause();
AsyncTask
ActionProvider