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. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.






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






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






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






5. Android is __________.






6. Converts XML Document to XML DOM






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






8. Conversion of XML back to an object






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






10. Callback method: The activity is being created.






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






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






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






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






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






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






17. Use this to draw text.






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






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






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






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






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






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






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






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






26. Perform background tasks without providing a user interface






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






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






29. Use this to draw bitmaps.






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






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






32. Relative to pixels and resolution screen






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






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






35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.






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 minimal energy state during which no network connection is active or required.






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






39. In order to get a list of accounts on the device - your app needs this permission.






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






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






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






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






44. It is a string that defines the specific type of access your app is asking for.






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






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






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






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






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






50. Sharing of data in Android is done via________