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. It typically consumes more energy than 3G - which is in turn more expensive than 2G.






2. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .






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






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






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






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






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






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






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






10. Conversion of an object to XML






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






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






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






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






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






16. Android request its permission using its ________






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






18. An Activity is an application ______ that provides a _______ 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






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






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






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






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






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






24. Conversion of XML back to an object






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






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






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






28. It provides a simple way to perform your work outside the main thread.






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






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






31. Converts XML Document to XML DOM






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






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






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






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






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. Use this to draw text.






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






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






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






41. Callback method: Another activity is taking focus






42. It is a subclass of PreferenceActivity.






43. Represents the visual representation of an Android application






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






45. Callback method: The activity is no longer visible






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






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






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






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






50. Callback method: The activity is being created.