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 string that defines the specific type of access your app is asking for.
PieChart
SurfaceView
ValueAnimator
auth scope
2. Conversion of XML back to an object
Back stack
inflate()
Deserialize
BatteryManager
3. The dock-state details are included as an extra in a sticky broadcast of this action.
Back stack
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Linux based
4. 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 ___ .
Stack
setVolumeControlStream()
Paint
View
5. A mode where navigation is set up with a spinner widget.
Emulator
single-pane
onMeasure()
Scroller
6. This widget as an item in the action bar is the preferred way to provide search in your app.
getInputStream()
Scroller
SearchView
Serialize
7. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Standby
onPause();
isConnected()
ShareActionProvider
8. On a rooted device - the credentials would be readable by anyone with this access to the device.
onAudioFocusChange()
<declare-styleable>
adb
ACTION_DOCK_EVENT
9. 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
Service Content Provider
AudioManager
onSearchRequested()
10. When a new activity starts - it is pushed onto the ____ and takes user focus.
ConnectivityManager
security sandbox
Back stack
LocationManager
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
BatteryManager
Dalvik Debug Monitor Server
OAuth2 protocol
12. Direct component call in Android
BatteryManager
virtual table
Explicit intent
security sandbox
13. A service in which programmers can offer their Android application to Android users.
AndroidManifest.xml
Google Play
Open Handset Alliance
onDestroy();
14. 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.
Paint
Implicit intent
LocationManager
Android SDK
15. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Full power
AsyncTask
LocationManager
OnCurrentItemChanged
16. Theseare a key part of Android applications that directly affect the user experience.
Layouts
HTTP
BroadcastReceiver
AsyncTask
17. An open source stand alone database
AudioManager
ShareActionProvider
SQLite
Deserialize
18. Callback method: The activity is being created.
Full power
Advanced Training
onCreate();
onPause();
19. This is used to register and de-register your media button event receiver.
drawBitmap()
AndroidManifest.xml
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AudioManager
20. This is the most common input event in the Android system.
auth scope
Standby
onPause();
touch
21. Conversion of an object to XML
Serialize
Intent filters
Services
onDestroy();
22. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
When the activity resumes
onCreate() - onDestroy()
searchable configuration
Intent filters
23. This is used to convert raw touch events into gestures.
onDestroy();
AbstractAccountAuthenticator
GestureDetector
onCreate() - onDestroy()
24. It is a free service for sending messages to Android devices.
Open Handset Alliance
Low power
Serialize
Google Cloud Messaging (GCM)
25. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
PieChart
Entire
onDraw()
onStart() - onStop()
26. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Low power
authenticator class
Services
Stack - back stack
27. It provides a simple way to perform your work outside the main thread.
Parser
AsyncTask
security sandbox
InputStream
28. To define custom attributes - add this resources to your project.
SettingsActivity
SQLiteOpenHelper
<declare-styleable>
Fragments
29. Shows the actual amount of memory the application uses
onCreate();
onDraw()
ValueAnimator
Application footprint
30. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Account
NetworkInfo
Emulator
auth scope
31. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
onSearchRequested()
onCreate() - onDestroy()
Component - screen
32. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Standby
Dots per inch
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Geocoder
33. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onDraw()
Canvas
View
Intents
34. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onStart() - onStop()
Fragments
Destroyed - previous
Layouts
35. The visible lifetime of an activity happens between the call to ____ and the call to ______
setVolumeControlStream()
onMeasure()
BatteryManager
onStart() - onStop()
36. Whenever the device is docked or undocked - this action is broadcast.
onStop();
Google
ACTION_DOCK_EVENT
onDraw()
37. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
Entire
View
PackageManager
authenticator class
38. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Android SDK
SurfaceView
Component - screen
39. It is an efficient and maintainable way to parse XML on Android.
drawText()
XmlPullParser
onStop();
visible
40. This is set up to animate for the duration of the fling.
onResume();
ValueAnimator
onStart() - onStop()
onDestroy();
41. You can set the layout as the UI for your activity with passing the resource ID for the layout.
OAuth2
Open Handset Alliance
ACTION_DOCK_EVENT
setContentView
42. Converts XML Document to XML DOM
touch
Activity
Parser
ViewStub
43. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ConnectivityManager
Implicit intent
BroadcastReceiver
ETC1
44. This action is used in sending text content from one activity to another.
SQLite
ACTION_SEND
Layouts
auth scope
45. 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
Intent filters
Google Cloud Messaging for Android (GCM)
Parser
46. In order to get a list of accounts on the device - your app needs this permission.
InputStream
Serialize
GET_ACCOUNTS
HTTP
47. Most network-connected Android apps use this to send and receive data.
HTTP
onCreate() - onDestroy()
XmlPullParser
isConnected()
48. Amode where the action bar is set up with tabs for navigation.
onMeasure()
dual-
Android SDK
Objects Activity lifecycle
49. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Intents
Ducking
Back stack
50. This is the simplest way to monitor device state changes.
BroadcastReceiver
Lifecycle callback methods
Dalvik Virtual Machine
onResume();