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. Amode where the action bar is set up with tabs for navigation.
dual-
Activity
onCreate() - onDestroy()
Layouts
2. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onCreate() - onDestroy()
LTE
Objects Activity lifecycle
visible
3. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
ConnectivityManager
BatteryManager
HTTP
4. It is a set of rules for encoding documents in machine-readable form.
Android SDK
Application resources
onCreate();
Extensible Markup Language (XML)
5. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Account Manager
Scroller
searchable configuration
ETC1
6. 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
Scroller
adb
BroadcastReceiver
7. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
AsyncTask
Dalvik Debug Monitor Server
Activity
8. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
SearchView
OAuth2 protocol
onStop();
9. Shows the actual amount of memory the application uses
AsyncTask
Application footprint
Activity
onPause();
10. 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
security sandbox
SettingsActivity
drawText()
Destroyed - previous
11. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
When the activity resumes
Stack - back stack
LocationManager
NetworkInfo
12. This class is the basis for handling flywheel-style fling gestures.
Scroller
onPause();
BatteryManager
View
13. The most common way to define a layout using views is with an XML layout file saved in your ______
Activity
Application resources
EXTRA_STREAM
Low power
14. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
single-pane
BatteryManager
touch
Serialize
15. 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 ___ .
searchable configuration
drawText()
dual-
Stack
16. The dock-state details are included as an extra in a sticky broadcast of this action.
AccountAuthenticatorActivity
AsyncTask
touch
ACTION_DOCK_EVENT
17. It is available starting with API Level 14 and higher.
SearchView
ACTION_DOCK_EVENT
onStop();
ShareActionProvider
18. The industry standard way to deal with authentication to third-party services.
Intent filters
Application resources
Scroller
OAuth2 protocol
19. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Implicit intent
touch
Canvas
Fragments
20. This is used to fetch the account names that the user has stored on their device.
Account Manager
adb
InputStream
ACTION_DOCK_EVENT
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.
SearchView
Ducking
setVolumeControlStream()
ACTION_DOCK_EVENT
22. 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.
onResume();
AccountAuthenticatorActivity
Ducking
ACTION_SEND
23. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
SettingsActivity
Google
Advanced Training
24. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AbstractAccountAuthenticator
Account
onDraw()
SQLite
25. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Dalvik Debug Monitor Server
Google
dual-
setContentView
26. This class exposes a number of methods for applications to receive location updates.
LocationManager
onPause();
Google Play
Component - screen
27. The visible lifetime of an activity happens between the call to ____ and the call to ______
Full power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onStart() - onStop()
Lifecycle callback methods
28. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Deserialize
Dots per inch
Google Cloud Messaging for Android (GCM)
Objects Activity lifecycle
29. A styleable entity that contains these two custom attributes: showText and labelPosition.
ConnectivityManager
PieChart
android.hardware.touchscreen
SurfaceHolder.Callback
30. Callback method: The activity has become visible.
Implicit intent
AndroidManifest.xml
onResume();
Entire
31. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
ConnectivityManager
Advanced Training
AsyncTask
32. It is an efficient and maintainable way to parse XML on Android.
visible
onStop();
Full power
XmlPullParser
33. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
onAudioFocusChange()
security sandbox
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
34. 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
Intent filters
Component - screen
onCreate() - onDestroy()
Deserialize
35. Are used in activities to create the user interface and to interact with the user.
getInputStream()
Fragments
Account
Activity
36. This is used for the need of finer control over your view's layout parameters.
OAuth2
Google Play
onMeasure()
ShareActionProvider
37. It is a subclass of PreferenceActivity.
Service Content Provider
SettingsActivity
Fragments
onCreate() - onDestroy()
38. This widget as an item in the action bar is the preferred way to provide search in your app.
setVolumeControlStream()
BroadcastReceiver
Serialize
SearchView
39. Necessary tools to develop Android applications
<declare-styleable>
Standby
Android SDK
onResume();
40. Callback method: Another activity is taking focus
onPause();
resolveSizeAndState()
ActionProvider
Ducking
41. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Full power
BackupHelper
AsyncTask
42. This is used to convert raw touch events into gestures.
onStart() - onStop()
GestureDetector
NetworkInfo
Layouts
43. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
onPause();
Layouts
SurfaceView
44. Direct component call in Android
Stack
Entire
Explicit intent
Activity
45. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Ducking
AudioManager
ACTION_SEND
Advanced Training
46. Converts XML Document to XML DOM
View
ViewStub
Parser
Deserialize
47. 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
Fragments
When the activity resumes
PackageManager
drawBitmap()
48. It is a string that defines the specific type of access your app is asking for.
AsyncTask
Canvas
auth scope
Android SDK
49. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
resolveSizeAndState()
OAuth2 protocol
Scroller
50. Android request its permission using its ________
Services
Dalvik Virtual Machine
AndroidManifest.xml
Activity