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. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.






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






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






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






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






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






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






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






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






10. Callback method: The activity has become visible.






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






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






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






14. Represents the visual representation of an Android application






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






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






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






18. Callback method: The activity is being created.






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






20. It is a subclass of PreferenceActivity.






21. This is a readable source of bytes.






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






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






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






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






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






27. Shows the actual amount of memory the application uses






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






29. This class is the basis for handling flywheel-style fling gestures.






30. This handles cases like flaky mobile networks - airplane mode - and restricted background data.






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






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






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






34. An open source stand alone database






35. Sharing of data in Android is done via________






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






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






38. Android is __________.






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






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. The helper method is used to create the final width and height values.






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






44. Conversion of XML back to an object






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






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






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






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






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






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