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. To define custom attributes - add this resources to your project.
Full power
<declare-styleable>
Open Handset Alliance
Dots per inch
2. It is an efficient and maintainable way to parse XML on Android.
SettingsActivity
Component - screen
getInputStream()
XmlPullParser
3. This object contains an account name - which for Google accounts is an email address.
onDestroy();
HttpURLConnection
Account
Activity
4. This is used to convert raw touch events into gestures.
BatteryManager
LocationManager
GestureDetector
single-pane
5. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Fragments
ViewStub
Advanced Training
Objects Activity lifecycle
6. This is used for the need of finer control over your view's layout parameters.
inflate()
Dots per inch
onMeasure()
ConnectivityManager
7. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Back stack
onSearchRequested()
Account Manager
ViewStub
8. Android is __________.
HttpURLConnection
Linux based
GET_ACCOUNTS
Google Play
9. This is the most common input event in the Android system.
touch
Google
Google Play
OAuth2 protocol
10. Are used in activities to create the user interface and to interact with the user.
GET_ACCOUNTS
Ducking
Account Manager
Fragments
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Application resources
Google Play
ConnectivityManager
BatteryManager
12. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Google Play
searchable configuration
LTE
AccountAuthenticatorActivity
13. 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?
EXTRA_STREAM
NetworkInfo
Intents
dual-
14. 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?
Activity
AttributeSet
Account
Application resources
15. Amode where the action bar is set up with tabs for navigation.
Paint
Open Handset Alliance
drawText()
dual-
16. 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()
View
HttpURLConnection
Dots per inch
17. To create an activity - you must create a subclass of
PieChart
touch
View
Activity
18. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
AbstractAccountAuthenticator
View
onSearchRequested()
19. 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
virtual table
Canvas
Geocoder
PackageManager
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.
onResume();
virtual table
touch
HttpURLConnection
21. The visible lifetime of an activity happens between the call to ____ and the call to ______
ViewStub
onStart() - onStop()
View
AsyncTask
22. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Activity
getInputStream()
EXTRA_STREAM
23. Conversion of an object to XML
Implicit intent
Services
Serialize
View
24. It is a set of rules for encoding documents in machine-readable form.
AudioManager
onStart() - onStop()
Extensible Markup Language (XML)
onDestroy();
25. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Google Cloud Messaging for Android (GCM)
ACTION_SEND
NetworkInfo
Scroller
26. An open source stand alone database
SQLite
Standby
BackupHelper
SQLiteOpenHelper
27. Allow to combine loosely coupled components to perform certain tasks
Intents
Account
Application resources
SurfaceHolder.Callback
28. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AsyncTask
inflate()
Layouts
ConnectivityManager
29. An open source group led by Google
Open Handset Alliance
single-pane
Canvas
AttributeSet
30. An _______ is an application component that provides a screen 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.
Activity
onCreate() - onDestroy()
SurfaceHolder.Callback
Stack - back stack
31. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
Intent filters
Scroller
SearchView
32. 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 _____
Objects Activity lifecycle
BroadcastReceiver
Service Content Provider
onCreate() - onDestroy()
33. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onStop();
AsyncTask
visible
Canvas
34. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
ACTION_SEND
Layouts
getInputStream()
BroadcastReceiver
35. Direct component call in Android
Full power
GestureDetector
Explicit intent
Standby
36. This is a readable source of bytes.
SecurityException
InputStream
LocationManager
onMeasure()
37. Use this to draw bitmaps.
ShareActionProvider
ConnectivityManager
Standby
drawBitmap()
38. 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
ETC1
Layouts
LTE
39. Converts XML Document to XML DOM
Parser
NetworkInfo
auth scope
HTTP
40. 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.
Intents
BroadcastReceiver
Paint
AbstractAccountAuthenticator
41. It made implementing an effective and user friendly share action in your ActionBar even easier.
SearchView
ActionProvider
ViewStub
Dalvik Debug Monitor Server
42. When a new activity starts - it is pushed onto the ____ and takes user focus.
Android SDK
onPause();
onResume();
Back stack
43. You can set the layout as the UI for your activity with passing the resource ID for the layout.
InputStream
setContentView
EXTRA_STREAM
onCreate() - onDestroy()
44. This includes tools to help you identify problems in your layout performance.
Deserialize
Android SDK
Google Cloud Messaging (GCM)
Intents
45. A service in which programmers can offer their Android application to Android users.
SearchView
ShareActionProvider
inflate()
Google Play
46. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
onPause();
BroadcastReceiver
Component - screen
47. This is set up to animate for the duration of the fling.
Component - screen
virtual table
authenticator class
ValueAnimator
48. 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.
Account
BackupHelper
ETC1
Open Handset Alliance
49. The entire lifetime of an activity happens between the call to _____ and the call to _____
onResume();
ViewStub
InputStream
onCreate() - onDestroy()
50. The minimal energy state during which no network connection is active or required.
EXTRA_STREAM
Paint
Standby
onDestroy();