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. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Back stack
BackupHelper
ViewStub
Layouts
2. The industry standard way to deal with authentication to third-party services.
Open Handset Alliance
OAuth2 protocol
PackageManager
onDestroy();
3. Android system uses a special virtual machine to run java based applicatons
Layouts
Dalvik Virtual Machine
Low power
Scroller
4. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
ShareActionProvider
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawBitmap()
5. In order to get a list of accounts on the device - your app needs this permission.
onPause();
GET_ACCOUNTS
Emulator
Explicit intent
6. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
EXTRA_STREAM
LTE
AsyncTask
Layouts
7. These helpers are specialized classes for backing up certain kinds of data.
ActionProvider
BackupHelper
GestureDetector
ACTION_DOCK_EVENT
8. 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 ___ .
Layouts
Stack
auth scope
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
9. Callback method: The activity is being created.
onCreate();
EXTRA_STREAM
security sandbox
PieChart
10. Callback method: Another activity is taking focus
onDestroy();
Full power
auth scope
onPause();
11. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Advanced Training
Hierarchy Viewer
Full power
SearchView
12. This is a readable source of bytes.
InputStream
onDraw()
Full power
Hierarchy Viewer
13. It is called to invoke the search dialog on older devices.
onSearchRequested()
Activity
ValueAnimator
ShareActionProvider
14. To define custom attributes - add this resources to your project.
SQLiteOpenHelper
Android SDK
onCreate() - onDestroy()
<declare-styleable>
15. Evaluation of registered components
ActionProvider
Dalvik Virtual Machine
Implicit intent
Back stack
16. This class exposes a number of methods for applications to receive location updates.
Application resources
Layouts
LocationManager
Activity
17. On a rooted device - the credentials would be readable by anyone with this access to the device.
Scroller
adb
Android SDK
ValueAnimator
18. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
AccountAuthenticatorActivity
Stack
drawBitmap()
authenticator class
19. Relative to pixels and resolution screen
setVolumeControlStream()
Dots per inch
Component - screen
Paint
20. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
getInputStream()
Stack - back stack
Application footprint
21. This object contains an account name - which for Google accounts is an email address.
Account
Hierarchy Viewer
ETC1
Component - screen
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onDraw()
BroadcastReceiver
ViewStub
Dalvik Virtual Machine
23. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BackupHelper
isConnected()
android.hardware.touchscreen
Serialize
24. The helper method is used to create the final width and height values.
dual-
<declare-styleable>
resolveSizeAndState()
NetworkInfo
25. Shows the actual amount of memory the application uses
Application footprint
Lifecycle callback methods
virtual table
PieChart
26. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onAudioFocusChange()
AccountAuthenticatorActivity
Dalvik Virtual Machine
android.hardware.touchscreen
27. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Intents
getInputStream()
Google Cloud Messaging for Android (GCM)
Hierarchy Viewer
28. Perform background tasks without providing a user interface
Ducking
ConnectivityManager
Services
Parser
29. 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?
Intent filters
EXTRA_STREAM
BroadcastReceiver
Linux based
30. This is the most common input event in the Android system.
resolveSizeAndState()
GET_ACCOUNTS
Geocoder
touch
31. 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
OAuth2
OnCurrentItemChanged
onStop();
32. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Scroller
Activity
onDraw()
ViewStub
33. Whenever the device is docked or undocked - this action is broadcast.
Explicit intent
Parser
ACTION_DOCK_EVENT
onMeasure()
34. 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.
Paint
onAudioFocusChange()
SQLite
Intents
35. An open source stand alone database
touch
SQLite
SettingsActivity
Paint
36. It is a string that defines the specific type of access your app is asking for.
drawBitmap()
auth scope
SurfaceView
Google Play
37. 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.
onCreate() - onDestroy()
OAuth2
Paint
Google Play
38. Direct component call in Android
Component - screen
Explicit intent
Parser
LTE
39. It inform the system what intents an application component is willing to accept.
virtual table
Account Manager
Paint
Intent filters
40. Android is __________.
Google
Linux based
Ducking
setContentView
41. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
onResume();
Widgets
AsyncTask
42. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Wi-Fi radio
SearchView
InputStream
43. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Service Content Provider
NetworkInfo
Fragments
44. If permissions are missing - the application will get this at runtime.
Stack - back stack
Activity
XmlPullParser
SecurityException
45. This is the simplest way to monitor device state changes.
BroadcastReceiver
onStart() - onStop()
AsyncTask
visible
46. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
ACTION_SEND
inflate()
Serialize
Widgets
47. 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.
SearchView
Widgets
Lifecycle callback methods
Google Cloud Messaging for Android (GCM)
48. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Android SDK
AbstractAccountAuthenticator
Intent filters
AudioManager
49. The entire lifetime of an activity happens between the call to _____ and the call to _____
HttpURLConnection
onCreate() - onDestroy()
PackageManager
Dots per inch
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
android.hardware.touchscreen
PackageManager
Dots per inch
Canvas