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






2. This is a readable source of bytes.






3. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.






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






5. Android provides this handy method to direct volume key presses to the audio stream the user specify.






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






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






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






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






10. Android is __________.






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






12. Callback method: The activity is being created.






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






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






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






16. For example - a ____ might be a button that initiates an action when the user touches it.






17. Use this to draw text.






18. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?






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






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






21. Sharing of data in Android is done via________






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






23. It made implementing an effective and user friendly share action in your ActionBar even easier.






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






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






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






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






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






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






30. Android request its permission using its ________






31. Callback method: Another activity is taking focus






32. Converts XML Document to XML DOM






33. It is a free service for sending messages to Android devices.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






49. Direct component call in Android






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