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 class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.






2. Perform background tasks without providing a user interface






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






4. In order to get a list of accounts on the device - your app needs this permission.






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






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






7. Direct component call in Android






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






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






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






11. When a new activity starts - it is pushed onto the ____ and takes user focus.






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






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






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






15. The visible lifetime of an activity happens between the call to ____ and the call to ______






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






17. This is used to check that you're actually connected to the Internet and what type of connection is in place.






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






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






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






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






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






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






24. This is a readable source of bytes.






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






26. Callback method: The activity is being created.






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






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






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






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






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






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






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






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






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






36. It is a subclass of PreferenceActivity.






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






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






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






40. An open source stand alone database






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






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






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






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






45. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.






46. Use this to draw bitmaps.






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






48. A styleable entity that contains these two custom attributes: showText and labelPosition.






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






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