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. Where Android is currently primarily developed
onPause();
Google
EXTRA_STREAM
Open Handset Alliance
2. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Layouts
resolveSizeAndState()
android.hardware.touchscreen
Fragments
3. For example - a ____ might be a button that initiates an action when the user touches it.
Low power
PackageManager
AsyncTask
View
4. On a rooted device - the credentials would be readable by anyone with this access to the device.
Account Manager
Extensible Markup Language (XML)
SurfaceHolder.Callback
adb
5. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
SurfaceView
virtual table
Emulator
EXTRA_STREAM
6. 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
Implicit intent
View
Component - screen
SearchView
7. A mode where navigation is set up with a spinner widget.
BroadcastReceiver
single-pane
Application footprint
AndroidManifest.xml
8. Relative to pixels and resolution screen
ETC1
Standby
LocationManager
Dots per inch
9. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
resolveSizeAndState()
Dalvik Virtual Machine
SearchView
10. Converts XML Document to XML DOM
Parser
SQLiteOpenHelper
onDraw()
Open Handset Alliance
11. This is the simplest way to monitor device state changes.
Stack
Google
BroadcastReceiver
onDestroy();
12. Callback method: The activity is no longer visible.
drawText()
onStop();
HttpURLConnection
Open Handset Alliance
13. 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
ActionProvider
Destroyed - previous
onDestroy();
onCreate() - onDestroy()
14. This broadcasts an action whenever the device is connected or disconnected from power.
Google Cloud Messaging (GCM)
BatteryManager
Dalvik Virtual Machine
onStop();
15. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ActionProvider
Activity
Deserialize
ViewStub
16. Conversion of XML back to an object
GET_ACCOUNTS
Deserialize
BatteryManager
ViewStub
17. Android is __________.
Linux based
View
Hierarchy Viewer
Objects Activity lifecycle
18. Necessary tools to develop Android applications
Services
Service Content Provider
onDraw()
Android SDK
19. Shows the actual amount of memory the application uses
touch
Fragments
Services
Application footprint
20. Use this to draw bitmaps.
Low power
drawBitmap()
NetworkInfo
Account Manager
21. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Parser
Canvas
AccountAuthenticatorActivity
Widgets
22. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Lifecycle callback methods
Service Content Provider
InputStream
23. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
LTE
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
android.hardware.touchscreen
24. This class provides one of the simplest ways to fire off a new task from the UI thread.
ETC1
onStop();
AsyncTask
PackageManager
25. This is the most common input event in the Android system.
Account
Paint
touch
Back stack
26. Callback method: The activity has become visible.
SurfaceView
onDestroy();
onResume();
OAuth2
27. If permissions are missing - the application will get this at runtime.
SecurityException
OAuth2 protocol
onDraw()
GET_ACCOUNTS
28. Android system uses a special virtual machine to run java based applicatons
Google Cloud Messaging (GCM)
Dalvik Virtual Machine
Google
isConnected()
29. It is a subclass of PreferenceActivity.
SettingsActivity
Fragments
Linux based
Geocoder
30. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
ACTION_DOCK_EVENT
authenticator class
single-pane
searchable configuration
31. This class is the basis for handling flywheel-style fling gestures.
resolveSizeAndState()
Dots per inch
onSearchRequested()
Scroller
32. 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 _____
AccountAuthenticatorActivity
onCreate() - onDestroy()
Stack
Parser
33. A service in which programmers can offer their Android application to Android users.
AudioManager
PieChart
Google Play
Deserialize
34. Most network-connected Android apps use this to send and receive data.
AndroidManifest.xml
AsyncTask
HTTP
drawText()
35. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ViewStub
Fragments
Full power
BatteryManager
36. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Activity
Stack
onAudioFocusChange()
ValueAnimator
37. Allow to combine loosely coupled components to perform certain tasks
Intents
Hierarchy Viewer
Google Play
LocationManager
38. Amode where the action bar is set up with tabs for navigation.
Emulator
Hierarchy Viewer
dual-
onResume();
39. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Account
Entire
ConnectivityManager
Serialize
40. An intermediate state that uses around 50% of the battery power at the full state.
Low power
android.hardware.touchscreen
Entire
AudioManager
41. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
InputStream
Objects Activity lifecycle
ACTION_SEND
ViewStub
42. A styleable entity that contains these two custom attributes: showText and labelPosition.
adb
SurfaceView
BroadcastReceiver
PieChart
43. This is used for the need of finer control over your view's layout parameters.
resolveSizeAndState()
onMeasure()
inflate()
Activity
44. 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.
Implicit intent
View
ETC1
Google Play
45. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
BroadcastReceiver
ETC1
SurfaceView
46. The most common way to define a layout using views is with an XML layout file saved in your ______
SurfaceView
onDestroy();
Application resources
OAuth2
47. 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
ACTION_DOCK_EVENT
onDestroy();
Dalvik Debug Monitor Server
48. These helpers are specialized classes for backing up certain kinds of data.
XmlPullParser
Fragments
BackupHelper
EXTRA_STREAM
49. Theseare a key part of Android applications that directly affect the user experience.
SurfaceHolder.Callback
Extensible Markup Language (XML)
Layouts
Intents
50. 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 ___ .
Stack
onDestroy();
Implicit intent
EXTRA_STREAM