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 used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
touch
Android SDK
Serialize
PackageManager
2. Callback method: Another activity is taking focus
searchable configuration
setContentView
onPause();
onCreate() - onDestroy()
3. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Dalvik Virtual Machine
NetworkInfo
ViewStub
Geocoder
4. This is the simplest way to monitor device state changes.
virtual table
BatteryManager
BroadcastReceiver
Activity
5. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Lifecycle callback methods
Ducking
visible
SurfaceHolder.Callback
6. An open source group led by Google
Stack
Open Handset Alliance
Layouts
Service Content Provider
7. Callback method: The activity is being created.
onCreate();
Account Manager
Objects Activity lifecycle
security sandbox
8. 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
drawText()
single-pane
GestureDetector
9. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
onDraw()
searchable configuration
Parser
10. The minimal energy state during which no network connection is active or required.
Standby
ShareActionProvider
ACTION_DOCK_EVENT
OnCurrentItemChanged
11. ______ are views derived from ViewGroup that provide a unique layout model for its child views
XmlPullParser
Objects Activity lifecycle
AsyncTask
Layouts
12. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
BackupHelper
Canvas
onStop();
SurfaceView
13. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Scroller
onDraw()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Low power
14. The helper method is used to create the final width and height values.
Google Cloud Messaging for Android (GCM)
Ducking
Dalvik Virtual Machine
resolveSizeAndState()
15. Are used in activities to create the user interface and to interact with the user.
Account Manager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ACTION_DOCK_EVENT
Fragments
16. This class exposes a number of methods for applications to receive location updates.
Scroller
Layouts
LocationManager
Services
17. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Layouts
Low power
Open Handset Alliance
18. 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.
touch
Hierarchy Viewer
Activity
Paint
19. The visible lifetime of an activity happens between the call to ____ and the call to ______
OAuth2 protocol
Dalvik Virtual Machine
onStart() - onStop()
Account Manager
20. It is a string that defines the specific type of access your app is asking for.
Open Handset Alliance
onSearchRequested()
onAudioFocusChange()
auth scope
21. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
isConnected()
Fragments
View
Geocoder
22. Relative to pixels and resolution screen
visible
Dots per inch
onSearchRequested()
InputStream
23. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Emulator
Stack - back stack
AttributeSet
Low power
24. Callback method: The activity is no longer visible
Component - screen
SurfaceView
SQLiteOpenHelper
onStop();
25. This is the main class through which your application can access location services on Android.
onCreate() - onDestroy()
Advanced Training
LocationManager
View
26. This is a readable source of bytes.
GET_ACCOUNTS
Dalvik Virtual Machine
onSearchRequested()
InputStream
27. This is used to check that you're actually connected to the Internet and what type of connection is in place.
getInputStream()
Emulator
GestureDetector
ConnectivityManager
28. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Emulator
AccountAuthenticatorActivity
onSearchRequested()
29. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Google Cloud Messaging for Android (GCM)
Wi-Fi radio
AccountAuthenticatorActivity
searchable configuration
30. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
ShareActionProvider
Android SDK
BatteryManager
31. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Extensible Markup Language (XML)
onStop();
<declare-styleable>
Full power
32. This class is the basis for handling flywheel-style fling gestures.
SQLite
onCreate();
SurfaceHolder.Callback
Scroller
33. This is used to register and de-register your media button event receiver.
AudioManager
Implicit intent
SearchView
Widgets
34. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
OnCurrentItemChanged
auth scope
Widgets
virtual table
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
touch
Activity
SQLiteOpenHelper
36. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Application footprint
ConnectivityManager
Wi-Fi radio
authenticator class
37. 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
Lifecycle callback methods
Component - screen
setVolumeControlStream()
LocationManager
38. Android system uses a special virtual machine to run java based applicatons
Emulator
SQLiteOpenHelper
Dalvik Virtual Machine
LocationManager
39. This is set up to animate for the duration of the fling.
Entire
ValueAnimator
NetworkInfo
onDraw()
40. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
SearchView
SettingsActivity
ValueAnimator
41. On a rooted device - the credentials would be readable by anyone with this access to the device.
EXTRA_STREAM
BroadcastReceiver
Google Cloud Messaging for Android (GCM)
adb
42. 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.
Account
AsyncTask
GestureDetector
OAuth2
43. Android request its permission using its ________
GestureDetector
AndroidManifest.xml
ViewStub
onCreate() - onDestroy()
44. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
AndroidManifest.xml
onSearchRequested()
BroadcastReceiver
45. It provides a simple way to perform your work outside the main thread.
ActionProvider
security sandbox
LocationManager
AsyncTask
46. Sharing of data in Android is done via________
Service Content Provider
SettingsActivity
BatteryManager
searchable configuration
47. 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.
EXTRA_STREAM
BatteryManager
ETC1
Activity
48. 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
BackupHelper
OnCurrentItemChanged
Destroyed - previous
LTE
49. This is used to convert raw touch events into gestures.
authenticator class
GestureDetector
Emulator
HttpURLConnection
50. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Google Play
Objects Activity lifecycle
BatteryManager
onSearchRequested()