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. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BroadcastReceiver
Destroyed - previous
BatteryManager
HttpURLConnection
2. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
drawText()
onDestroy();
Layouts
Hierarchy Viewer
3. 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 _____
Emulator
onCreate() - onDestroy()
visible
<declare-styleable>
4. This is used to convert raw touch events into gestures.
InputStream
GestureDetector
ValueAnimator
Account
5. Callback method: Another activity is taking focus
Standby
onPause();
XmlPullParser
Extensible Markup Language (XML)
6. Represents the visual representation of an Android application
Serialize
isConnected()
Activity
onCreate() - onDestroy()
7. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
<declare-styleable>
ActionProvider
AbstractAccountAuthenticator
Entire
8. An open source stand alone database
Extensible Markup Language (XML)
onResume();
SQLiteOpenHelper
SQLite
9. The minimal energy state during which no network connection is active or required.
ShareActionProvider
Activity
adb
Standby
10. This is set up to animate for the duration of the fling.
ValueAnimator
XmlPullParser
drawText()
touch
11. 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.
security sandbox
ETC1
ViewStub
When the activity resumes
12. Conversion of an object to XML
Activity
ViewStub
BroadcastReceiver
Serialize
13. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Google Play
Entire
onMeasure()
LTE
14. Theseare a key part of Android applications that directly affect the user experience.
Application resources
Layouts
Stack - back stack
security sandbox
15. The entire lifetime of an activity happens between the call to _____ and the call to _____
HttpURLConnection
Destroyed - previous
onCreate() - onDestroy()
SQLiteOpenHelper
16. Are used in activities to create the user interface and to interact with the user.
Fragments
Account Manager
Linux based
LocationManager
17. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ACTION_DOCK_EVENT
onAudioFocusChange()
Advanced Training
authenticator class
18. Conversion of XML back to an object
Deserialize
Service Content Provider
SearchView
virtual table
19. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onMeasure()
SettingsActivity
isConnected()
visible
20. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onDestroy();
<declare-styleable>
Google Cloud Messaging for Android (GCM)
ConnectivityManager
21. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
searchable configuration
Low power
HttpURLConnection
PieChart
22. Callback method: The activity has become visible.
AudioManager
onResume();
Account
onCreate() - onDestroy()
23. Where Android is currently primarily developed
virtual table
BatteryManager
setContentView
Google
24. It is a subclass of PreferenceActivity.
SettingsActivity
Linux based
onSearchRequested()
GET_ACCOUNTS
25. When a new activity starts - it is pushed onto the ____ and takes user focus.
onDestroy();
AsyncTask
onCreate() - onDestroy()
Back stack
26. Use this to draw text.
SearchView
drawText()
HttpURLConnection
ShareActionProvider
27. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
getInputStream()
Google Play
Explicit intent
28. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Google Play
ConnectivityManager
Scroller
View
29. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Deserialize
When the activity resumes
BroadcastReceiver
30. It inform the system what intents an application component is willing to accept.
Intent filters
android.hardware.touchscreen
visible
Activity
31. This action is used in sending text content from one activity to another.
View
Account Manager
ACTION_SEND
onStop();
32. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
View
OAuth2
authenticator class
OnCurrentItemChanged
33. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Emulator
Full power
authenticator class
NetworkInfo
34. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
isConnected()
Dalvik Debug Monitor Server
drawText()
Google Play
35. 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
OAuth2
Application footprint
InputStream
Destroyed - previous
36. A styleable entity that contains these two custom attributes: showText and labelPosition.
Advanced Training
ConnectivityManager
AttributeSet
PieChart
37. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onCreate() - onDestroy()
Stack - back stack
searchable configuration
AudioManager
38. The most common way to define a layout using views is with an XML layout file saved in your ______
AndroidManifest.xml
Paint
onMeasure()
Application resources
39. It is a set of rules for encoding documents in machine-readable form.
SecurityException
getInputStream()
security sandbox
Extensible Markup Language (XML)
40. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
When the activity resumes
virtual table
Full power
onPause();
41. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
ConnectivityManager
EXTRA_STREAM
Paint
touch
42. Callback method: The activity is being created.
Account
onCreate();
AccountAuthenticatorActivity
AbstractAccountAuthenticator
43. Callback method: The activity is no longer visible
ShareActionProvider
onStop();
Activity
ValueAnimator
44. To create an activity - you must create a subclass of
ConnectivityManager
Activity
SearchView
Deserialize
45. Most network-connected Android apps use this to send and receive data.
Intent filters
HTTP
Emulator
SecurityException
46. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
getInputStream()
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT
Geocoder
47. On a rooted device - the credentials would be readable by anyone with this access to the device.
Activity
EXTRA_STREAM
Destroyed - previous
adb
48. This is used for the need of finer control over your view's layout parameters.
Canvas
Scroller
onMeasure()
Android SDK
49. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ETC1
onCreate();
Parser
SQLiteOpenHelper
50. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
searchable configuration
getInputStream()
Emulator