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. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Linux based
Scroller
2. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Linux based
onAudioFocusChange()
Full power
onPause();
3. It is a free service for sending messages to Android devices.
isConnected()
onAudioFocusChange()
Google Cloud Messaging (GCM)
Google Cloud Messaging for Android (GCM)
4. To define custom attributes - add this resources to your project.
Linux based
Entire
Full power
<declare-styleable>
5. It is a subclass of PreferenceActivity.
Scroller
SettingsActivity
dual-
Paint
6. Use this to draw text.
Google Play
onCreate() - onDestroy()
drawText()
Widgets
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
HTTP
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
8. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
SecurityException
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
single-pane
9. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
touch
BroadcastReceiver
Canvas
LocationManager
10. Direct component call in Android
Explicit intent
Full power
GET_ACCOUNTS
LocationManager
11. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Intent filters
android.hardware.touchscreen
<declare-styleable>
BackupHelper
12. This class is the basis for handling flywheel-style fling gestures.
onDraw()
Scroller
Implicit intent
ACTION_DOCK_EVENT
13. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
SurfaceView
SQLite
Component - screen
14. It is a string that defines the specific type of access your app is asking for.
AccountAuthenticatorActivity
Parser
single-pane
auth scope
15. 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.
ETC1
ActionProvider
SurfaceView
onCreate() - onDestroy()
16. Once installed on a device - each Android application lives in its own ______
dual-
security sandbox
Destroyed - previous
Account Manager
17. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Linux based
ACTION_DOCK_EVENT
onDestroy();
18. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
NetworkInfo
Paint
LTE
onCreate() - onDestroy()
19. It is available starting with API Level 14 and higher.
isConnected()
ShareActionProvider
Widgets
Lifecycle callback methods
20. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
GestureDetector
Android SDK
Services
21. 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.
Objects Activity lifecycle
AsyncTask
onPause();
SearchView
22. This class provides one of the simplest ways to fire off a new task from the UI thread.
Dalvik Debug Monitor Server
AsyncTask
Extensible Markup Language (XML)
Open Handset Alliance
23. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Account
onCreate() - onDestroy()
virtual table
SQLiteOpenHelper
24. Use this to draw bitmaps.
drawBitmap()
Explicit intent
auth scope
Layouts
25. Android system uses a special virtual machine to run java based applicatons
Wi-Fi radio
Dalvik Virtual Machine
onResume();
BatteryManager
26. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
PackageManager
Objects Activity lifecycle
Scroller
27. Amode where the action bar is set up with tabs for navigation.
Implicit intent
onPause();
dual-
Google Cloud Messaging (GCM)
28. This is used to convert raw touch events into gestures.
ETC1
SearchView
GestureDetector
View
29. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
adb
Account Manager
OnCurrentItemChanged
ViewStub
30. It inform the system what intents an application component is willing to accept.
drawBitmap()
Intent filters
AsyncTask
Parser
31. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ViewStub
NetworkInfo
SecurityException
Entire
32. It provides a simple way to perform your work outside the main thread.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
ACTION_DOCK_EVENT
Component - screen
33. This is used to register and de-register your media button event receiver.
Widgets
AudioManager
Parser
onCreate() - onDestroy()
34. A mode where navigation is set up with a spinner widget.
single-pane
SQLite
Open Handset Alliance
ConnectivityManager
35. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
drawBitmap()
AbstractAccountAuthenticator
touch
Wi-Fi radio
36. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
BatteryManager
Application resources
inflate()
ETC1
37. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onDestroy();
SurfaceHolder.Callback
Geocoder
Paint
38. This is an interface which is used to pass image data from the camera hardware to the application.
ConnectivityManager
ViewStub
onResume();
SurfaceHolder.Callback
39. This action is used in sending text content from one activity to another.
Intent filters
ACTION_SEND
OAuth2
Service Content Provider
40. An open source group led by Google
onStop();
PieChart
OnCurrentItemChanged
Open Handset Alliance
41. Callback method: The activity has become visible.
Service Content Provider
onResume();
HTTP
android.hardware.touchscreen
42. 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
Back stack
Destroyed - previous
BatteryManager
Services
43. 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 _____
Account Manager
SettingsActivity
onCreate() - onDestroy()
SearchView
44. This widget as an item in the action bar is the preferred way to provide search in your app.
Canvas
Objects Activity lifecycle
Service Content Provider
SearchView
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Stack - back stack
adb
Hierarchy Viewer
Deserialize
46. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Open Handset Alliance
onStop();
AbstractAccountAuthenticator
47. A styleable entity that contains these two custom attributes: showText and labelPosition.
NetworkInfo
onSearchRequested()
PieChart
Account
48. Allow to combine loosely coupled components to perform certain tasks
PackageManager
setContentView
Intents
ViewStub
49. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Widgets
ETC1
SearchView
50. An open source stand alone database
AttributeSet
SQLite
AccountAuthenticatorActivity
Services