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. Conversion of XML back to an object






2. Use this to draw bitmaps.






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






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






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






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






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






8. Shows the actual amount of memory the application uses






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






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






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






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






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






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






15. Relative to pixels and resolution screen






16. Callback method: The activity is being created.






17. Where Android is currently primarily developed






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






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






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






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






22. This class provides one of the simplest ways to fire off a new task from the UI thread.






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






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






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






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






27. Callback method: The activity is no longer visible






28. Evaluation of registered components






29. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.






30. It is an efficient and maintainable way to parse XML on Android.






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






32. It is a subclass of PreferenceActivity.






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






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






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






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






37. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.






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






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






40. Most network-connected Android apps use this to send and receive data.






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






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






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






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






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






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






47. An open source stand alone database






48. Represents the visual representation of an Android application






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






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