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






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






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






4. Callback method: The activity has become visible.






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






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






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






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






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






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






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






12. It is a subclass of PreferenceActivity.






13. Perform background tasks without providing a user interface






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






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






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






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






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






19. Android request its permission using its ________






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






21. Android provides this handy method to direct volume key presses to the audio stream the user specify.






22. Where Android is currently primarily developed






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






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






25. A mode where navigation is set up with a spinner widget.






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






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






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






29. An open source stand alone database






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






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






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






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






34. Callback method: The activity is no longer visible






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






36. A service in which programmers can offer their Android application to Android users.






37. Use this to draw text.






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






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






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






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






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






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






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






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. An open source group led by Google






47. Sharing of data in Android is done via________






48. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.






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






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