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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






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






3. Android is __________.






4. You can set the layout as the UI for your activity with passing the resource ID for the layout.






5. The industry standard way to deal with authentication to third-party services.






6. For example - a ____ might be a button that initiates an action when the user touches it.






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






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






9. Android request its permission using its ________






10. 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?






11. This class is the basis for handling flywheel-style fling gestures.






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






13. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.






14. It typically consumes more energy than 3G - which is in turn more expensive than 2G.






15. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.






16. This is used for the need of finer control over your view's layout parameters.






17. An open source stand alone database






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






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






20. The most common way to define a layout using views is with an XML layout file saved in your ______






21. Direct component call in Android






22. It is available starting with API Level 14 and higher.






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






24. Sharing of data in Android is done via________






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






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






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






28. An intermediate state that uses around 50% of the battery power at the full state.






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






30. Evaluation of registered components






31. It is a free service for sending messages to Android devices.






32. Android provides this handy method to direct volume key presses to the audio stream the user specify.






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






34. Where Android is currently primarily developed






35. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.






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






37. Callback method: The activity is no longer visible.






38. This class exposes a number of methods for applications to receive location updates.






39. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.






40. It is an HTTP client that is used for applications targeted at Gingerbread and higher.






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






42. Callback method: The activity is about to be destroyed.






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






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






45. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .






46. Conversion of an object to XML






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






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






49. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.






50. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.