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. The helper method is used to create the final width and height values.






2. These helpers are specialized classes for backing up certain kinds of data.






3. Once installed on a device - each Android application lives in its own ______






4. 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 ___ .






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






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






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






8. To define custom attributes - add this resources to your project.






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






10. Necessary tools to develop Android applications






11. Represents the visual representation of an Android application






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






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






14. Use this to draw bitmaps.






15. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____






16. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).






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






18. Theseare a key part of Android applications that directly affect the user experience.






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






20. This is an interface which is used to pass image data from the camera hardware to the application.






21. Android request its permission using its ________






22. It is an efficient and maintainable way to parse XML on Android.






23. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?






24. Where Android is currently primarily developed






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






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






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






28. It is a subclass of PreferenceActivity.






29. Use this to draw text.






30. It made implementing an effective and user friendly share action in your ActionBar even easier.






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






32. The easiest way to create an authenticator class is to extend this and implement its abstract methods.






33. On a rooted device - the credentials would be readable by anyone with this access to the device.






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






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






36. Shows the actual amount of memory the application uses






37. is run when running Android on the pc






38. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.






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






40. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.






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






42. An open source stand alone database






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






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






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






46. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.






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






48. Callback method: The activity is being created.






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






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