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. This widget as an item in the action bar is the preferred way to provide search in your app.
OAuth2
dual-
Parser
SearchView
2. This can be used to draw previews of what the camera sensor is picking up.
AsyncTask
XmlPullParser
SurfaceView
resolveSizeAndState()
3. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
AccountAuthenticatorActivity
virtual table
Google
Full power
4. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Dalvik Virtual Machine
onCreate() - onDestroy()
ValueAnimator
OnCurrentItemChanged
5. This object contains an account name - which for Google accounts is an email address.
isConnected()
Account
getInputStream()
virtual table
6. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Paint
android.hardware.touchscreen
Canvas
onAudioFocusChange()
7. It is an efficient and maintainable way to parse XML on Android.
Linux based
Account Manager
XmlPullParser
Layouts
8. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Hierarchy Viewer
Stack - back stack
PieChart
9. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
single-pane
BatteryManager
Linux based
10. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Parser
Hierarchy Viewer
OAuth2 protocol
Service Content Provider
11. The entire lifetime of an activity happens between the call to _____ and the call to _____
Destroyed - previous
Low power
onCreate() - onDestroy()
isConnected()
12. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Android SDK
getInputStream()
Parser
13. It is a subclass of PreferenceActivity.
Entire
GET_ACCOUNTS
LocationManager
SettingsActivity
14. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onDestroy();
searchable configuration
ConnectivityManager
EXTRA_STREAM
15. Callback method: Another activity is taking focus
AttributeSet
AsyncTask
onPause();
PackageManager
16. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SecurityException
GestureDetector
setVolumeControlStream()
ViewStub
17. Use this to draw text.
AccountAuthenticatorActivity
drawText()
visible
onDraw()
18. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
SearchView
adb
19. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Application resources
GestureDetector
inflate()
Dots per inch
20. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Activity
setVolumeControlStream()
onStop();
View
21. Android is __________.
ConnectivityManager
AbstractAccountAuthenticator
Linux based
getInputStream()
22. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
onStop();
BroadcastReceiver
ACTION_DOCK_EVENT
23. This is used to convert raw touch events into gestures.
AudioManager
Dalvik Virtual Machine
Widgets
GestureDetector
24. 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
Destroyed - previous
SurfaceHolder.Callback
Objects Activity lifecycle
Entire
25. The minimal energy state during which no network connection is active or required.
AsyncTask
ShareActionProvider
Deserialize
Standby
26. It made implementing an effective and user friendly share action in your ActionBar even easier.
AttributeSet
onStop();
ActionProvider
visible
27. To create an activity - you must create a subclass of
Activity
onStart() - onStop()
SearchView
Open Handset Alliance
28. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Services
onResume();
Dalvik Virtual Machine
Lifecycle callback methods
29. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BatteryManager
Activity
isConnected()
LTE
30. It is a string that defines the specific type of access your app is asking for.
BatteryManager
onSearchRequested()
Implicit intent
auth scope
31. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Widgets
SettingsActivity
SurfaceHolder.Callback
32. 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.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
android.hardware.touchscreen
OAuth2
Service Content Provider
33. This is used for the need of finer control over your view's layout parameters.
onResume();
GestureDetector
PieChart
onMeasure()
34. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
When the activity resumes
onCreate();
HTTP
35. Shows the actual amount of memory the application uses
Application footprint
Objects Activity lifecycle
BroadcastReceiver
Account
36. An open source stand alone database
onPause();
SQLite
auth scope
adb
37. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Layouts
Widgets
GET_ACCOUNTS
38. Callback method: The activity is no longer visible
ShareActionProvider
Application resources
Canvas
onStop();
39. Sharing of data in Android is done via________
Service Content Provider
ACTION_DOCK_EVENT
LocationManager
AudioManager
40. It is called to invoke the search dialog on older devices.
onSearchRequested()
Wi-Fi radio
Implicit intent
AbstractAccountAuthenticator
41. It provides a simple way to perform your work outside the main thread.
Fragments
AsyncTask
Activity
Layouts
42. This is the most common input event in the Android system.
HTTP
touch
LocationManager
Low power
43. Conversion of XML back to an object
Deserialize
Application resources
<declare-styleable>
onStart() - onStop()
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ViewStub
visible
Paint
onStart() - onStop()
45. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onAudioFocusChange()
android.hardware.touchscreen
SurfaceHolder.Callback
NetworkInfo
46. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Advanced Training
Stack - back stack
onCreate() - onDestroy()
onAudioFocusChange()
47. Perform background tasks without providing a user interface
Services
SecurityException
Scroller
touch
48. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Application footprint
EXTRA_STREAM
AsyncTask
49. 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
onDestroy();
BatteryManager
isConnected()
50. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Objects Activity lifecycle
LTE
ViewStub
AbstractAccountAuthenticator
Sorry!:) No result found.
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