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 helper method is used to create the final width and height values.
resolveSizeAndState()
Linux based
OnCurrentItemChanged
PieChart
2. This is used to check that you're actually connected to the Internet and what type of connection is in place.
BatteryManager
AndroidManifest.xml
ConnectivityManager
Back stack
3. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Standby
GET_ACCOUNTS
inflate()
OAuth2 protocol
4. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
LocationManager
EXTRA_STREAM
onCreate() - onDestroy()
Hierarchy Viewer
5. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Account Manager
View
ValueAnimator
onDraw()
6. 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.
ETC1
onDestroy();
onCreate() - onDestroy()
touch
7. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
SQLiteOpenHelper
ConnectivityManager
Google Cloud Messaging for Android (GCM)
Low power
8. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SearchView
Stack - back stack
Full power
onCreate() - onDestroy()
9. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
ActionProvider
ViewStub
Objects Activity lifecycle
XmlPullParser
10. Shows the actual amount of memory the application uses
XmlPullParser
Android SDK
onStart() - onStop()
Application footprint
11. Represents the visual representation of an Android application
Stack
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
Activity
12. This object contains an account name - which for Google accounts is an email address.
HttpURLConnection
Account
setVolumeControlStream()
Intent filters
13. It is a set of rules for encoding documents in machine-readable form.
Scroller
View
Advanced Training
Extensible Markup Language (XML)
14. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
LTE
onCreate() - onDestroy()
Google
15. The industry standard way to deal with authentication to third-party services.
AsyncTask
onCreate() - onDestroy()
isConnected()
OAuth2 protocol
16. 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.
Stack - back stack
isConnected()
Paint
SearchView
17. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SurfaceHolder.Callback
BroadcastReceiver
visible
Deserialize
18. It provides a simple way to perform your work outside the main thread.
AttributeSet
HttpURLConnection
AsyncTask
AndroidManifest.xml
19. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
AsyncTask
SQLite
Layouts
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
searchable configuration
touch
OAuth2 protocol
Lifecycle callback methods
21. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onMeasure()
drawBitmap()
getInputStream()
ViewStub
22. Use this to draw text.
drawText()
View
Application footprint
SQLite
23. 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?
SurfaceHolder.Callback
virtual table
EXTRA_STREAM
Intents
24. An intermediate state that uses around 50% of the battery power at the full state.
onResume();
auth scope
Low power
AccountAuthenticatorActivity
25. Conversion of an object to XML
BackupHelper
Advanced Training
ACTION_DOCK_EVENT
Serialize
26. Callback method: The activity is about to be destroyed.
BatteryManager
ValueAnimator
onDestroy();
dual-
27. This broadcasts an action whenever the device is connected or disconnected from power.
Component - screen
View
Canvas
BatteryManager
28. 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
<declare-styleable>
LocationManager
Scroller
29. 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
onDraw()
Services
Widgets
Destroyed - previous
30. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Full power
drawBitmap()
LTE
Scroller
31. This class provides one of the simplest ways to fire off a new task from the UI thread.
security sandbox
SurfaceHolder.Callback
AsyncTask
Serialize
32. Amode where the action bar is set up with tabs for navigation.
dual-
Account Manager
SearchView
BatteryManager
33. 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
onStop();
AsyncTask
LocationManager
34. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Wi-Fi radio
Activity
AbstractAccountAuthenticator
35. Most network-connected Android apps use this to send and receive data.
HTTP
auth scope
SettingsActivity
onMeasure()
36. This includes tools to help you identify problems in your layout performance.
Entire
Android SDK
Extensible Markup Language (XML)
auth scope
37. Android system uses a special virtual machine to run java based applicatons
Google Cloud Messaging for Android (GCM)
Serialize
Low power
Dalvik Virtual Machine
38. A service in which programmers can offer their Android application to Android users.
LocationManager
Google Play
visible
onStop();
39. In order to get a list of accounts on the device - your app needs this permission.
onSearchRequested()
Dalvik Debug Monitor Server
AndroidManifest.xml
GET_ACCOUNTS
40. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
resolveSizeAndState()
visible
SQLite
Geocoder
41. Direct component call in Android
SearchView
Linux based
Services
Explicit intent
42. When a new activity starts - it is pushed onto the ____ and takes user focus.
Activity
android.hardware.touchscreen
Back stack
Destroyed - previous
43. Necessary tools to develop Android applications
visible
BackupHelper
Android SDK
setVolumeControlStream()
44. It is available starting with API Level 14 and higher.
onMeasure()
Component - screen
ShareActionProvider
onPause();
45. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
BackupHelper
Entire
onStop();
onCreate() - onDestroy()
46. If permissions are missing - the application will get this at runtime.
Scroller
SecurityException
onCreate();
drawBitmap()
47. To create an activity - you must create a subclass of
Google Play
BatteryManager
Implicit intent
Activity
48. Android is __________.
AccountAuthenticatorActivity
Widgets
Linux based
Emulator
49. Allow to combine loosely coupled components to perform certain tasks
Intents
Deserialize
onPause();
AccountAuthenticatorActivity
50. Are used in activities to create the user interface and to interact with the user.
drawText()
Deserialize
Fragments
onStop();
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