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 ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().






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






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






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






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






6. Callback method: The activity is being created.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






22. Conversion of XML back to an object






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






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






25. Evaluation of registered components






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






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






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






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






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






31. This is the main class through which your application can access location services on Android.






32. Converts XML Document to XML DOM






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






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






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






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






37. It is a subclass of PreferenceActivity.






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






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






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






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






42. Callback method: The activity has become visible.






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






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






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






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






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






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






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






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






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests