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. Sharing of data in Android is done via________






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






3. Callback method: The activity has become visible.






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






5. This object contains an account name - which for Google accounts is an email address.






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






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






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






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






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






11. This action is used in sending text content from one activity to another.






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






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






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






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






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






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






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






19. Conversion of an object to XML






20. Android request its permission using its ________






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






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






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






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






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






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






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






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






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






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






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






32. Callback method: Another activity is taking focus






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






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






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






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






37. Callback method: The activity is being created.






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






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






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






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






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






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






44. It is a subclass of PreferenceActivity.






45. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






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






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






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






49. Perform background tasks without providing a user interface






50. This is a readable source of bytes.