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. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.






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






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






4. An open source group led by Google






5. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes






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






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






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






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






10. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.






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






12. Callback method: Another activity is taking focus






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






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






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






16. Use this to draw text.






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






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. Shows the actual amount of memory the application uses






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






21. Necessary tools to develop Android applications






22. The helper method is used to create the final width and height values.






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






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






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






26. Use this to draw bitmaps.






27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.






28. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.






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






30. Sharing of data in Android is done via________






31. Conversion of XML back to an object






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






33. Callback method: The activity is no longer visible






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






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






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






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






38. The easiest way to create an authenticator class is to extend this and implement its abstract methods.






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






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






41. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________






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






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






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






45. Relative to pixels and resolution screen






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






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






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






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






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