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 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
Activity
touch
resolveSizeAndState()
2. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onStop();
<declare-styleable>
Wi-Fi radio
visible
3. An open source group led by Google
ETC1
Extensible Markup Language (XML)
ActionProvider
Open Handset Alliance
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.
inflate()
Linux based
LocationManager
Parser
5. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
authenticator class
drawBitmap()
Lifecycle callback methods
onMeasure()
6. This widget as an item in the action bar is the preferred way to provide search in your app.
inflate()
setContentView
SearchView
onStart() - onStop()
7. Android request its permission using its ________
AndroidManifest.xml
Objects Activity lifecycle
Lifecycle callback methods
resolveSizeAndState()
8. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Deserialize
HTTP
adb
9. 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
Application resources
inflate()
LocationManager
10. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
AttributeSet
Widgets
ValueAnimator
authenticator class
11. Are used in activities to create the user interface and to interact with the user.
Geocoder
onResume();
ConnectivityManager
Fragments
12. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
GET_ACCOUNTS
onCreate() - onDestroy()
OAuth2 protocol
13. It provides a simple way to perform your work outside the main thread.
AsyncTask
Extensible Markup Language (XML)
Activity
View
14. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ACTION_DOCK_EVENT
setVolumeControlStream()
onCreate();
Activity
15. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
dual-
authenticator class
Destroyed - previous
16. Conversion of an object to XML
Serialize
Service Content Provider
View
ShareActionProvider
17. Conversion of XML back to an object
Deserialize
<declare-styleable>
Google
Wi-Fi radio
18. The helper method is used to create the final width and height values.
Android SDK
Entire
resolveSizeAndState()
Canvas
19. A styleable entity that contains these two custom attributes: showText and labelPosition.
Android SDK
LocationManager
HttpURLConnection
PieChart
20. This is the most common input event in the Android system.
touch
EXTRA_STREAM
Activity
Ducking
21. 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.
SearchView
security sandbox
Activity
adb
22. 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
onMeasure()
OAuth2
onCreate() - onDestroy()
23. Shows the actual amount of memory the application uses
Activity
Application footprint
Destroyed - previous
getInputStream()
24. It is a free service for sending messages to Android devices.
Scroller
Objects Activity lifecycle
Google Cloud Messaging (GCM)
onMeasure()
25. Sharing of data in Android is done via________
Scroller
adb
Service Content Provider
onCreate() - onDestroy()
26. Callback method: The activity is no longer visible
SQLite
onStop();
LocationManager
Application footprint
27. Necessary tools to develop Android applications
onPause();
Advanced Training
onStop();
Android SDK
28. To define custom attributes - add this resources to your project.
setContentView
<declare-styleable>
When the activity resumes
drawBitmap()
29. 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?
EXTRA_STREAM
Low power
Service Content Provider
PieChart
30. It doesn't currently support the <merge/> tag in the layouts to be inflated.
getInputStream()
onCreate() - onDestroy()
ViewStub
OAuth2
31. 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.
EXTRA_STREAM
OAuth2
searchable configuration
Emulator
32. The most common way to define a layout using views is with an XML layout file saved in your ______
auth scope
Application resources
android.hardware.touchscreen
ConnectivityManager
33. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Explicit intent
getInputStream()
onAudioFocusChange()
EXTRA_STREAM
34. 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
Standby
onAudioFocusChange()
getInputStream()
35. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Dalvik Debug Monitor Server
Android SDK
ACTION_DOCK_EVENT
BatteryManager
36. The industry standard way to deal with authentication to third-party services.
NetworkInfo
OAuth2 protocol
Advanced Training
Fragments
37. Use this to draw text.
Scroller
HTTP
LocationManager
drawText()
38. 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.
SQLiteOpenHelper
ETC1
AndroidManifest.xml
Standby
39. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onCreate();
ETC1
View
ACTION_SEND
40. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
ACTION_DOCK_EVENT
Low power
View
41. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Deserialize
ConnectivityManager
ACTION_SEND
42. This is used to convert raw touch events into gestures.
OnCurrentItemChanged
searchable configuration
GestureDetector
View
43. Relative to pixels and resolution screen
Dots per inch
NetworkInfo
onAudioFocusChange()
Intent filters
44. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Objects Activity lifecycle
Layouts
auth scope
Account
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
BatteryManager
Entire
Hierarchy Viewer
Layouts
46. 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 _____
Scroller
Hierarchy Viewer
onCreate() - onDestroy()
BroadcastReceiver
47. The minimal energy state during which no network connection is active or required.
onStop();
Canvas
OAuth2
Standby
48. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
When the activity resumes
AbstractAccountAuthenticator
Widgets
Serialize
49. Android is __________.
AndroidManifest.xml
Ducking
Linux based
onAudioFocusChange()
50. The visible lifetime of an activity happens between the call to ____ and the call to ______
NetworkInfo
onStart() - onStop()
searchable configuration
ConnectivityManager
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