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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.






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






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






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






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






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






7. It is a string that defines the specific type of access your app is asking for.






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






9. Callback method: The activity is being created.






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






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






12. This is a readable source of bytes.






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






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






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






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






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






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






19. It is used to load images in a background thread - then apply them to the UI once finished.






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






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






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






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






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






25. Evaluation of registered components






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






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






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






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






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






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






32. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.






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






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






35. Android is __________.






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






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






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






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






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






41. Direct component call in Android






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






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






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






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






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






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






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






49. If permissions are missing - the application will get this at runtime.






50. To define custom attributes - add this resources to your project.