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. The helper method is used to create the final width and height values.
getInputStream()
resolveSizeAndState()
Advanced Training
Scroller
2. This is used to convert raw touch events into gestures.
Serialize
GestureDetector
Application resources
onStop();
3. It is a set of rules for encoding documents in machine-readable form.
Linux based
Full power
SearchView
Extensible Markup Language (XML)
4. Represents the visual representation of an Android application
Full power
Activity
isConnected()
Dots per inch
5. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
AttributeSet
virtual table
<declare-styleable>
Full power
6. 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
onResume();
isConnected()
drawText()
7. is run when running Android on the pc
Services
Explicit intent
Emulator
ACTION_DOCK_EVENT
8. It made implementing an effective and user friendly share action in your ActionBar even easier.
AudioManager
ActionProvider
Layouts
Intents
9. It inform the system what intents an application component is willing to accept.
AbstractAccountAuthenticator
Intent filters
onStart() - onStop()
android.hardware.touchscreen
10. This is set up to animate for the duration of the fling.
OAuth2 protocol
dual-
Advanced Training
ValueAnimator
11. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Open Handset Alliance
ShareActionProvider
setVolumeControlStream()
12. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
searchable configuration
ConnectivityManager
virtual table
View
13. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SurfaceView
HttpURLConnection
onResume();
Component - screen
14. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Full power
isConnected()
Dalvik Virtual Machine
SQLiteOpenHelper
15. Callback method: The activity is being created.
ACTION_SEND
SurfaceHolder.Callback
AndroidManifest.xml
onCreate();
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
AccountAuthenticatorActivity
LTE
Google Play
17. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
LTE
searchable configuration
ACTION_SEND
ConnectivityManager
18. Callback method: The activity is no longer visible
Google
Emulator
onStop();
onDestroy();
19. 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 ___ .
SQLite
Emulator
Stack
Account Manager
20. Android system uses a special virtual machine to run java based applicatons
PackageManager
Dalvik Debug Monitor Server
Dalvik Virtual Machine
Activity
21. The minimal energy state during which no network connection is active or required.
onStart() - onStop()
Standby
Services
XmlPullParser
22. A mode where navigation is set up with a spinner widget.
Scroller
security sandbox
single-pane
Dots per inch
23. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Ducking
Hierarchy Viewer
Layouts
ActionProvider
24. This is the simplest way to monitor device state changes.
touch
BroadcastReceiver
Application footprint
When the activity resumes
25. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
OAuth2
SurfaceHolder.Callback
Layouts
26. Most network-connected Android apps use this to send and receive data.
Low power
Parser
HTTP
Dalvik Debug Monitor Server
27. Are used in activities to create the user interface and to interact with the user.
Low power
Application footprint
View
Fragments
28. Whenever the device is docked or undocked - this action is broadcast.
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
onDestroy();
Google
29. It is available starting with API Level 14 and higher.
ShareActionProvider
Low power
Geocoder
SecurityException
30. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onMeasure()
ViewStub
drawText()
Layouts
31. These helpers are specialized classes for backing up certain kinds of data.
security sandbox
Fragments
LTE
BackupHelper
32. Allow to combine loosely coupled components to perform certain tasks
Account Manager
AbstractAccountAuthenticator
Paint
Intents
33. 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 _____
Linux based
Android SDK
onCreate() - onDestroy()
AsyncTask
34. This includes tools to help you identify problems in your layout performance.
Android SDK
AsyncTask
Google Cloud Messaging for Android (GCM)
OAuth2 protocol
35. 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()
NetworkInfo
Parser
Emulator
36. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
<declare-styleable>
Parser
Stack - back stack
37. An intermediate state that uses around 50% of the battery power at the full state.
drawText()
Low power
Scroller
Deserialize
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
onResume();
searchable configuration
Back stack
39. Once installed on a device - each Android application lives in its own ______
onPause();
AudioManager
security sandbox
Service Content Provider
40. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Implicit intent
NetworkInfo
Application footprint
41. It is a string that defines the specific type of access your app is asking for.
Wi-Fi radio
Standby
auth scope
onDestroy();
42. This is the main class through which your application can access location services on Android.
LocationManager
virtual table
AsyncTask
dual-
43. When a new activity starts - it is pushed onto the ____ and takes user focus.
OAuth2
Back stack
Activity
BroadcastReceiver
44. Necessary tools to develop Android applications
Activity
onCreate() - onDestroy()
Android SDK
Application footprint
45. An open source group led by Google
Activity
Android SDK
ActionProvider
Open Handset Alliance
46. Android is __________.
AbstractAccountAuthenticator
SQLite
Application footprint
Linux based
47. This is used to fetch the account names that the user has stored on their device.
ValueAnimator
Google Play
Account Manager
AsyncTask
48. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
adb
Lifecycle callback methods
getInputStream()
ShareActionProvider
49. Callback method: The activity is about to be destroyed.
OAuth2 protocol
onDestroy();
onStart() - onStop()
onCreate() - onDestroy()
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
LocationManager
Canvas
onPause();
Scroller