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. Are used in activities to create the user interface and to interact with the user.
AsyncTask
AttributeSet
Fragments
visible
2. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
LocationManager
HTTP
Widgets
3. This broadcasts an action whenever the device is connected or disconnected from power.
View
BatteryManager
Layouts
drawBitmap()
4. This is a readable source of bytes.
InputStream
drawText()
Android SDK
Explicit intent
5. The helper method is used to create the final width and height values.
Activity
XmlPullParser
Wi-Fi radio
resolveSizeAndState()
6. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Dalvik Virtual Machine
ETC1
Activity
7. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onCreate() - onDestroy()
visible
Explicit intent
single-pane
8. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
AccountAuthenticatorActivity
ACTION_SEND
onCreate() - onDestroy()
HttpURLConnection
9. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Dalvik Virtual Machine
BackupHelper
InputStream
10. Most network-connected Android apps use this to send and receive data.
single-pane
ShareActionProvider
getInputStream()
HTTP
11. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Intent filters
AsyncTask
SecurityException
12. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
ConnectivityManager
Application footprint
ViewStub
13. 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
BatteryManager
View
onSearchRequested()
Component - screen
14. It is available starting with API Level 14 and higher.
ShareActionProvider
onAudioFocusChange()
resolveSizeAndState()
Entire
15. The visible lifetime of an activity happens between the call to ____ and the call to ______
Intent filters
Geocoder
onStart() - onStop()
InputStream
16. Callback method: The activity is being created.
onStop();
inflate()
onCreate();
LTE
17. It is a subclass of PreferenceActivity.
BroadcastReceiver
SettingsActivity
Activity
AsyncTask
18. This is used to convert raw touch events into gestures.
onSearchRequested()
Full power
GestureDetector
ACTION_DOCK_EVENT
19. An open source stand alone database
BackupHelper
SQLite
SurfaceView
Google Cloud Messaging (GCM)
20. Relative to pixels and resolution screen
Account Manager
Dots per inch
Open Handset Alliance
onDestroy();
21. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Geocoder
onStop();
Linux based
22. Converts XML Document to XML DOM
OnCurrentItemChanged
Entire
Parser
Deserialize
23. This class provides one of the simplest ways to fire off a new task from the UI thread.
Entire
View
AsyncTask
Ducking
24. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
onStop();
AndroidManifest.xml
Dalvik Debug Monitor Server
25. Represents the visual representation of an Android application
Canvas
Activity
Lifecycle callback methods
Layouts
26. This is used to register and de-register your media button event receiver.
AudioManager
SecurityException
SQLite
AndroidManifest.xml
27. This class exposes a number of methods for applications to receive location updates.
BroadcastReceiver
LocationManager
onSearchRequested()
getInputStream()
28. A service in which programmers can offer their Android application to Android users.
AudioManager
Wi-Fi radio
Google Play
ShareActionProvider
29. When a new activity starts - it is pushed onto the ____ and takes user focus.
setContentView
Back stack
getInputStream()
Wi-Fi radio
30. Callback method: The activity has become visible.
Layouts
Activity
onResume();
Explicit intent
31. 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
Destroyed - previous
visible
Widgets
SurfaceView
32. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Dots per inch
onStart() - onStop()
Explicit intent
33. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
SecurityException
onResume();
Emulator
android.hardware.touchscreen
34. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ETC1
SQLite
Dots per inch
When the activity resumes
35. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
inflate()
AccountAuthenticatorActivity
LocationManager
ViewStub
36. An intermediate state that uses around 50% of the battery power at the full state.
Google
Low power
onStart() - onStop()
Service Content Provider
37. This widget as an item in the action bar is the preferred way to provide search in your app.
Objects Activity lifecycle
SurfaceHolder.Callback
SearchView
onCreate() - onDestroy()
38. 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.
onDestroy();
Intents
Activity
View
39. The dock-state details are included as an extra in a sticky broadcast of this action.
SearchView
onAudioFocusChange()
AbstractAccountAuthenticator
ACTION_DOCK_EVENT
40. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
InputStream
SurfaceHolder.Callback
resolveSizeAndState()
onCreate() - onDestroy()
41. It is a set of rules for encoding documents in machine-readable form.
Intents
Fragments
ViewStub
Extensible Markup Language (XML)
42. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ACTION_DOCK_EVENT
Explicit intent
Canvas
GET_ACCOUNTS
43. This is an interface which is used to pass image data from the camera hardware to the application.
EXTRA_STREAM
View
SurfaceHolder.Callback
Standby
44. Conversion of an object to XML
drawText()
ViewStub
Lifecycle callback methods
Serialize
45. These helpers are specialized classes for backing up certain kinds of data.
AsyncTask
Android SDK
Application resources
BackupHelper
46. Once installed on a device - each Android application lives in its own ______
Open Handset Alliance
BroadcastReceiver
resolveSizeAndState()
security sandbox
47. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Emulator
Wi-Fi radio
Scroller
48. It provides a simple way to perform your work outside the main thread.
AsyncTask
Deserialize
Stack
SQLiteOpenHelper
49. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
onSearchRequested()
SQLiteOpenHelper
Scroller
onCreate() - onDestroy()
50. Whenever the device is docked or undocked - this action is broadcast.
Canvas
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
authenticator class