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 ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
SearchView
Linux based
ETC1
2. 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?
Scroller
onDraw()
Google Cloud Messaging for Android (GCM)
AttributeSet
3. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
inflate()
Application resources
OnCurrentItemChanged
4. This is used to check that you're actually connected to the Internet and what type of connection is in place.
BackupHelper
onCreate() - onDestroy()
Standby
ConnectivityManager
5. 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.
Paint
Activity
LTE
drawText()
6. Callback method: The activity is being created.
onCreate();
inflate()
Scroller
setContentView
7. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Android SDK
authenticator class
BackupHelper
8. A mode where navigation is set up with a spinner widget.
single-pane
View
Deserialize
Service Content Provider
9. Theseare a key part of Android applications that directly affect the user experience.
BatteryManager
Layouts
Google Cloud Messaging for Android (GCM)
Activity
10. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onCreate() - onDestroy()
Dalvik Debug Monitor Server
ShareActionProvider
ConnectivityManager
11. A service in which programmers can offer their Android application to Android users.
SurfaceView
Dots per inch
Advanced Training
Google Play
12. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
AbstractAccountAuthenticator
security sandbox
adb
Full power
13. This broadcasts an action whenever the device is connected or disconnected from power.
onStop();
Layouts
BatteryManager
Destroyed - previous
14. The minimal energy state during which no network connection is active or required.
setContentView
Intents
HttpURLConnection
Standby
15. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack - back stack
virtual table
Wi-Fi radio
16. This is the most common input event in the Android system.
touch
Services
OnCurrentItemChanged
visible
17. Are used in activities to create the user interface and to interact with the user.
Fragments
Scroller
onSearchRequested()
onDestroy();
18. 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 _____
Component - screen
onCreate() - onDestroy()
SurfaceView
Scroller
19. It is called to invoke the search dialog on older devices.
Canvas
ConnectivityManager
Extensible Markup Language (XML)
onSearchRequested()
20. This object contains an account name - which for Google accounts is an email address.
Account
GestureDetector
View
Widgets
21. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Full power
Lifecycle callback methods
Layouts
22. Conversion of XML back to an object
SearchView
Deserialize
BatteryManager
ACTION_DOCK_EVENT
23. This is used to register and de-register your media button event receiver.
AudioManager
Intent filters
onDraw()
Emulator
24. This includes tools to help you identify problems in your layout performance.
AndroidManifest.xml
Android SDK
Serialize
resolveSizeAndState()
25. Evaluation of registered components
ValueAnimator
SearchView
BroadcastReceiver
Implicit intent
26. To create an activity - you must create a subclass of
Activity
single-pane
Dalvik Debug Monitor Server
adb
27. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
Standby
PackageManager
BroadcastReceiver
Android SDK
28. Android system uses a special virtual machine to run java based applicatons
Dots per inch
Activity
Dalvik Virtual Machine
BroadcastReceiver
29. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SurfaceHolder.Callback
onCreate() - onDestroy()
single-pane
AsyncTask
30. 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
Linux based
drawBitmap()
ActionProvider
31. This is the main class through which your application can access location services on Android.
Back stack
Implicit intent
dual-
LocationManager
32. Converts XML Document to XML DOM
Activity
Account
Parser
Android SDK
33. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
AudioManager
setVolumeControlStream()
Stack
34. It is a free service for sending messages to Android devices.
Stack - back stack
Application footprint
HttpURLConnection
Google Cloud Messaging (GCM)
35. This class exposes a number of methods for applications to receive location updates.
SurfaceHolder.Callback
Advanced Training
LocationManager
Hierarchy Viewer
36. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
BackupHelper
Widgets
onDraw()
Google Play
37. It is a subclass of PreferenceActivity.
Scroller
AbstractAccountAuthenticator
SettingsActivity
AndroidManifest.xml
38. It provides a simple way to perform your work outside the main thread.
ViewStub
AsyncTask
Account Manager
LocationManager
39. The most common way to define a layout using views is with an XML layout file saved in your ______
Services
HttpURLConnection
Application resources
onCreate() - onDestroy()
40. Allow to combine loosely coupled components to perform certain tasks
auth scope
Intents
ACTION_SEND
onDestroy();
41. Callback method: The activity is no longer visible.
onResume();
onPause();
onStop();
android.hardware.touchscreen
42. Callback method: The activity has become visible.
auth scope
AndroidManifest.xml
onResume();
Intents
43. This is used for the need of finer control over your view's layout parameters.
Standby
onMeasure()
Service Content Provider
View
44. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SecurityException
AudioManager
XmlPullParser
isConnected()
45. ______ are views derived from ViewGroup that provide a unique layout model for its child views
inflate()
ACTION_SEND
Layouts
Google Play
46. This is used to fetch the account names that the user has stored on their device.
Account Manager
Account
SurfaceHolder.Callback
Google Cloud Messaging for Android (GCM)
47. 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.
authenticator class
Deserialize
Service Content Provider
Paint
48. It is a set of rules for encoding documents in machine-readable form.
Component - screen
ConnectivityManager
Service Content Provider
Extensible Markup Language (XML)
49. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
OAuth2 protocol
Advanced Training
Open Handset Alliance
50. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Account
ETC1
Objects Activity lifecycle
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests