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. Necessary tools to develop Android applications
Android SDK
ACTION_DOCK_EVENT
Scroller
ActionProvider
2. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onStop();
ConnectivityManager
Scroller
Extensible Markup Language (XML)
3. When a new activity starts - it is pushed onto the ____ and takes user focus.
Entire
HttpURLConnection
drawBitmap()
Back stack
4. ______ are views derived from ViewGroup that provide a unique layout model for its child views
XmlPullParser
ConnectivityManager
onPause();
Layouts
5. Conversion of XML back to an object
Application footprint
Deserialize
Google Cloud Messaging (GCM)
BatteryManager
6. A mode where navigation is set up with a spinner widget.
inflate()
getInputStream()
Dalvik Debug Monitor Server
single-pane
7. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
ConnectivityManager
AudioManager
SearchView
virtual table
8. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
drawText()
Google Cloud Messaging (GCM)
Wi-Fi radio
android.hardware.touchscreen
9. 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
SettingsActivity
LTE
onStart() - onStop()
10. 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
ActionProvider
ACTION_DOCK_EVENT
Extensible Markup Language (XML)
PackageManager
11. Most network-connected Android apps use this to send and receive data.
LocationManager
Intents
BroadcastReceiver
HTTP
12. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
onStop();
Implicit intent
ActionProvider
13. Conversion of an object to XML
Serialize
Widgets
SettingsActivity
BackupHelper
14. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
drawText()
Scroller
AsyncTask
NetworkInfo
15. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Widgets
onStop();
When the activity resumes
Scroller
16. 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
Hierarchy Viewer
Destroyed - previous
View
HttpURLConnection
17. An open source group led by Google
SurfaceView
GET_ACCOUNTS
Open Handset Alliance
adb
18. Evaluation of registered components
Implicit intent
ShareActionProvider
onStart() - onStop()
Intent filters
19. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Linux based
Layouts
ViewStub
SQLiteOpenHelper
20. 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
ETC1
onSearchRequested()
android.hardware.touchscreen
Component - screen
21. Callback method: The activity has become visible.
AbstractAccountAuthenticator
Android SDK
Widgets
onResume();
22. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Application resources
ShareActionProvider
Hierarchy Viewer
OAuth2 protocol
23. The entire lifetime of an activity happens between the call to _____ and the call to _____
ValueAnimator
Stack
onStart() - onStop()
onCreate() - onDestroy()
24. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Back stack
Full power
visible
Intents
25. 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.
SQLite
Dalvik Virtual Machine
ETC1
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
26. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
authenticator class
onDraw()
SearchView
Dalvik Debug Monitor Server
27. This is used to register and de-register your media button event receiver.
Dalvik Virtual Machine
AudioManager
Full power
Canvas
28. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Scroller
onStop();
onCreate() - onDestroy()
LTE
29. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Activity
ViewStub
ValueAnimator
30. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Application resources
setVolumeControlStream()
Serialize
inflate()
31. It is a set of rules for encoding documents in machine-readable form.
Standby
Extensible Markup Language (XML)
Wi-Fi radio
Scroller
32. This broadcasts an action whenever the device is connected or disconnected from power.
BroadcastReceiver
BatteryManager
Serialize
Stack - back stack
33. An open source stand alone database
SQLite
SettingsActivity
inflate()
Google Cloud Messaging for Android (GCM)
34. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ValueAnimator
Canvas
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Activity
Advanced Training
SecurityException
onStart() - onStop()
36. It is a free service for sending messages to Android devices.
setContentView
LocationManager
SurfaceHolder.Callback
Google Cloud Messaging (GCM)
37. Perform background tasks without providing a user interface
onResume();
AsyncTask
Services
Application resources
38. Direct component call in Android
Google Play
Standby
Explicit intent
LTE
39. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Full power
ACTION_SEND
Stack - back stack
40. The most common way to define a layout using views is with an XML layout file saved in your ______
SearchView
BatteryManager
Application resources
Implicit intent
41. Android system uses a special virtual machine to run java based applicatons
Stack - back stack
AccountAuthenticatorActivity
Google Cloud Messaging for Android (GCM)
Dalvik Virtual Machine
42. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SurfaceHolder.Callback
Entire
onCreate();
Back stack
43. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SurfaceHolder.Callback
authenticator class
Lifecycle callback methods
isConnected()
44. To define custom attributes - add this resources to your project.
Fragments
setContentView
<declare-styleable>
Explicit intent
45. This is used to convert raw touch events into gestures.
auth scope
ConnectivityManager
GestureDetector
LocationManager
46. On a rooted device - the credentials would be readable by anyone with this access to the device.
Google Cloud Messaging for Android (GCM)
Account
adb
Explicit intent
47. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Back stack
setContentView
OAuth2
48. It provides a simple way to perform your work outside the main thread.
onStop();
Dots per inch
AsyncTask
Standby
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
drawText()
SurfaceHolder.Callback
Explicit intent
Widgets
50. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Application footprint
adb
EXTRA_STREAM
When the activity resumes