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. Callback method: The activity has become visible.
AsyncTask
SurfaceHolder.Callback
EXTRA_STREAM
onResume();
2. On a rooted device - the credentials would be readable by anyone with this access to the device.
onResume();
Google Play
Ducking
adb
3. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Account Manager
onCreate() - onDestroy()
inflate()
4. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Intent filters
Dalvik Debug Monitor Server
SQLiteOpenHelper
Account Manager
5. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
virtual table
<declare-styleable>
NetworkInfo
SearchView
6. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Linux based
onResume();
Back stack
When the activity resumes
7. This action is used in sending text content from one activity to another.
ACTION_SEND
SQLite
Paint
Stack - back stack
8. Evaluation of registered components
Dots per inch
Google Cloud Messaging (GCM)
Hierarchy Viewer
Implicit intent
9. To define custom attributes - add this resources to your project.
<declare-styleable>
onResume();
Objects Activity lifecycle
Destroyed - previous
10. Sharing of data in Android is done via________
Service Content Provider
AttributeSet
auth scope
searchable configuration
11. Direct component call in Android
Explicit intent
Deserialize
Scroller
PieChart
12. Allow to combine loosely coupled components to perform certain tasks
Intents
touch
BackupHelper
setVolumeControlStream()
13. Are used in activities to create the user interface and to interact with the user.
Deserialize
PieChart
Fragments
Standby
14. Callback method: The activity is no longer visible.
onStop();
PieChart
setVolumeControlStream()
Dalvik Virtual Machine
15. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google
adb
Google Cloud Messaging for Android (GCM)
Explicit intent
16. It inform the system what intents an application component is willing to accept.
Intent filters
Component - screen
Open Handset Alliance
Service Content Provider
17. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Open Handset Alliance
Low power
ViewStub
View
18. This object contains an account name - which for Google accounts is an email address.
onStop();
Account
HttpURLConnection
LTE
19. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Account Manager
Google Cloud Messaging (GCM)
setContentView
ACTION_SEND
20. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Wi-Fi radio
ActionProvider
ViewStub
21. Represents the visual representation of an Android application
Activity
visible
GET_ACCOUNTS
onDraw()
22. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Stack
Dots per inch
setContentView
23. If permissions are missing - the application will get this at runtime.
Intents
SecurityException
AsyncTask
OnCurrentItemChanged
24. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ViewStub
OAuth2
SearchView
Canvas
25. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
BatteryManager
drawBitmap()
Google Cloud Messaging (GCM)
26. 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
Stack - back stack
Google
onStop();
27. It is called to invoke the search dialog on older devices.
single-pane
searchable configuration
onSearchRequested()
SettingsActivity
28. 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
HTTP
Dalvik Virtual Machine
isConnected()
Component - screen
29. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT
Geocoder
30. Most network-connected Android apps use this to send and receive data.
HTTP
resolveSizeAndState()
visible
OAuth2
31. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
touch
ViewStub
Entire
Advanced Training
32. It is a string that defines the specific type of access your app is asking for.
onCreate() - onDestroy()
auth scope
Google Cloud Messaging for Android (GCM)
Google Play
33. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ViewStub
onAudioFocusChange()
onDraw()
Android SDK
34. Android system uses a special virtual machine to run java based applicatons
BroadcastReceiver
Canvas
Dalvik Virtual Machine
SettingsActivity
35. Converts XML Document to XML DOM
Geocoder
onMeasure()
Activity
Parser
36. This class exposes a number of methods for applications to receive location updates.
LocationManager
OnCurrentItemChanged
BatteryManager
SurfaceView
37. This is used for the need of finer control over your view's layout parameters.
onMeasure()
AbstractAccountAuthenticator
Intent filters
setContentView
38. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
ActionProvider
drawText()
onStop();
39. 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.
BroadcastReceiver
ETC1
Application footprint
Explicit intent
40. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Objects Activity lifecycle
GestureDetector
onStop();
searchable configuration
41. An open source group led by Google
HttpURLConnection
Geocoder
Open Handset Alliance
Serialize
42. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
onStop();
Activity
ValueAnimator
43. This class provides one of the simplest ways to fire off a new task from the UI thread.
Dots per inch
Google Cloud Messaging for Android (GCM)
Destroyed - previous
AsyncTask
44. Theseare a key part of Android applications that directly affect the user experience.
Layouts
HTTP
Objects Activity lifecycle
inflate()
45. A mode where navigation is set up with a spinner widget.
single-pane
Entire
inflate()
Hierarchy Viewer
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
onDraw()
InputStream
PieChart
EXTRA_STREAM
47. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
XmlPullParser
EXTRA_STREAM
SurfaceHolder.Callback
48. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Scroller
PieChart
BackupHelper
49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ACTION_DOCK_EVENT
LTE
BackupHelper
Serialize
50. The most common way to define a layout using views is with an XML layout file saved in your ______
getInputStream()
XmlPullParser
Dalvik Debug Monitor Server
Application resources