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 entire lifetime of an activity happens between the call to _____ and the call to _____






2. Android request its permission using its ________






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






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






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






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






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






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






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






10. This is used to register and de-register your media button event receiver.






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






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






13. Amode where the action bar is set up with tabs for navigation.






14. In most cases this will offer greater bandwidth at a significantly lower battery cost.






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






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






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






18. Direct component call in Android






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






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






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






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






23. is run when running Android on the pc






24. Callback method: The activity has become visible.






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






26. This can be used to draw previews of what the camera sensor is picking up.






27. This includes tools to help you identify problems in your layout performance.






28. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.






29. It is a set of rules for encoding documents in machine-readable form.






30. Where Android is currently primarily developed






31. Allow to combine loosely coupled components to perform certain tasks






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






33. Necessary tools to develop Android applications






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






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






36. Represents the visual representation of an Android application






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






38. An open source group led by Google






39. It inform the system what intents an application component is willing to accept.






40. This is a readable source of bytes.






41. Converts XML Document to XML DOM






42. This is set up to animate for the duration of the fling.






43. This is used to convert raw touch events into gestures.






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






45. It is called to invoke the search dialog on older devices.






46. It is a string that defines the specific type of access your app is asking for.






47. This class computes scroll positions for you - but it does not automatically apply those positions to your view.






48. Sharing of data in Android is done via________






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






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