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. Are used in activities to create the user interface and to interact with the user.






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






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






4. This is a readable source of bytes.






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






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






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






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






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






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






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






12. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.






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






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






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






16. Callback method: The activity is being created.






17. It is a subclass of PreferenceActivity.






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






19. An open source stand alone database






20. Relative to pixels and resolution screen






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






22. Converts XML Document to XML DOM






23. This class provides one of the simplest ways to fire off a new task from the UI thread.






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






25. Represents the visual representation of an Android application






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






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






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






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






30. Callback method: The activity has become visible.






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






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






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






34. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________






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






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






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






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






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






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






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






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






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






44. Conversion of an object to XML






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






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






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






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






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






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