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. 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
Application footprint
View
Component - screen
Dalvik Debug Monitor Server
2. Where Android is currently primarily developed
OAuth2 protocol
Low power
BroadcastReceiver
Google
3. Shows the actual amount of memory the application uses
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Application footprint
onStop();
AsyncTask
4. This is the simplest way to monitor device state changes.
Advanced Training
virtual table
BroadcastReceiver
ViewStub
5. This class exposes a number of methods for applications to receive location updates.
onCreate();
virtual table
LocationManager
Low power
6. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
<declare-styleable>
virtual table
Activity
onResume();
7. If permissions are missing - the application will get this at runtime.
Destroyed - previous
SecurityException
Service Content Provider
searchable configuration
8. It is a string that defines the specific type of access your app is asking for.
onStop();
Implicit intent
adb
auth scope
9. An open source group led by Google
Open Handset Alliance
onStart() - onStop()
Component - screen
Scroller
10. It is a subclass of PreferenceActivity.
setContentView
Services
Intents
SettingsActivity
11. Allow to combine loosely coupled components to perform certain tasks
ValueAnimator
Intents
Wi-Fi radio
ETC1
12. Android is __________.
authenticator class
Linux based
ACTION_DOCK_EVENT
onStop();
13. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
AudioManager
When the activity resumes
AndroidManifest.xml
onCreate() - onDestroy()
14. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Android SDK
BroadcastReceiver
setContentView
onPause();
15. This object contains an account name - which for Google accounts is an email address.
Implicit intent
Account
OAuth2
Extensible Markup Language (XML)
16. To define custom attributes - add this resources to your project.
onCreate();
auth scope
<declare-styleable>
NetworkInfo
17. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Application resources
Widgets
isConnected()
Scroller
18. To create an activity - you must create a subclass of
GestureDetector
SurfaceView
Entire
Activity
19. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
Service Content Provider
Activity
SearchView
Widgets
20. 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.
Ducking
Dots per inch
Wi-Fi radio
single-pane
21. Callback method: The activity is being created.
onCreate() - onDestroy()
LocationManager
Linux based
onCreate();
22. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onPause();
AndroidManifest.xml
Stack
Canvas
23. Most network-connected Android apps use this to send and receive data.
Emulator
adb
HTTP
Advanced Training
24. A service in which programmers can offer their Android application to Android users.
Implicit intent
Google Play
ActionProvider
Hierarchy Viewer
25. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
AsyncTask
NetworkInfo
View
setContentView
26. 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 _____
Explicit intent
onCreate() - onDestroy()
ViewStub
Stack
27. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
android.hardware.touchscreen
Application footprint
ViewStub
28. This class provides one of the simplest ways to fire off a new task from the UI thread.
onStart() - onStop()
AsyncTask
Widgets
Application footprint
29. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Layouts
SettingsActivity
isConnected()
30. A styleable entity that contains these two custom attributes: showText and labelPosition.
Intent filters
SecurityException
PieChart
Extensible Markup Language (XML)
31. Amode where the action bar is set up with tabs for navigation.
dual-
Back stack
Wi-Fi radio
InputStream
32. Necessary tools to develop Android applications
onDestroy();
Android SDK
OAuth2
ACTION_SEND
33. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SQLite
GestureDetector
dual-
34. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
LocationManager
Geocoder
Deserialize
Paint
35. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Serialize
SurfaceView
BackupHelper
36. Android system uses a special virtual machine to run java based applicatons
Google Cloud Messaging (GCM)
Component - screen
NetworkInfo
Dalvik Virtual Machine
37. It made implementing an effective and user friendly share action in your ActionBar even easier.
Intents
Dalvik Virtual Machine
Google Cloud Messaging for Android (GCM)
ActionProvider
38. Callback method: Another activity is taking focus
ViewStub
onPause();
Wi-Fi radio
GET_ACCOUNTS
39. This is used to convert raw touch events into gestures.
Services
authenticator class
GET_ACCOUNTS
GestureDetector
40. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Google Play
OAuth2 protocol
onCreate() - onDestroy()
41. Sharing of data in Android is done via________
searchable configuration
Low power
Service Content Provider
SettingsActivity
42. An intermediate state that uses around 50% of the battery power at the full state.
Serialize
Deserialize
Low power
touch
43. A mode where navigation is set up with a spinner widget.
Linux based
LocationManager
single-pane
Parser
44. Callback method: The activity has become visible.
searchable configuration
onResume();
Intent filters
AsyncTask
45. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
SQLite
AttributeSet
Google Play
46. It inform the system what intents an application component is willing to accept.
LocationManager
Intent filters
Scroller
PackageManager
47. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
OnCurrentItemChanged
Paint
inflate()
48. Use this to draw text.
onResume();
SearchView
drawText()
onStop();
49. Evaluation of registered components
AudioManager
Parser
Implicit intent
AttributeSet
50. Callback method: The activity is about to be destroyed.
onDestroy();
onResume();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Entire