SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 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
Application resources
Destroyed - previous
visible
onDraw()
2. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
onDestroy();
HTTP
Objects Activity lifecycle
3. 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
SQLite
ConnectivityManager
Dalvik Virtual Machine
4. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onStop();
inflate()
When the activity resumes
SecurityException
5. To create an activity - you must create a subclass of
Activity
Low power
Stack
Canvas
6. It is a subclass of PreferenceActivity.
onDestroy();
BatteryManager
SettingsActivity
virtual table
7. Are used in activities to create the user interface and to interact with the user.
Fragments
SQLite
InputStream
Advanced Training
8. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
setContentView
Canvas
isConnected()
When the activity resumes
9. It is called to invoke the search dialog on older devices.
ACTION_DOCK_EVENT
Low power
Account Manager
onSearchRequested()
10. Callback method: The activity has become visible.
ViewStub
onResume();
SearchView
SecurityException
11. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
OAuth2 protocol
GET_ACCOUNTS
Dots per inch
visible
12. Represents the visual representation of an Android application
SurfaceHolder.Callback
Hierarchy Viewer
BatteryManager
Activity
13. Callback method: The activity is no longer visible.
Activity
onStop();
onCreate() - onDestroy()
Google Play
14. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Dots per inch
Advanced Training
Objects Activity lifecycle
onStop();
15. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
SearchView
NetworkInfo
onMeasure()
Full power
16. Allow to combine loosely coupled components to perform certain tasks
virtual table
Intents
onDraw()
BroadcastReceiver
17. The entire lifetime of an activity happens between the call to _____ and the call to _____
PackageManager
onCreate() - onDestroy()
LocationManager
AsyncTask
18. This is used to convert raw touch events into gestures.
BackupHelper
android.hardware.touchscreen
ViewStub
GestureDetector
19. This is used to register and de-register your media button event receiver.
Serialize
AudioManager
onStop();
Dots per inch
20. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
visible
inflate()
ValueAnimator
21. Where Android is currently primarily developed
inflate()
BroadcastReceiver
Google
Extensible Markup Language (XML)
22. Android system uses a special virtual machine to run java based applicatons
authenticator class
onCreate();
Activity
Dalvik Virtual Machine
23. Necessary tools to develop Android applications
Android SDK
Full power
BroadcastReceiver
Layouts
24. This broadcasts an action whenever the device is connected or disconnected from power.
onPause();
ETC1
BatteryManager
Full power
25. is run when running Android on the pc
getInputStream()
Scroller
Emulator
SurfaceHolder.Callback
26. It is available starting with API Level 14 and higher.
Account Manager
ShareActionProvider
drawText()
Low power
27. It made implementing an effective and user friendly share action in your ActionBar even easier.
Stack
View
setContentView
ActionProvider
28. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
SQLiteOpenHelper
Serialize
auth scope
29. The minimal energy state during which no network connection is active or required.
BatteryManager
Android SDK
Standby
Full power
30. Conversion of XML back to an object
onDestroy();
Deserialize
HTTP
virtual table
31. Most network-connected Android apps use this to send and receive data.
NetworkInfo
visible
Objects Activity lifecycle
HTTP
32. This is used for the need of finer control over your view's layout parameters.
Layouts
onMeasure()
Canvas
onCreate() - onDestroy()
33. 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.
touch
EXTRA_STREAM
Canvas
Activity
34. Conversion of an object to XML
Serialize
Explicit intent
ConnectivityManager
When the activity resumes
35. An open source group led by Google
OnCurrentItemChanged
Open Handset Alliance
<declare-styleable>
Stack - back stack
36. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ShareActionProvider
AbstractAccountAuthenticator
ViewStub
Activity
37. 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
SurfaceHolder.Callback
PieChart
Scroller
38. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
AttributeSet
Entire
BackupHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
39. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onCreate();
ViewStub
NetworkInfo
isConnected()
40. If permissions are missing - the application will get this at runtime.
SecurityException
BatteryManager
Dalvik Virtual Machine
AbstractAccountAuthenticator
41. This is used to check that you're actually connected to the Internet and what type of connection is in place.
OAuth2 protocol
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Implicit intent
42. This class exposes a number of methods for applications to receive location updates.
security sandbox
LocationManager
ACTION_DOCK_EVENT
Linux based
43. Callback method: The activity is no longer visible
Fragments
Linux based
onStop();
Low power
44. Relative to pixels and resolution screen
single-pane
Deserialize
Application resources
Dots per inch
45. Sharing of data in Android is done via________
Dalvik Debug Monitor Server
ShareActionProvider
Service Content Provider
Account Manager
46. 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?
Low power
AttributeSet
EXTRA_STREAM
onSearchRequested()
47. This is the most common input event in the Android system.
Ducking
touch
drawBitmap()
Google
48. The visible lifetime of an activity happens between the call to ____ and the call to ______
LocationManager
onStart() - onStop()
Google Play
Dalvik Debug Monitor Server
49. On a rooted device - the credentials would be readable by anyone with this access to the device.
Ducking
adb
isConnected()
Scroller
50. Android is __________.
onPause();
Linux based
Scroller
ViewStub