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. To create an activity - you must create a subclass of






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






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






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






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






6. Android is __________.






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






8. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).






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






10. Android request its permission using its ________






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






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






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






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






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






16. Callback method: The activity has become visible.






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






18. Relative to pixels and resolution screen






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






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






21. A mode where navigation is set up with a spinner widget.






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






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






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






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






26. It is an efficient and maintainable way to parse XML on Android.






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






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






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






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






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






32. Where Android is currently primarily developed






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






34. It is used to load images in a background thread - then apply them to the UI once finished.






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






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






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






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






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






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






41. Callback method: The activity is being created.






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






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






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






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






46. Conversion of XML back to an object






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






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






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






50. An open source group led by Google