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 is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
onCreate() - onDestroy()
BatteryManager
drawText()
2. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Application footprint
onMeasure()
SQLiteOpenHelper
onStart() - onStop()
3. Android is __________.
Linux based
LocationManager
Intents
NetworkInfo
4. Conversion of an object to XML
SearchView
ETC1
Serialize
onCreate() - onDestroy()
5. 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
ViewStub
SQLite
Fragments
Destroyed - previous
6. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Entire
View
Service Content Provider
7. This includes tools to help you identify problems in your layout performance.
android.hardware.touchscreen
AsyncTask
Account Manager
Android SDK
8. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
SearchView
Dots per inch
Google Cloud Messaging (GCM)
Google
9. 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 ___ .
Ducking
Stack
Advanced Training
onCreate() - onDestroy()
10. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
When the activity resumes
SearchView
inflate()
Low power
11. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Objects Activity lifecycle
HttpURLConnection
AudioManager
12. 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()
Activity
Intents
Account Manager
13. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Parser
Google Cloud Messaging for Android (GCM)
AttributeSet
14. Where Android is currently primarily developed
Google
Application resources
Component - screen
Deserialize
15. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
HttpURLConnection
View
Services
16. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Account Manager
visible
Serialize
17. This is used to convert raw touch events into gestures.
GestureDetector
Google
ACTION_SEND
Back stack
18. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Emulator
SecurityException
PieChart
View
19. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Account Manager
HTTP
Google Cloud Messaging (GCM)
20. An intermediate state that uses around 50% of the battery power at the full state.
Low power
ActionProvider
Ducking
Stack
21. The minimal energy state during which no network connection is active or required.
onPause();
AsyncTask
Standby
Implicit intent
22. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Standby
Destroyed - previous
SearchView
visible
23. 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
AudioManager
Extensible Markup Language (XML)
24. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Low power
AttributeSet
Geocoder
Paint
25. Android request its permission using its ________
GET_ACCOUNTS
Paint
Activity
AndroidManifest.xml
26. On a rooted device - the credentials would be readable by anyone with this access to the device.
BatteryManager
resolveSizeAndState()
adb
AttributeSet
27. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
GET_ACCOUNTS
XmlPullParser
virtual table
AndroidManifest.xml
28. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Explicit intent
AbstractAccountAuthenticator
BatteryManager
Fragments
29. The industry standard way to deal with authentication to third-party services.
SQLite
OAuth2 protocol
Serialize
AsyncTask
30. A service in which programmers can offer their Android application to Android users.
AudioManager
drawBitmap()
Google Play
AndroidManifest.xml
31. 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
Serialize
Component - screen
Standby
onAudioFocusChange()
32. If permissions are missing - the application will get this at runtime.
BroadcastReceiver
Back stack
SecurityException
OAuth2 protocol
33. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Intents
BroadcastReceiver
SQLite
34. 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.
Emulator
ETC1
Application footprint
Deserialize
35. It is a free service for sending messages to Android devices.
When the activity resumes
Google Cloud Messaging (GCM)
drawBitmap()
Destroyed - previous
36. A mode where navigation is set up with a spinner widget.
XmlPullParser
ViewStub
BackupHelper
single-pane
37. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
dual-
ViewStub
Google
38. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
searchable configuration
onDraw()
Dalvik Debug Monitor Server
OnCurrentItemChanged
39. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
BroadcastReceiver
Layouts
Stack - back stack
AbstractAccountAuthenticator
40. This is an interface which is used to pass image data from the camera hardware to the application.
<declare-styleable>
LocationManager
SurfaceHolder.Callback
Android SDK
41. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
ACTION_DOCK_EVENT
onSearchRequested()
Low power
searchable configuration
42. Callback method: The activity is no longer visible.
onStop();
Extensible Markup Language (XML)
Dots per inch
onMeasure()
43. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Paint
Google Cloud Messaging for Android (GCM)
ConnectivityManager
inflate()
44. For example - a ____ might be a button that initiates an action when the user touches it.
ConnectivityManager
Scroller
View
AsyncTask
45. Callback method: The activity is no longer visible
AccountAuthenticatorActivity
onStop();
BackupHelper
Stack - back stack
46. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
BatteryManager
Advanced Training
onCreate() - onDestroy()
BackupHelper
47. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Open Handset Alliance
LocationManager
Canvas
48. The entire lifetime of an activity happens between the call to _____ and the call to _____
ShareActionProvider
Android SDK
onCreate() - onDestroy()
isConnected()
49. This class is the basis for handling flywheel-style fling gestures.
Wi-Fi radio
LocationManager
Scroller
getInputStream()
50. Once installed on a device - each Android application lives in its own ______
Full power
onCreate() - onDestroy()
security sandbox
Objects Activity lifecycle