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. Callback method: The activity is no longer visible






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






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






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






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






6. Use this to draw bitmaps.






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






8. Represents the visual representation of an Android application






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






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






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






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






13. Android request its permission using its ________






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






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






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






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






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






19. Sharing of data in Android is done via________






20. Direct component call in Android






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






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






23. Relative to pixels and resolution screen






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






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






26. Converts XML Document to XML DOM






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






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






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






30. Shows the actual amount of memory the application uses






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






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






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






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






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






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






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






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






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






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






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. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.






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






44. The easiest way to create an authenticator class is to extend this and implement its abstract methods.






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






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






47. Amode where the action bar is set up with tabs for navigation.






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






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






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