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. 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
AudioManager
GestureDetector
Stack - back stack
2. On a rooted device - the credentials would be readable by anyone with this access to the device.
View
InputStream
setContentView
adb
3. An open source group led by Google
AbstractAccountAuthenticator
setContentView
resolveSizeAndState()
Open Handset Alliance
4. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
isConnected()
onResume();
Standby
5. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
Activity
Scroller
Application resources
SearchView
6. It is available starting with API Level 14 and higher.
Android SDK
Google Cloud Messaging (GCM)
onStart() - onStop()
ShareActionProvider
7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onStart() - onStop()
setContentView
GestureDetector
Advanced Training
8. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Google
SecurityException
Activity
9. This is a readable source of bytes.
InputStream
Activity
Services
adb
10. Direct component call in Android
drawText()
Explicit intent
SearchView
inflate()
11. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
dual-
Service Content Provider
AsyncTask
12. The industry standard way to deal with authentication to third-party services.
Extensible Markup Language (XML)
security sandbox
Google
OAuth2 protocol
13. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
Widgets
Destroyed - previous
SurfaceView
14. A mode where navigation is set up with a spinner widget.
Advanced Training
Dots per inch
Application footprint
single-pane
15. 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 ___ .
Dots per inch
Services
Stack
GET_ACCOUNTS
16. Where Android is currently primarily developed
OAuth2
SecurityException
Google
ConnectivityManager
17. 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
AccountAuthenticatorActivity
BroadcastReceiver
Layouts
18. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ACTION_SEND
Standby
Service Content Provider
setContentView
19. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Fragments
ConnectivityManager
onAudioFocusChange()
onMeasure()
20. Once installed on a device - each Android application lives in its own ______
Layouts
Activity
visible
security sandbox
21. This is the simplest way to monitor device state changes.
BroadcastReceiver
ConnectivityManager
drawBitmap()
Objects Activity lifecycle
22. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Extensible Markup Language (XML)
OnCurrentItemChanged
resolveSizeAndState()
Back stack
23. Converts XML Document to XML DOM
isConnected()
Parser
resolveSizeAndState()
BatteryManager
24. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
onResume();
Back stack
Full power
OAuth2 protocol
25. This is used for the need of finer control over your view's layout parameters.
SecurityException
onMeasure()
Emulator
SettingsActivity
26. It is called to invoke the search dialog on older devices.
SecurityException
Dots per inch
onSearchRequested()
Advanced Training
27. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
HTTP
visible
Activity
28. When a new activity starts - it is pushed onto the ____ and takes user focus.
LocationManager
InputStream
Back stack
Entire
29. It inform the system what intents an application component is willing to accept.
ValueAnimator
Entire
Intent filters
drawText()
30. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Hierarchy Viewer
Services
Account
31. To define custom attributes - add this resources to your project.
<declare-styleable>
getInputStream()
ConnectivityManager
LocationManager
32. This is the main class through which your application can access location services on Android.
Intents
SettingsActivity
LocationManager
GestureDetector
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Google Cloud Messaging (GCM)
Emulator
Google
AbstractAccountAuthenticator
34. These helpers are specialized classes for backing up certain kinds of data.
Explicit intent
BackupHelper
virtual table
SearchView
35. 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?
SQLiteOpenHelper
AttributeSet
Account Manager
Wi-Fi radio
36. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
OAuth2 protocol
onCreate() - onDestroy()
SQLiteOpenHelper
AttributeSet
37. is run when running Android on the pc
Emulator
Activity
InputStream
XmlPullParser
38. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ViewStub
visible
Account
LocationManager
39. The helper method is used to create the final width and height values.
onSearchRequested()
drawBitmap()
AbstractAccountAuthenticator
resolveSizeAndState()
40. Allow to combine loosely coupled components to perform certain tasks
Intents
ShareActionProvider
Component - screen
AccountAuthenticatorActivity
41. It is an efficient and maintainable way to parse XML on Android.
Canvas
onMeasure()
AndroidManifest.xml
XmlPullParser
42. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
PieChart
Activity
Emulator
43. Callback method: The activity is about to be destroyed.
Low power
onDestroy();
onStop();
Serialize
44. Use this to draw bitmaps.
resolveSizeAndState()
drawBitmap()
Deserialize
InputStream
45. Android system uses a special virtual machine to run java based applicatons
getInputStream()
Dalvik Virtual Machine
onSearchRequested()
ACTION_SEND
46. This is used to fetch the account names that the user has stored on their device.
InputStream
Account Manager
getInputStream()
onAudioFocusChange()
47. In most cases this will offer greater bandwidth at a significantly lower battery cost.
LocationManager
View
Wi-Fi radio
inflate()
48. This is used to register and de-register your media button event receiver.
AudioManager
Destroyed - previous
View
onCreate();
49. The minimal energy state during which no network connection is active or required.
Standby
SecurityException
virtual table
onCreate() - onDestroy()
50. 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 _____
SQLite
Activity
Account Manager
onCreate() - onDestroy()