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. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Scroller
onPause();
Dalvik Debug Monitor Server
2. It is available starting with API Level 14 and higher.
onAudioFocusChange()
AsyncTask
ShareActionProvider
authenticator class
3. Callback method: The activity is no longer visible.
Account
onStop();
Destroyed - previous
AndroidManifest.xml
4. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Extensible Markup Language (XML)
SearchView
Stack - back stack
Fragments
5. The minimal energy state during which no network connection is active or required.
onResume();
BackupHelper
Standby
Entire
6. This can be used to draw previews of what the camera sensor is picking up.
Dalvik Virtual Machine
BroadcastReceiver
Intent filters
SurfaceView
7. is run when running Android on the pc
onCreate();
Emulator
drawBitmap()
Intents
8. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Serialize
inflate()
SettingsActivity
visible
9. 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.
GET_ACCOUNTS
PackageManager
Google Cloud Messaging (GCM)
SearchView
10. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Android SDK
Linux based
Deserialize
11. This class exposes a number of methods for applications to receive location updates.
SurfaceHolder.Callback
AndroidManifest.xml
LocationManager
Extensible Markup Language (XML)
12. This is the simplest way to monitor device state changes.
BackupHelper
BroadcastReceiver
Objects Activity lifecycle
onStart() - onStop()
13. It provides a simple way to perform your work outside the main thread.
AudioManager
AsyncTask
Emulator
SettingsActivity
14. 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.
Activity
AsyncTask
GestureDetector
Application footprint
15. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Standby
ViewStub
ConnectivityManager
GET_ACCOUNTS
16. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Component - screen
Hierarchy Viewer
AsyncTask
EXTRA_STREAM
17. This is set up to animate for the duration of the fling.
View
Google Play
PieChart
ValueAnimator
18. 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.
ViewStub
SearchView
OAuth2
Google
19. 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
drawText()
LocationManager
Dalvik Virtual Machine
20. Theseare a key part of Android applications that directly affect the user experience.
SecurityException
setContentView
Layouts
NetworkInfo
21. Direct component call in Android
View
Linux based
Explicit intent
onDestroy();
22. 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 ___ .
getInputStream()
AsyncTask
Destroyed - previous
Stack
23. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AndroidManifest.xml
SurfaceHolder.Callback
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ShareActionProvider
24. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
LocationManager
ViewStub
Canvas
Ducking
25. Shows the actual amount of memory the application uses
Application footprint
ACTION_DOCK_EVENT
Implicit intent
ConnectivityManager
26. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ShareActionProvider
Ducking
When the activity resumes
<declare-styleable>
27. This is the most common input event in the Android system.
Android SDK
XmlPullParser
touch
BroadcastReceiver
28. This is used to convert raw touch events into gestures.
GestureDetector
Implicit intent
ShareActionProvider
SQLiteOpenHelper
29. A styleable entity that contains these two custom attributes: showText and labelPosition.
adb
setContentView
Component - screen
PieChart
30. It is an efficient and maintainable way to parse XML on Android.
Widgets
View
Intents
XmlPullParser
31. It inform the system what intents an application component is willing to accept.
setContentView
GET_ACCOUNTS
Intent filters
Dots per inch
32. This is used for the need of finer control over your view's layout parameters.
onMeasure()
PieChart
HTTP
Activity
33. If permissions are missing - the application will get this at runtime.
touch
Activity
SecurityException
AsyncTask
34. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Deserialize
BatteryManager
onStop();
35. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
AudioManager
XmlPullParser
Entire
getInputStream()
36. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
setContentView
SearchView
Canvas
onStart() - onStop()
37. Evaluation of registered components
Implicit intent
Lifecycle callback methods
Activity
Android SDK
38. Android is __________.
Linux based
BatteryManager
Wi-Fi radio
Geocoder
39. This is an interface which is used to pass image data from the camera hardware to the application.
isConnected()
Component - screen
SurfaceHolder.Callback
Ducking
40. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
SecurityException
Advanced Training
GestureDetector
41. An Activity is an application ______ that provides a _______ 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
EXTRA_STREAM
PieChart
Component - screen
dual-
42. This is a readable source of bytes.
onMeasure()
Hierarchy Viewer
InputStream
setVolumeControlStream()
43. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
SettingsActivity
auth scope
Activity
44. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Activity
onAudioFocusChange()
dual-
45. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Activity
ACTION_DOCK_EVENT
OnCurrentItemChanged
Lifecycle callback methods
46. The most common way to define a layout using views is with an XML layout file saved in your ______
Open Handset Alliance
Wi-Fi radio
Layouts
Application resources
47. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Full power
Wi-Fi radio
Canvas
Intent filters
48. Use this to draw bitmaps.
Component - screen
drawText()
onStart() - onStop()
drawBitmap()
49. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Android SDK
ViewStub
BroadcastReceiver
Advanced Training
50. 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.
Low power
ETC1
searchable configuration
LocationManager