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. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
single-pane
LTE
Intent filters
onAudioFocusChange()
2. Callback method: The activity is about to be destroyed.
setContentView
drawBitmap()
onCreate() - onDestroy()
onDestroy();
3. Conversion of an object to XML
Serialize
onPause();
Services
onAudioFocusChange()
4. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Back stack
virtual table
ViewStub
InputStream
5. The dock-state details are included as an extra in a sticky broadcast of this action.
Wi-Fi radio
onMeasure()
virtual table
ACTION_DOCK_EVENT
6. It doesn't currently support the <merge/> tag in the layouts to be inflated.
AbstractAccountAuthenticator
ViewStub
AccountAuthenticatorActivity
NetworkInfo
7. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ConnectivityManager
SearchView
onAudioFocusChange()
ValueAnimator
8. It is a subclass of PreferenceActivity.
SettingsActivity
ValueAnimator
onCreate();
Intent filters
9. This is used to fetch the account names that the user has stored on their device.
ViewStub
XmlPullParser
Application resources
Account Manager
10. It is an efficient and maintainable way to parse XML on Android.
SQLite
XmlPullParser
onCreate() - onDestroy()
Google Play
11. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Extensible Markup Language (XML)
Intent filters
Explicit intent
12. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Scroller
onMeasure()
Advanced Training
SearchView
13. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
LTE
onMeasure()
BackupHelper
14. Callback method: The activity is no longer visible.
onStop();
Objects Activity lifecycle
onCreate() - onDestroy()
Google Play
15. This class provides one of the simplest ways to fire off a new task from the UI thread.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SurfaceHolder.Callback
<declare-styleable>
AsyncTask
16. If permissions are missing - the application will get this at runtime.
SecurityException
onStart() - onStop()
Wi-Fi radio
security sandbox
17. Most network-connected Android apps use this to send and receive data.
drawText()
android.hardware.touchscreen
onStop();
HTTP
18. An intermediate state that uses around 50% of the battery power at the full state.
Service Content Provider
Account
ACTION_SEND
Low power
19. An open source stand alone database
Geocoder
SurfaceView
SQLite
onCreate() - onDestroy()
20. This class is the basis for handling flywheel-style fling gestures.
onCreate() - onDestroy()
SurfaceView
Scroller
dual-
21. This is used to register and de-register your media button event receiver.
ACTION_DOCK_EVENT
Extensible Markup Language (XML)
setContentView
AudioManager
22. Callback method: The activity has become visible.
onResume();
EXTRA_STREAM
ConnectivityManager
ACTION_DOCK_EVENT
23. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
inflate()
Google Cloud Messaging for Android (GCM)
SQLiteOpenHelper
24. Use this to draw bitmaps.
OAuth2
HttpURLConnection
drawBitmap()
single-pane
25. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
getInputStream()
BroadcastReceiver
ETC1
26. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Serialize
BatteryManager
Entire
Google Cloud Messaging for Android (GCM)
27. It is a string that defines the specific type of access your app is asking for.
auth scope
LocationManager
ETC1
AsyncTask
28. When a new activity starts - it is pushed onto the ____ and takes user focus.
Lifecycle callback methods
resolveSizeAndState()
Back stack
AccountAuthenticatorActivity
29. A mode where navigation is set up with a spinner widget.
ViewStub
Emulator
single-pane
Entire
30. 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?
onStart() - onStop()
Dots per inch
Account Manager
AttributeSet
31. Allow to combine loosely coupled components to perform certain tasks
Intents
NetworkInfo
onCreate();
drawText()
32. This is a readable source of bytes.
InputStream
Objects Activity lifecycle
Scroller
Extensible Markup Language (XML)
33. This is used for the need of finer control over your view's layout parameters.
SettingsActivity
Linux based
onResume();
onMeasure()
34. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
AsyncTask
Intents
onResume();
35. It is available starting with API Level 14 and higher.
ShareActionProvider
Open Handset Alliance
Application footprint
Google Cloud Messaging for Android (GCM)
36. Theseare a key part of Android applications that directly affect the user experience.
SQLite
Layouts
Serialize
ValueAnimator
37. A styleable entity that contains these two custom attributes: showText and labelPosition.
searchable configuration
When the activity resumes
Google Cloud Messaging for Android (GCM)
PieChart
38. In order to get a list of accounts on the device - your app needs this permission.
ShareActionProvider
GET_ACCOUNTS
Component - screen
touch
39. This object contains an account name - which for Google accounts is an email address.
Activity
NetworkInfo
Account
Serialize
40. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dots per inch
setContentView
Activity
Dalvik Debug Monitor Server
41. 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
Lifecycle callback methods
Stack - back stack
Destroyed - previous
Layouts
42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
BatteryManager
Google Cloud Messaging (GCM)
getInputStream()
authenticator class
43. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Account Manager
Geocoder
Wi-Fi radio
44. It is called to invoke the search dialog on older devices.
onSearchRequested()
Paint
XmlPullParser
inflate()
45. This is an interface which is used to pass image data from the camera hardware to the application.
setContentView
SurfaceHolder.Callback
Stack - back stack
PieChart
46. It made implementing an effective and user friendly share action in your ActionBar even easier.
Wi-Fi radio
ActionProvider
SearchView
Implicit intent
47. Shows the actual amount of memory the application uses
Account
Application footprint
Wi-Fi radio
SearchView
48. This is the main class through which your application can access location services on Android.
Activity
LocationManager
AsyncTask
auth scope
49. Where Android is currently primarily developed
BackupHelper
Google
Linux based
Layouts
50. It provides a simple way to perform your work outside the main thread.
BroadcastReceiver
AsyncTask
Layouts
onCreate();