SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Android Programming
Start Test
Study First
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.
BroadcastReceiver
dual-
BatteryManager
Parser
2. Callback method: The activity is about to be destroyed.
onStart() - onStop()
Dots per inch
HTTP
onDestroy();
3. Use this to draw text.
SurfaceHolder.Callback
Component - screen
drawText()
<declare-styleable>
4. Amode where the action bar is set up with tabs for navigation.
Linux based
Google Cloud Messaging (GCM)
dual-
Entire
5. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
AudioManager
ConnectivityManager
Deserialize
6. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Dalvik Debug Monitor Server
Wi-Fi radio
Services
BatteryManager
7. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
getInputStream()
Layouts
Destroyed - previous
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.
BatteryManager
ACTION_DOCK_EVENT
virtual table
Serialize
9. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Application resources
resolveSizeAndState()
Hierarchy Viewer
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 _____
onCreate() - onDestroy()
AsyncTask
View
PackageManager
11. Conversion of XML back to an object
Deserialize
Objects Activity lifecycle
Standby
Wi-Fi radio
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
ACTION_SEND
GET_ACCOUNTS
security sandbox
Component - screen
13. Android request its permission using its ________
AndroidManifest.xml
SearchView
BatteryManager
Linux based
14. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Objects Activity lifecycle
SearchView
When the activity resumes
Scroller
15. The visible lifetime of an activity happens between the call to ____ and the call to ______
Application footprint
resolveSizeAndState()
Serialize
onStart() - onStop()
16. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Google Cloud Messaging for Android (GCM)
getInputStream()
OAuth2
Activity
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
Low power
Service Content Provider
Dalvik Virtual Machine
Destroyed - previous
18. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
AsyncTask
ConnectivityManager
Intents
visible
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.
ETC1
SettingsActivity
Intent filters
virtual table
20. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Activity
InputStream
Canvas
21. Conversion of an object to XML
dual-
drawBitmap()
Scroller
Serialize
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
getInputStream()
BroadcastReceiver
SearchView
LocationManager
23. The helper method is used to create the final width and height values.
Open Handset Alliance
resolveSizeAndState()
Explicit intent
ETC1
24. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
XmlPullParser
Google
NetworkInfo
25. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
OnCurrentItemChanged
Application footprint
Serialize
26. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Service Content Provider
visible
Android SDK
27. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
drawBitmap()
Hierarchy Viewer
InputStream
Lifecycle callback methods
28. On a rooted device - the credentials would be readable by anyone with this access to the device.
View
AudioManager
Linux based
adb
29. Shows the actual amount of memory the application uses
Application footprint
onDestroy();
BatteryManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
30. It is available starting with API Level 14 and higher.
ShareActionProvider
Low power
ConnectivityManager
Back stack
31. It is a string that defines the specific type of access your app is asking for.
Activity
LocationManager
Activity
auth scope
32. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
authenticator class
Android SDK
onDraw()
AsyncTask
33. This object contains an account name - which for Google accounts is an email address.
Open Handset Alliance
<declare-styleable>
Back stack
Account
34. If permissions are missing - the application will get this at runtime.
onAudioFocusChange()
Objects Activity lifecycle
SearchView
SecurityException
35. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
BroadcastReceiver
SearchView
onStop();
36. This action is used in sending text content from one activity to another.
Standby
ACTION_SEND
Account Manager
Implicit intent
37. It is a set of rules for encoding documents in machine-readable form.
PackageManager
Extensible Markup Language (XML)
SurfaceHolder.Callback
ShareActionProvider
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?
AttributeSet
Fragments
SearchView
Android SDK
39. Most network-connected Android apps use this to send and receive data.
HTTP
virtual table
onCreate() - onDestroy()
LocationManager
40. Android is __________.
Services
single-pane
Linux based
Emulator
41. This is used to convert raw touch events into gestures.
GestureDetector
onPause();
ViewStub
GET_ACCOUNTS
42. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Low power
Account Manager
InputStream
43. It provides a simple way to perform your work outside the main thread.
AsyncTask
visible
SearchView
onCreate();
44. Callback method: Another activity is taking focus
LocationManager
GET_ACCOUNTS
onPause();
Google
45. This is the most common input event in the Android system.
Account Manager
touch
ACTION_DOCK_EVENT
LocationManager
46. Allow to combine loosely coupled components to perform certain tasks
Scroller
BackupHelper
Application resources
Intents
47. This is used to check that you're actually connected to the Internet and what type of connection is in place.
visible
ConnectivityManager
Geocoder
Account
48. Converts XML Document to XML DOM
BroadcastReceiver
Geocoder
Parser
Extensible Markup Language (XML)
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 ___ .
Android SDK
touch
ACTION_DOCK_EVENT
Stack
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.
Deserialize
SettingsActivity
Dots per inch
Activity