Test your basic knowledge |

Android Programming

Subject : it-skills
  • 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 most common way to define a layout using views is with an XML layout file saved in your ______

2. When a new activity starts - it is pushed onto the ____ and takes user focus.

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

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

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

6. An open source group led by Google

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

8. Evaluation of registered components

9. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.

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

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

12. This is the main class through which your application can access location services on Android.

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

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

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

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

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

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

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

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

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

22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.

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

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

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

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

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

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

29. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?

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

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

32. Conversion of XML back to an object

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

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

35. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.

36. The dock-state details are included as an extra in a sticky broadcast of this action.

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

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

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

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

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

42. Sharing of data in Android is done via________

43. It is a subclass of PreferenceActivity.

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

45. To create an activity - you must create a subclass of

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

47. Shows the actual amount of memory the application uses

48. Represents the visual representation of an Android application

49. This is the most common input event in the Android system.

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