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 provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
Service Content Provider
visible
LocationManager
2. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ViewStub
Canvas
Stack
onCreate();
3. is run when running Android on the pc
ShareActionProvider
Scroller
Emulator
HTTP
4. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
android.hardware.touchscreen
Android SDK
onCreate() - onDestroy()
AndroidManifest.xml
5. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
ValueAnimator
Fragments
InputStream
6. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Linux based
OnCurrentItemChanged
onCreate() - onDestroy()
LTE
7. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
HTTP
PackageManager
Fragments
8. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Android SDK
<declare-styleable>
setVolumeControlStream()
When the activity resumes
9. 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.
ActionProvider
Layouts
Paint
onSearchRequested()
10. The helper method is used to create the final width and height values.
resolveSizeAndState()
Destroyed - previous
onCreate();
Stack
11. Use this to draw bitmaps.
ValueAnimator
onStart() - onStop()
Application footprint
drawBitmap()
12. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onSearchRequested()
Emulator
ViewStub
13. It is available starting with API Level 14 and higher.
Widgets
resolveSizeAndState()
ViewStub
ShareActionProvider
14. This object contains an account name - which for Google accounts is an email address.
Stack - back stack
Account
Activity
Activity
15. 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_BATTERY_LOW and ACTION_BATTERY_OKAY
Linux based
onAudioFocusChange()
Extensible Markup Language (XML)
16. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
AsyncTask
auth scope
Objects Activity lifecycle
17. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Widgets
ETC1
GestureDetector
Layouts
18. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
OAuth2 protocol
ACTION_DOCK_EVENT
security sandbox
Ducking
19. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
isConnected()
View
EXTRA_STREAM
20. When a new activity starts - it is pushed onto the ____ and takes user focus.
View
android.hardware.touchscreen
AsyncTask
Back stack
21. Represents the visual representation of an Android application
OAuth2 protocol
Activity
AccountAuthenticatorActivity
Dalvik Virtual Machine
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
SearchView
adb
onAudioFocusChange()
23. Allow to combine loosely coupled components to perform certain tasks
Scroller
Intents
onResume();
Full power
24. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
AsyncTask
AsyncTask
XmlPullParser
SQLiteOpenHelper
25. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
inflate()
onStart() - onStop()
BatteryManager
onSearchRequested()
26. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
resolveSizeAndState()
ViewStub
LTE
27. Most network-connected Android apps use this to send and receive data.
SurfaceHolder.Callback
onDestroy();
Open Handset Alliance
HTTP
28. This action is used in sending text content from one activity to another.
Canvas
ACTION_SEND
onSearchRequested()
onResume();
29. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Activity
ConnectivityManager
Layouts
drawBitmap()
30. It inform the system what intents an application component is willing to accept.
virtual table
Google
Intent filters
Entire
31. This is a readable source of bytes.
InputStream
Emulator
Activity
AndroidManifest.xml
32. The industry standard way to deal with authentication to third-party services.
AttributeSet
OAuth2 protocol
onDestroy();
Stack
33. Callback method: The activity is no longer visible
Hierarchy Viewer
Geocoder
Wi-Fi radio
onStop();
34. To create an activity - you must create a subclass of
AsyncTask
LTE
Activity
ACTION_SEND
35. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AccountAuthenticatorActivity
onCreate();
SecurityException
onDraw()
36. Necessary tools to develop Android applications
Hierarchy Viewer
Android SDK
LTE
AttributeSet
37. The minimal energy state during which no network connection is active or required.
Implicit intent
ValueAnimator
Back stack
Standby
38. You can set the layout as the UI for your activity with passing the resource ID for the layout.
LocationManager
onStart() - onStop()
setContentView
onAudioFocusChange()
39. If permissions are missing - the application will get this at runtime.
InputStream
SecurityException
Serialize
onPause();
40. This class exposes a number of methods for applications to receive location updates.
LocationManager
SecurityException
inflate()
onCreate() - onDestroy()
41. This is used to convert raw touch events into gestures.
SettingsActivity
GestureDetector
View
LTE
42. Where Android is currently primarily developed
Open Handset Alliance
SecurityException
Entire
Google
43. 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
Application footprint
Fragments
ValueAnimator
44. Relative to pixels and resolution screen
Dots per inch
AsyncTask
Widgets
Deserialize
45. This class provides one of the simplest ways to fire off a new task from the UI thread.
SecurityException
AsyncTask
onAudioFocusChange()
onCreate();
46. A service in which programmers can offer their Android application to Android users.
ValueAnimator
visible
Google Play
SurfaceView
47. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
XmlPullParser
SecurityException
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
virtual table
48. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onSearchRequested()
ActionProvider
authenticator class
49. It made implementing an effective and user friendly share action in your ActionBar even easier.
Scroller
ActionProvider
Geocoder
Dalvik Debug Monitor Server
50. In most cases this will offer greater bandwidth at a significantly lower battery cost.
dual-
Entire
Back stack
Wi-Fi radio