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. 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
onMeasure()
Account Manager
PackageManager
Application resources
2. Converts XML Document to XML DOM
View
drawText()
InputStream
Parser
3. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Intent filters
Layouts
Hierarchy Viewer
Serialize
4. Callback method: The activity is about to be destroyed.
ACTION_SEND
Emulator
ETC1
onDestroy();
5. This class exposes a number of methods for applications to receive location updates.
AccountAuthenticatorActivity
LocationManager
ConnectivityManager
Ducking
6. An open source group led by Google
Google Cloud Messaging (GCM)
dual-
SearchView
Open Handset Alliance
7. It made implementing an effective and user friendly share action in your ActionBar even easier.
ACTION_SEND
ActionProvider
Stack
Wi-Fi radio
8. It is a set of rules for encoding documents in machine-readable form.
Low power
SearchView
Extensible Markup Language (XML)
BroadcastReceiver
9. To define custom attributes - add this resources to your project.
PackageManager
auth scope
<declare-styleable>
Android SDK
10. This class provides one of the simplest ways to fire off a new task from the UI thread.
LocationManager
Canvas
Advanced Training
AsyncTask
11. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SearchView
Objects Activity lifecycle
ConnectivityManager
SQLiteOpenHelper
12. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ETC1
SurfaceHolder.Callback
onStop();
13. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
GET_ACCOUNTS
ActionProvider
When the activity resumes
SQLite
14. Perform background tasks without providing a user interface
Services
HttpURLConnection
auth scope
AndroidManifest.xml
15. Callback method: The activity is no longer visible
Serialize
android.hardware.touchscreen
onStop();
ConnectivityManager
16. Android system uses a special virtual machine to run java based applicatons
onCreate() - onDestroy()
getInputStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Virtual Machine
17. An open source stand alone database
Layouts
SearchView
SQLite
BroadcastReceiver
18. Callback method: The activity is being created.
<declare-styleable>
onCreate();
Hierarchy Viewer
Google Play
19. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
BroadcastReceiver
visible
Layouts
ValueAnimator
20. The visible lifetime of an activity happens between the call to ____ and the call to ______
SurfaceHolder.Callback
Lifecycle callback methods
auth scope
onStart() - onStop()
21. 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.
authenticator class
Component - screen
onCreate() - onDestroy()
ETC1
22. It is an efficient and maintainable way to parse XML on Android.
Google Cloud Messaging for Android (GCM)
Stack
XmlPullParser
ACTION_SEND
23. You can set the layout as the UI for your activity with passing the resource ID for the layout.
BroadcastReceiver
Intent filters
setContentView
auth scope
24. For example - a ____ might be a button that initiates an action when the user touches it.
onStart() - onStop()
View
SearchView
onAudioFocusChange()
25. Sharing of data in Android is done via________
SettingsActivity
Service Content Provider
single-pane
Activity
26. This is the simplest way to monitor device state changes.
OnCurrentItemChanged
SurfaceHolder.Callback
single-pane
BroadcastReceiver
27. The industry standard way to deal with authentication to third-party services.
BatteryManager
Component - screen
Open Handset Alliance
OAuth2 protocol
28. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onMeasure()
ACTION_SEND
Dalvik Debug Monitor Server
virtual table
29. Android request its permission using its ________
drawBitmap()
SQLite
AndroidManifest.xml
SQLiteOpenHelper
30. Are used in activities to create the user interface and to interact with the user.
dual-
Explicit intent
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Fragments
31. This is an interface which is used to pass image data from the camera hardware to the application.
Scroller
EXTRA_STREAM
SurfaceHolder.Callback
Dots per inch
32. It is called to invoke the search dialog on older devices.
Serialize
single-pane
Activity
onSearchRequested()
33. Amode where the action bar is set up with tabs for navigation.
dual-
Component - screen
Objects Activity lifecycle
Application footprint
34. is run when running Android on the pc
security sandbox
LTE
Emulator
AsyncTask
35. Where Android is currently primarily developed
Layouts
Parser
Wi-Fi radio
Google
36. Callback method: The activity has become visible.
Stack
ACTION_DOCK_EVENT
onResume();
Dots per inch
37. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Parser
ACTION_DOCK_EVENT
searchable configuration
ActionProvider
38. It is a string that defines the specific type of access your app is asking for.
auth scope
onCreate();
Google
Google Play
39. 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 ___ .
Stack
setContentView
Layouts
onCreate();
40. Once installed on a device - each Android application lives in its own ______
ETC1
security sandbox
Google Cloud Messaging (GCM)
onCreate();
41. It is used to load images in a background thread - then apply them to the UI once finished.
onStop();
Geocoder
AsyncTask
AccountAuthenticatorActivity
42. Necessary tools to develop Android applications
Parser
Android SDK
BackupHelper
Activity
43. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Emulator
ConnectivityManager
Stack
44. Android is __________.
<declare-styleable>
Emulator
Linux based
View
45. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
<declare-styleable>
Android SDK
AsyncTask
46. 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
ActionProvider
Scroller
Dots per inch
Destroyed - previous
47. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
SurfaceView
Google Play
GestureDetector
48. Conversion of XML back to an object
Deserialize
Destroyed - previous
ValueAnimator
Services
49. To create an activity - you must create a subclass of
Activity
onCreate();
onDraw()
Linux based
50. Theseare a key part of Android applications that directly affect the user experience.
SQLiteOpenHelper
Parser
onStop();
Layouts