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 broadcasts all battery and charging details in a sticky Intent that includes the charging status.






2. Callback method: The activity is about to be destroyed.






3. Use this to draw text.






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






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






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






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






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






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






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






11. Conversion of XML back to an object






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






13. Android request its permission using its ________






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






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






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






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






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






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






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






21. Conversion of an object to XML






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






23. The helper method is used to create the final width and height values.






24. For instance - when stopped - your activity should release any large ____ - such as network or database connections.






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






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






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






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






29. Shows the actual amount of memory the application uses






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






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






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






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






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






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






36. This action is used in sending text content from one activity to another.






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






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






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






40. Android is __________.






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






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






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






44. Callback method: Another activity is taking focus






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






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






47. This is used to check that you're actually connected to the Internet and what type of connection is in place.






48. Converts XML Document to XML DOM






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