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 receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.






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






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






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






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






7. Callback method: The activity has become visible.






8. Whenever the device is docked or undocked - this action is broadcast.






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






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






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






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






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






14. Direct component call in Android






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






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






17. Shows the actual amount of memory the application uses






18. Sharing of data in Android is done via________






19. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().






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






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






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






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






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






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






26. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.






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






28. Android request its permission using its ________






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






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






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






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






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






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






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






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






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






38. is run when running Android on the pc






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






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






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






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






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






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






45. This action is used in sending text content from one activity to another.






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






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






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






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






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