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. Represents the visual representation of an Android application
inflate()
Service Content Provider
Activity
GestureDetector
2. Callback method: The activity is no longer visible.
adb
onAudioFocusChange()
authenticator class
onStop();
3. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
onSearchRequested()
ViewStub
Lifecycle callback methods
4. Amode where the action bar is set up with tabs for navigation.
dual-
Lifecycle callback methods
onCreate() - onDestroy()
ConnectivityManager
5. The helper method is used to create the final width and height values.
<declare-styleable>
Google
View
resolveSizeAndState()
6. Use this to draw text.
SecurityException
searchable configuration
drawText()
Implicit intent
7. Relative to pixels and resolution screen
Full power
BatteryManager
Dots per inch
onCreate() - onDestroy()
8. 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
Parser
getInputStream()
Destroyed - previous
authenticator class
9. Are used in activities to create the user interface and to interact with the user.
Fragments
Dalvik Virtual Machine
Stack - back stack
Full power
10. Sharing of data in Android is done via________
LTE
Service Content Provider
ActionProvider
Dalvik Virtual Machine
11. 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.
Paint
onCreate() - onDestroy()
ETC1
Wi-Fi radio
12. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
SurfaceHolder.Callback
Scroller
dual-
onStop();
13. This action is used in sending text content from one activity to another.
Fragments
Stack - back stack
Standby
ACTION_SEND
14. A styleable entity that contains these two custom attributes: showText and labelPosition.
XmlPullParser
AsyncTask
drawText()
PieChart
15. This is a readable source of bytes.
Layouts
InputStream
virtual table
Layouts
16. Allow to combine loosely coupled components to perform certain tasks
Implicit intent
Dalvik Virtual Machine
Intents
Explicit intent
17. Use this to draw bitmaps.
onStop();
Google Cloud Messaging (GCM)
Fragments
drawBitmap()
18. 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
virtual table
onAudioFocusChange()
Extensible Markup Language (XML)
19. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
View
OAuth2
Serialize
20. The minimal energy state during which no network connection is active or required.
Hierarchy Viewer
inflate()
View
Standby
21. The most common way to define a layout using views is with an XML layout file saved in your ______
Canvas
ACTION_DOCK_EVENT
onStop();
Application resources
22. An intermediate state that uses around 50% of the battery power at the full state.
InputStream
Low power
Stack
Dalvik Virtual Machine
23. To create an activity - you must create a subclass of
onCreate() - onDestroy()
Activity
InputStream
Emulator
24. 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 ___ .
HttpURLConnection
Stack
Activity
Component - screen
25. Conversion of an object to XML
Serialize
android.hardware.touchscreen
Google Cloud Messaging for Android (GCM)
Dots per inch
26. 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
Component - screen
SettingsActivity
Parser
<declare-styleable>
27. Perform background tasks without providing a user interface
Scroller
HttpURLConnection
ACTION_SEND
Services
28. This is the simplest way to monitor device state changes.
visible
Application footprint
BroadcastReceiver
Low power
29. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Objects Activity lifecycle
setContentView
Open Handset Alliance
Dalvik Debug Monitor Server
30. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
ShareActionProvider
Activity
setVolumeControlStream()
31. Where Android is currently primarily developed
Google Cloud Messaging for Android (GCM)
onCreate();
Google
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
32. 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.
View
Google Cloud Messaging (GCM)
ETC1
onDestroy();
33. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
<declare-styleable>
SearchView
34. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Stack
AsyncTask
Stack - back stack
35. 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
inflate()
BatteryManager
setVolumeControlStream()
36. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
PieChart
virtual table
ConnectivityManager
setContentView
37. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
NetworkInfo
ViewStub
Widgets
single-pane
38. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Service Content Provider
onStop();
View
Linux based
39. The visible lifetime of an activity happens between the call to ____ and the call to ______
Activity
BackupHelper
onStart() - onStop()
OAuth2
40. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
Full power
Widgets
drawText()
41. Callback method: The activity is about to be destroyed.
onDestroy();
Scroller
Stack
Lifecycle callback methods
42. is run when running Android on the pc
Emulator
BatteryManager
Open Handset Alliance
AccountAuthenticatorActivity
43. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Wi-Fi radio
Service Content Provider
BatteryManager
LocationManager
44. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
45. An open source stand alone database
InputStream
Geocoder
SQLite
onCreate() - onDestroy()
46. These helpers are specialized classes for backing up certain kinds of data.
ACTION_DOCK_EVENT
BackupHelper
Stack
Widgets
47. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_DOCK_EVENT
Destroyed - previous
Widgets
BatteryManager
48. On a rooted device - the credentials would be readable by anyone with this access to the device.
Android SDK
adb
LTE
Intents
49. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
auth scope
android.hardware.touchscreen
LocationManager
SearchView
50. For example - a ____ might be a button that initiates an action when the user touches it.
single-pane
Destroyed - previous
ConnectivityManager
View