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 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
SearchView
Services
Destroyed - previous
BroadcastReceiver
2. You can set the layout as the UI for your activity with passing the resource ID for the layout.
OAuth2 protocol
setContentView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
3. 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()
onCreate();
AudioManager
SearchView
4. Callback method: The activity has become visible.
Back stack
onResume();
Standby
OAuth2 protocol
5. The visible lifetime of an activity happens between the call to ____ and the call to ______
onCreate() - onDestroy()
onStart() - onStop()
onResume();
adb
6. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Back stack
Activity
Objects Activity lifecycle
7. 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 _____
AttributeSet
getInputStream()
onCreate() - onDestroy()
auth scope
8. 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
Scroller
auth scope
ConnectivityManager
PackageManager
9. Allow to combine loosely coupled components to perform certain tasks
Intents
AttributeSet
dual-
PackageManager
10. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Services
ViewStub
BroadcastReceiver
Parser
11. This widget as an item in the action bar is the preferred way to provide search in your app.
Service Content Provider
Google Play
SurfaceView
SearchView
12. It is a subclass of PreferenceActivity.
onCreate() - onDestroy()
Dots per inch
SettingsActivity
Android SDK
13. Perform background tasks without providing a user interface
ConnectivityManager
Activity
Services
single-pane
14. Android system uses a special virtual machine to run java based applicatons
onStop();
onDraw()
Application footprint
Dalvik Virtual Machine
15. This broadcasts an action whenever the device is connected or disconnected from power.
Geocoder
AsyncTask
BatteryManager
virtual table
16. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onStop();
Advanced Training
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Lifecycle callback methods
17. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
SecurityException
searchable configuration
ConnectivityManager
Emulator
18. This is used to register and de-register your media button event receiver.
Low power
AudioManager
Google Cloud Messaging for Android (GCM)
SearchView
19. Android request its permission using its ________
Component - screen
Widgets
AsyncTask
AndroidManifest.xml
20. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
BatteryManager
HttpURLConnection
onMeasure()
Standby
21. Android provides this handy method to direct volume key presses to the audio stream the user specify.
LTE
setVolumeControlStream()
onStart() - onStop()
GestureDetector
22. Where Android is currently primarily developed
SearchView
Emulator
Deserialize
Google
23. Theseare a key part of Android applications that directly affect the user experience.
onPause();
Layouts
Scroller
AttributeSet
24. 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.
Intent filters
ETC1
adb
searchable configuration
25. A mode where navigation is set up with a spinner widget.
onDestroy();
PieChart
onPause();
single-pane
26. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Android SDK
BatteryManager
Extensible Markup Language (XML)
Account
27. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
searchable configuration
resolveSizeAndState()
Objects Activity lifecycle
BroadcastReceiver
28. Are used in activities to create the user interface and to interact with the user.
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Open Handset Alliance
Fragments
29. An open source stand alone database
ACTION_DOCK_EVENT
Intent filters
getInputStream()
SQLite
30. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
ShareActionProvider
Entire
Component - screen
31. This object contains an account name - which for Google accounts is an email address.
BatteryManager
Account
Account Manager
Fragments
32. The minimal energy state during which no network connection is active or required.
OnCurrentItemChanged
Component - screen
Destroyed - previous
Standby
33. It is a string that defines the specific type of access your app is asking for.
auth scope
Geocoder
Paint
ConnectivityManager
34. Callback method: The activity is no longer visible
onStop();
drawText()
Ducking
visible
35. To define custom attributes - add this resources to your project.
Open Handset Alliance
<declare-styleable>
SurfaceView
ACTION_DOCK_EVENT
36. A service in which programmers can offer their Android application to Android users.
InputStream
Google Play
Emulator
Services
37. Use this to draw text.
drawText()
visible
Android SDK
Widgets
38. Callback method: The activity is about to be destroyed.
InputStream
AudioManager
onDestroy();
Google
39. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
OAuth2 protocol
Google Cloud Messaging for Android (GCM)
BackupHelper
Widgets
40. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Explicit intent
AttributeSet
Application resources
Wi-Fi radio
41. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
AsyncTask
virtual table
Paint
BroadcastReceiver
42. This includes tools to help you identify problems in your layout performance.
Extensible Markup Language (XML)
Stack
Android SDK
LTE
43. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Ducking
Paint
OnCurrentItemChanged
ACTION_DOCK_EVENT
44. It is used to load images in a background thread - then apply them to the UI once finished.
Stack - back stack
Android SDK
onDraw()
AsyncTask
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?
inflate()
AttributeSet
SearchView
Widgets
46. An open source group led by Google
BroadcastReceiver
onMeasure()
AbstractAccountAuthenticator
Open Handset Alliance
47. Sharing of data in Android is done via________
LocationManager
Advanced Training
Activity
Service Content Provider
48. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
SQLiteOpenHelper
Google Cloud Messaging for Android (GCM)
onStop();
virtual table
49. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Ducking
resolveSizeAndState()
Widgets
SQLiteOpenHelper
50. This class exposes a number of methods for applications to receive location updates.
onCreate() - onDestroy()
drawBitmap()
LocationManager
Standby