Test your basic knowledge |

Android Programming

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 broadcasts all battery and charging details in a sticky Intent that includes the charging status.






2. The dock-state details are included as an extra in a sticky broadcast of this action.






3. It doesn't currently support the <merge/> tag in the layouts to be inflated.






4. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.






5. Used when a connection is active - allowing the device to transfer data at its highest possible rate.






6. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().






7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.






8. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.






9. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.






10. Callback method: The activity is no longer visible






11. 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






12. Android system uses a special virtual machine to run java based applicatons






13. This is the simplest way to monitor device state changes.






14. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____






15. This is used to fetch the account names that the user has stored on their device.






16. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).






17. It is a lightweight mechanism used to transmit data from a server to a particular app instance.






18. It is used to load images in a background thread - then apply them to the UI once finished.






19. Perform background tasks without providing a user interface






20. Represents the visual representation of an Android application






21. Conversion of XML back to an object






22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.






23. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.






24. A mode where navigation is set up with a spinner widget.






25. This widget as an item in the action bar is the preferred way to provide search in your app.






26. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.






27. 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.






28. Are used in activities to create the user interface and to interact with the user.






29. ______ are views derived from ViewGroup that provide a unique layout model for its child views






30. The minimal energy state during which no network connection is active or required.






31. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().






32. 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.






33. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________






34. The helper method is used to create the final width and height values.






35. It provides a simple way to perform your work outside the main thread.






36. If permissions are missing - the application will get this at runtime.






37. Most network-connected Android apps use this to send and receive data.






38. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.






39. Use this to draw text.






40. Necessary tools to develop Android applications






41. 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.






42. The entire lifetime of an activity happens between the call to _____ and the call to _____






43. This broadcasts an action whenever the device is connected or disconnected from power.






44. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.






45. This is the most common input event in the Android system.






46. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.






47. 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.






48. A service in which programmers can offer their Android application to Android users.






49. Conversion of an object to XML






50. Whenever the device is docked or undocked - this action is broadcast.