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 entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
PackageManager
ValueAnimator
ShareActionProvider
2. Callback method: The activity is no longer visible.
SecurityException
Paint
Account Manager
onStop();
3. 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.
Dots per inch
BackupHelper
AudioManager
Paint
4. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
drawBitmap()
Google Cloud Messaging for Android (GCM)
setContentView
View
5. 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?
SearchView
PackageManager
EXTRA_STREAM
Open Handset Alliance
6. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
OAuth2 protocol
SQLiteOpenHelper
Google Play
onMeasure()
7. Callback method: The activity is no longer visible
onStop();
GestureDetector
ACTION_DOCK_EVENT
Google Cloud Messaging for Android (GCM)
8. Conversion of XML back to an object
getInputStream()
Emulator
Deserialize
GestureDetector
9. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
AttributeSet
auth scope
OnCurrentItemChanged
Parser
10. This is an interface which is used to pass image data from the camera hardware to the application.
Scroller
Ducking
LocationManager
SurfaceHolder.Callback
11. Most network-connected Android apps use this to send and receive data.
Open Handset Alliance
HTTP
onDraw()
ShareActionProvider
12. This includes tools to help you identify problems in your layout performance.
Extensible Markup Language (XML)
Android SDK
Service Content Provider
AsyncTask
13. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
LocationManager
OnCurrentItemChanged
AsyncTask
SearchView
14. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
OAuth2
ViewStub
Google Cloud Messaging (GCM)
Entire
15. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AsyncTask
auth scope
Dalvik Debug Monitor Server
dual-
16. In order to get a list of accounts on the device - your app needs this permission.
Destroyed - previous
Geocoder
Stack - back stack
GET_ACCOUNTS
17. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Advanced Training
onDraw()
touch
ConnectivityManager
18. It is a string that defines the specific type of access your app is asking for.
auth scope
Stack - back stack
LocationManager
onStop();
19. This class is the basis for handling flywheel-style fling gestures.
Extensible Markup Language (XML)
Scroller
ConnectivityManager
Stack
20. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
setContentView
Application footprint
Google Cloud Messaging for Android (GCM)
BatteryManager
21. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
NetworkInfo
SearchView
isConnected()
22. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Wi-Fi radio
onDraw()
PackageManager
android.hardware.touchscreen
23. When a new activity starts - it is pushed onto the ____ and takes user focus.
InputStream
Activity
Destroyed - previous
Back stack
24. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Scroller
OnCurrentItemChanged
Stack
25. Direct component call in Android
Deserialize
Parser
Lifecycle callback methods
Explicit intent
26. 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.
Google Play
ETC1
View
Activity
27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
Stack
LocationManager
AttributeSet
28. Whenever the device is docked or undocked - this action is broadcast.
XmlPullParser
ACTION_DOCK_EVENT
Advanced Training
SQLiteOpenHelper
29. Use this to draw text.
Activity
onPause();
drawText()
ViewStub
30. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
BackupHelper
Account Manager
BroadcastReceiver
31. Are used in activities to create the user interface and to interact with the user.
onAudioFocusChange()
Fragments
XmlPullParser
isConnected()
32. Use this to draw bitmaps.
drawBitmap()
Hierarchy Viewer
Google
Linux based
33. 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
touch
ActionProvider
OAuth2
34. Callback method: The activity has become visible.
drawBitmap()
authenticator class
ViewStub
onResume();
35. It is an efficient and maintainable way to parse XML on Android.
virtual table
XmlPullParser
BackupHelper
SQLiteOpenHelper
36. This is set up to animate for the duration of the fling.
ACTION_SEND
ValueAnimator
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Entire
37. The most common way to define a layout using views is with an XML layout file saved in your ______
drawText()
Application resources
GET_ACCOUNTS
Service Content Provider
38. 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
Destroyed - previous
Application footprint
Emulator
39. Allow to combine loosely coupled components to perform certain tasks
PackageManager
XmlPullParser
Intents
AsyncTask
40. This is used to fetch the account names that the user has stored on their device.
Google Cloud Messaging for Android (GCM)
Application resources
LocationManager
Account Manager
41. The helper method is used to create the final width and height values.
visible
resolveSizeAndState()
SQLiteOpenHelper
Canvas
42. It provides a simple way to perform your work outside the main thread.
setVolumeControlStream()
Full power
AsyncTask
Low power
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Dalvik Virtual Machine
SearchView
onResume();
View
44. Android system uses a special virtual machine to run java based applicatons
ConnectivityManager
onResume();
Dalvik Virtual Machine
ViewStub
45. 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()
SurfaceView
Application footprint
SQLiteOpenHelper
46. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Dalvik Virtual Machine
Canvas
auth scope
XmlPullParser
47. Represents the visual representation of an Android application
ConnectivityManager
SurfaceView
Activity
ACTION_SEND
48. This is the most common input event in the Android system.
Explicit intent
View
AsyncTask
touch
49. 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
Google Cloud Messaging (GCM)
android.hardware.touchscreen
Objects Activity lifecycle
50. It is available starting with API Level 14 and higher.
Destroyed - previous
Activity
Component - screen
ShareActionProvider