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 Android SDK tools include a tool that allows you to analyze your layout while your application is running.






2. Callback method: Another activity is taking focus






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






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






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






6. It is a lightweight mechanism used to transmit data from a server to a particular app instance.






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






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






9. Shows the actual amount of memory the application uses






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






11. Perform background tasks without providing a user interface






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






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






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






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






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






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






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






19. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.






20. Conversion of XML back to an object






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






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






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






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






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






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






27. Use this to draw bitmaps.






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






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






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






31. Relative to pixels and resolution screen






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






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






34. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.






35. These helpers are specialized classes for backing up certain kinds of data.






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






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






38. Callback method: The activity is no longer visible






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






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






41. Amode where the action bar is set up with tabs for navigation.






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






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






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






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






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






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






48. Where Android is currently primarily developed






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






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