SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 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
Fragments
SQLiteOpenHelper
Destroyed - previous
LocationManager
2. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Advanced Training
SecurityException
Hierarchy Viewer
PieChart
3. An intermediate state that uses around 50% of the battery power at the full state.
ViewStub
Low power
isConnected()
Application resources
4. Perform background tasks without providing a user interface
SQLite
Services
ConnectivityManager
HttpURLConnection
5. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
ACTION_SEND
Account
GET_ACCOUNTS
6. Evaluation of registered components
Implicit intent
Parser
single-pane
Advanced Training
7. Sharing of data in Android is done via________
Explicit intent
Service Content Provider
drawText()
onCreate() - onDestroy()
8. 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()
ACTION_SEND
onStop();
SettingsActivity
9. An open source group led by Google
Open Handset Alliance
AsyncTask
View
Wi-Fi radio
10. This includes tools to help you identify problems in your layout performance.
Android SDK
dual-
NetworkInfo
Stack
11. 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?
ConnectivityManager
searchable configuration
AttributeSet
Google Cloud Messaging for Android (GCM)
12. Use this to draw bitmaps.
adb
auth scope
HttpURLConnection
drawBitmap()
13. The entire lifetime of an activity happens between the call to _____ and the call to _____
BatteryManager
virtual table
onDestroy();
onCreate() - onDestroy()
14. This action is used in sending text content from one activity to another.
NetworkInfo
Implicit intent
ACTION_SEND
ValueAnimator
15. 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
ACTION_DOCK_EVENT
authenticator class
getInputStream()
16. 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.
BatteryManager
onStart() - onStop()
ACTION_DOCK_EVENT
OAuth2
17. Represents the visual representation of an Android application
Deserialize
Activity
onStart() - onStop()
Hierarchy Viewer
18. Where Android is currently primarily developed
ETC1
ConnectivityManager
Wi-Fi radio
Google
19. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Objects Activity lifecycle
onDestroy();
onDraw()
onCreate() - onDestroy()
20. It is available starting with API Level 14 and higher.
ShareActionProvider
BatteryManager
getInputStream()
Activity
21. This is the most common input event in the Android system.
Advanced Training
Ducking
Extensible Markup Language (XML)
touch
22. The dock-state details are included as an extra in a sticky broadcast of this action.
Back stack
Widgets
setVolumeControlStream()
ACTION_DOCK_EVENT
23. The industry standard way to deal with authentication to third-party services.
InputStream
AsyncTask
auth scope
OAuth2 protocol
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Extensible Markup Language (XML)
PackageManager
Service Content Provider
25. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ConnectivityManager
Emulator
OnCurrentItemChanged
Intents
26. This is used to convert raw touch events into gestures.
onCreate() - onDestroy()
GestureDetector
AndroidManifest.xml
dual-
27. 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
onCreate();
Dalvik Debug Monitor Server
Ducking
PackageManager
28. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Component - screen
Lifecycle callback methods
drawText()
Stack - back stack
29. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
OAuth2 protocol
onAudioFocusChange()
android.hardware.touchscreen
30. It is a string that defines the specific type of access your app is asking for.
Google
onSearchRequested()
inflate()
auth scope
31. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Activity
Fragments
Account
32. Once installed on a device - each Android application lives in its own ______
BroadcastReceiver
Dalvik Virtual Machine
inflate()
security sandbox
33. To define custom attributes - add this resources to your project.
<declare-styleable>
Stack
GestureDetector
Google Play
34. This class provides one of the simplest ways to fire off a new task from the UI thread.
Lifecycle callback methods
SQLiteOpenHelper
AsyncTask
SearchView
35. Necessary tools to develop Android applications
Scroller
authenticator class
Android SDK
AndroidManifest.xml
36. Use this to draw text.
drawText()
Low power
dual-
AccountAuthenticatorActivity
37. Callback method: Another activity is taking focus
onPause();
onDestroy();
ViewStub
Fragments
38. Android is __________.
Linux based
Open Handset Alliance
Standby
LocationManager
39. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onAudioFocusChange()
Stack
Stack - back stack
40. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
HttpURLConnection
Google
Activity
41. It is a subclass of PreferenceActivity.
searchable configuration
OAuth2
SettingsActivity
Layouts
42. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SQLite
onSearchRequested()
Serialize
ViewStub
43. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
View
android.hardware.touchscreen
onDestroy();
AsyncTask
44. Relative to pixels and resolution screen
BackupHelper
onDraw()
setVolumeControlStream()
Dots per inch
45. Amode where the action bar is set up with tabs for navigation.
Hierarchy Viewer
dual-
onCreate();
single-pane
46. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
searchable configuration
Entire
Fragments
ConnectivityManager
47. This is used to fetch the account names that the user has stored on their device.
Back stack
Hierarchy Viewer
<declare-styleable>
Account Manager
48. 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.
onCreate() - onDestroy()
AndroidManifest.xml
drawText()
ETC1
49. 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.
Component - screen
Activity
onSearchRequested()
OAuth2 protocol
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
Canvas
PieChart
GestureDetector
AbstractAccountAuthenticator