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 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 _____






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






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






4. Android system uses a special virtual machine to run java based applicatons






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






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






7. To create an activity - you must create a subclass of






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






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






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






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






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






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






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






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. Necessary tools to develop Android applications






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






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






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






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






21. Relative to pixels and resolution screen






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






23. ______ are views derived from ViewGroup that provide a unique layout model for its child views






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






25. Conversion of an object to XML






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






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






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






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






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






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






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






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






34. Direct component call in Android






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. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.






37. Android is __________.






38. Callback method: The activity is being created.






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






40. An open source stand alone database






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






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






43. Converts XML Document to XML DOM






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






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






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






47. Callback method: The activity is no longer visible






48. Represents the visual representation of an Android application






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






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