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 create an activity - you must create a subclass of
Hierarchy Viewer
AndroidManifest.xml
Activity
SQLiteOpenHelper
2. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
GET_ACCOUNTS
BatteryManager
Lifecycle callback methods
Dots per inch
3. is run when running Android on the pc
Stack - back stack
Low power
LocationManager
Emulator
4. 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.
ETC1
Serialize
SearchView
AbstractAccountAuthenticator
5. This is used for the need of finer control over your view's layout parameters.
Linux based
Google Cloud Messaging for Android (GCM)
onStop();
onMeasure()
6. It inform the system what intents an application component is willing to accept.
Intent filters
Google
LocationManager
getInputStream()
7. Evaluation of registered components
Implicit intent
onPause();
Wi-Fi radio
setContentView
8. It is a set of rules for encoding documents in machine-readable form.
Fragments
Back stack
Extensible Markup Language (XML)
touch
9. In order to get a list of accounts on the device - your app needs this permission.
AccountAuthenticatorActivity
Paint
SurfaceView
GET_ACCOUNTS
10. Shows the actual amount of memory the application uses
SurfaceHolder.Callback
ViewStub
Application footprint
android.hardware.touchscreen
11. Where Android is currently primarily developed
virtual table
Ducking
SearchView
Google
12. 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()
Application resources
XmlPullParser
onCreate() - onDestroy()
13. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AccountAuthenticatorActivity
onSearchRequested()
virtual table
android.hardware.touchscreen
14. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Lifecycle callback methods
GestureDetector
Dalvik Debug Monitor Server
InputStream
15. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
LocationManager
android.hardware.touchscreen
Widgets
SurfaceHolder.Callback
16. This class exposes a number of methods for applications to receive location updates.
Application resources
Dalvik Virtual Machine
BroadcastReceiver
LocationManager
17. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
AsyncTask
OAuth2
Emulator
18. 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
LTE
ViewStub
Component - screen
LocationManager
19. The helper method is used to create the final width and height values.
getInputStream()
drawText()
ConnectivityManager
resolveSizeAndState()
20. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
drawBitmap()
adb
Open Handset Alliance
21. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Stack - back stack
Intent filters
ConnectivityManager
SQLiteOpenHelper
22. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
AbstractAccountAuthenticator
virtual table
Stack - back stack
Scroller
23. 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.
Linux based
Dalvik Virtual Machine
OnCurrentItemChanged
Paint
24. Once installed on a device - each Android application lives in its own ______
searchable configuration
Advanced Training
security sandbox
drawBitmap()
25. 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?
AsyncTask
Layouts
Activity
EXTRA_STREAM
26. Necessary tools to develop Android applications
SurfaceView
Intents
ETC1
Android SDK
27. This is used to fetch the account names that the user has stored on their device.
onCreate() - onDestroy()
AudioManager
Account Manager
Extensible Markup Language (XML)
28. 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
Low power
ACTION_SEND
Advanced Training
29. The minimal energy state during which no network connection is active or required.
Account Manager
ETC1
ACTION_DOCK_EVENT
Standby
30. Callback method: The activity is no longer visible.
security sandbox
virtual table
onStop();
Canvas
31. It is a string that defines the specific type of access your app is asking for.
auth scope
HTTP
Geocoder
Serialize
32. Callback method: Another activity is taking focus
HttpURLConnection
searchable configuration
onPause();
ACTION_DOCK_EVENT
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Google Cloud Messaging for Android (GCM)
SecurityException
AbstractAccountAuthenticator
Emulator
34. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Lifecycle callback methods
OnCurrentItemChanged
SearchView
Linux based
35. This is used to register and de-register your media button event receiver.
Low power
AudioManager
<declare-styleable>
Application footprint
36. 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 _____
Dots per inch
AccountAuthenticatorActivity
Stack
onCreate() - onDestroy()
37. Converts XML Document to XML DOM
Parser
touch
ETC1
EXTRA_STREAM
38. Android request its permission using its ________
Advanced Training
ACTION_DOCK_EVENT
AndroidManifest.xml
Layouts
39. When a new activity starts - it is pushed onto the ____ and takes user focus.
onStop();
GestureDetector
Back stack
ViewStub
40. This widget as an item in the action bar is the preferred way to provide search in your app.
virtual table
searchable configuration
SearchView
OAuth2 protocol
41. This is used to convert raw touch events into gestures.
setContentView
Android SDK
ACTION_SEND
GestureDetector
42. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Application resources
Back stack
onDestroy();
ConnectivityManager
43. Most network-connected Android apps use this to send and receive data.
HTTP
onCreate();
OAuth2
SecurityException
44. Amode where the action bar is set up with tabs for navigation.
dual-
Back stack
Android SDK
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
45. It is called to invoke the search dialog on older devices.
ViewStub
onSearchRequested()
Stack
Layouts
46. 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
AsyncTask
EXTRA_STREAM
LTE
Destroyed - previous
47. An intermediate state that uses around 50% of the battery power at the full state.
Google
ActionProvider
Paint
Low power
48. This is the most common input event in the Android system.
Canvas
LTE
ACTION_SEND
touch
49. Callback method: The activity has become visible.
LocationManager
GestureDetector
Emulator
onResume();
50. If permissions are missing - the application will get this at runtime.
SecurityException
Services
EXTRA_STREAM
XmlPullParser