Академический Документы
Профессиональный Документы
Культура Документы
com/android-online-test-2
1. 1 points
1.
o A) small
o B) normal
o C) large
2. 1 points
2.
o A) device memory
o B) external memory
o C) security sandbox
o D) none of the above
3. 1 points
3.
o A) Object
o B) Context
o C) ContextWrapper
o D) ContextThemeWrapper
4. 1 points
4.
o A) ListActivity
o B) ActivityGroup
o C) FragmentActivity
o D) all the aove
5. 1 points
5.
o A) launcherActivity
o B) preferenceActivity
o C) tabActivity
6. 1 points
6.
o A) using Intent
o B) using SQLite
o C) using ContentResolver
o D) none of the above
7. 1 points
7.
o A) started
o B) bound
o C) a&b
o D) messenger
8. 1 points
8.
If your service is private to your own application and runs in the same
process as the client (which is common), you should create your interface
by extending the ________class?
o A) messenger
o B) binder
o C) AIDL
o D) none of the above
9. 1 points
9.
o A) dialogFragment
o B) listFragment
o C) preferenceFragment
o D) cursorFragment
10. 1 points
10.
o A) low density
o B) medium density
11. 1 points
11.
o A) activity
o B) services
o C) contentProvider
o D) broadcastReceiver
12. 1 points
12.
Definition of Loader?
13. 1 points
13.
o A) object
o B) context
o C) activityGroup
o D) contextThemeWrapper
14. 1 points
14.
o A) onDestory()
o B) finishActivity()
o C) finish()
15. 1 points
15.
16. 1 points
16.
o B) remoteViewsService
o C) spellCheckerService
o D) inputMethodService
17. 1 points
17.
18. 1 points
18.
o B) input configurations
o C) device features
19. 1 points
19.
If you need your interface to work across different processes, you can
create an interface for the service with a ________?
o A) Binder
o B) Messenger
o C) AIDL
o D) b or c
20.1 points
20.
Layouts in android?
o A) Frame Layout
o B) Linear Layout
o C) Relative Layout
Results
Marks : 13 of 20 questions answered correctly
Your time :
00:04:12
1. 1 points
1.
o B) normal
o C) large
Correct
Answer : D
No answer description.
2. 1 points
2.
o A) device memory
o B) external memory
o C) security sandbox
Correct
Answer : C
No answer description
3. 1 points
3.
o A) Object
o B) Context
o C) ContextWrapper
o D) ContextThemeWrapper
Incorrect
Answer : C
No answer description.
4. 1 points
4.
o A) ListActivity
o B) ActivityGroup
o C) FragmentActivity
Correct
Answer : D
No answer description.
5. 1 points
5.
o A) launcherActivity
o B) preferenceActivity
o C) tabActivity
Correct
Answer : D
No answer description.
6. 1 points
6.
o A) using Intent
o B) using SQLite
o C) using ContentResolver
Correct
Answer : C
No answer description.
7. 1 points
7.
o A) started
o B) bound
o C) a&b
o D) messenger
Correct
Answer : C
No answer description.
8. 1 points
8.
If your service is private to your own application and runs in the same
process as the client (which is common), you should create your interface
by extending the ________class?
o A) messenger
o B) binder
o C) AIDL
Correct
Answer : B
No answer description.
9. 1 points
9.
o A) dialogFragment
o B) listFragment
o C) preferenceFragment
o D) cursorFragment
Incorrect
Answer : D
No answer description.
10. 1 points
10.
o A) low density
o B) medium density
Correct
Answer : D
No answer description.
11. 1 points
11.
o A) activity
o B) services
o C) contentProvider
o D) broadcastReceiver
Correct
Answer : C
No answer description.
12. 1 points
12.
Definition of Loader?
Incorrect
Answer : B
No answer description.
13. 1 points
13.
o B) context
o C) activityGroup
o D) contextThemeWrapper
Incorrect
Answer : D
No answer description.
14. 1 points
14.
o A) onDestory()
o B) finishActivity()
o C) finish()
Incorrect
Answer : C
No answer description.
15. 1 points
15.
Incorrect
Answer : A
No answer description.
16. 1 points
16.
o A) recognitionService
o B) remoteViewsService
o C) spellCheckerService
o D) inputMethodService
Correct
Answer : D
No answer description.
17. 1 points
17.
Correct
Answer : D
No answer description.
18. 1 points
18.
o B) input configurations
o C) device features
Correct
Answer : D
No answer description.
19. 1 points
19.
If you need your interface to work across different processes, you can
create an interface for the service with a ________?
o A) Binder
o B) Messenger
o C) AIDL
o D) b or c
Incorrect
Answer : D
No answer description.
20.1 points
20.
Layouts in android?
o A) Frame Layout
o B) Linear Layout
o C) Relative Layout
o D) All of the above
Correct
Answer : D
No answer description.
Results
Marks : 10 of 20 questions answered correctly
Your time :
00:06:15
1. 1 points
1.
o A) AlertDialog
o B) ProgressDialog
o C) DatePickerDialog
Correct
Answer : D
No answer description.
2. 1 points
2.
o C) Both a&b
Answer : A
No answer description.
3. 1 points
3.
o A) Keypad driver
o B) WiFi? driver
o C) Audio driver
o D) Power management
Correct
Answer : B
No answer description.
4. 1 points
4.
o D) Dream weaver
Correct
Answer : B
No answer description.
5. 1 points
5.
Incorrect
Answer : B
No answer description.
6. 1 points
6.
While developing Android applications, developers can test their apps on…
Correct
Answer : D
No answer description.
7. 1 points
7.
o B) Applications
o C) Sensors
Incorrect
Answer : C
No answer description.
8. 1 points
8.
o A) Webkit
o B) Dalvik
o C) OpenGL
o D) SQLite
Correct
Answer : B
No answer description.
9. 1 points
9.
o A) Layout file
o B) Strings XML
o C) R file
o D) Manifest file
Correct
Answer : D
No answer description.
10. 1 points
10.
Which of these are not one of the three main components of the APK?
o A) Dalvik Executable
o B) Resources
o C) Native Libraries
o D) Webkit
Incorrect
Answer : D
No answer description.
11. 1 points
11.
How does Gargenta approach the problem of the app acting sluggishly due
to network latency?
o A) Starting over
o C) Refactoring code
o D) Multithreading
Correct
Answer : D
No answer description.
12. 1 points
12.
If you want share the data across the all applications ,you should go for?
o A) Shared Preferences
o B) Content provider
o C) Internal Storage
o D) SQLite Databases
Incorrect
Answer : B
No answer description.
13. 1 points
13.
What is the name of the program that converts Java byte code into Dalvik
byte code?
o A) Android Interpretive Compiler (AIC)
o B) Dalvik Converter
o C) Dex compiler
Incorrect
Answer : C
No answer description.
14. 1 points
14.
When the activity is not in focus, but still visible on the screen it is in?
o A) running state
o B) stopped state
o C) paused state
o D) destroyed state
Correct
Answer : C
No answer description.
15. 1 points
15.
o A) confound
o B) absract
o C) modularize
o D) compound
Incorrect
Answer : B
No answer description.
16. 1 points
16.
o B) Hardware malfunctions
Incorrect
Answer : A
No answer description.
17. 1 points
17.
What was the main reason for replacing the Java VM with the Dalvik VM
when the project began?
Answer : B
No answer description.
18. 1 points
18.
Incorrect
Answer : D
No answer description.
19. 1 points
19.
The XML file that contains all the text that your application uses.
o A) stack.xml
o B) text.xml
o C) strings.xml
o D) string.java
Correct
Answer : C
No answer description.
20.1 points
20.
o A) 2005
o B) 2006
o C) 2007
o D) 2008
Incorrect
Answer : C
No answer description.
Results
Marks : 13 of 20 questions answered correctly
Your time :
00:07:54
1. 1 points
1.
o B) Running state
o C) Loading state
o D) Inexistent state
Correct
Answer : A
No answer description.
2. 1 points
2.
What was the first phone released that ran the Android OS?
o A) Google gPhone
o B) T-Mobile G1
o C) Motorola Droid
o D) HTC Hero
Incorrect
Answer : B
No answer description.
3. 1 points
3.
o A) cupcake
o B) Gingerbread
o C) Honeycomb
o D) Muffin
Correct
Answer : D
No answer description.
4. 1 points
4.
Correct
Answer : A
No answer description.
5. 1 points
5.
o A) Starting
o B) Running
o C) Destroyed
o D) Paused
Correct
Answer : D
No answer description.
6. 1 points
6.
Which of the following is NOT an activity we will be creating for the YAMBA
project?
o A) Preferences Activity
o B) Update Activity
o C) Timeline Activity
o D) Status Activity
Incorrect
Answer : B
No answer description.
7. 1 points
7.
Correct
Answer : A
No answer description.
8. 1 points
8.
o A) Layout file
o B) Manifest file
o C) Strings XML
o D) R file
Correct
Answer : A
No answer description.
9. 1 points
9.
Why the so few users are left with versions 1.0 and 1.1?
o B) 1.0 and 1.1 had security holes that forced carriers to recall
phones using them
o C) 1.0 and 1.1 are just number designations for the version
Apple’s iPhone is running
o D) Everyone with 1.0 and 1.1 were upgraded to 1.5 over the air
automatically
Correct
Answer : D
No answer description.
10. 1 points
10.
o A) Application Package
o D) Android Package
Incorrect
Answer : A
No answer description.
11. 1 points
11.
Which Android version had the greatest share of the market as of January
2011?
o A) 1.1
o B) 1.5
o C) 2.3
o D) 3.4
Incorrect
Answer : B
No answer description.
12. 1 points
12.
How does Google check for malicious software in the Android Market?
Correct
Answer : B
No answer description.
13. 1 points
13.
What is the driving force behind an Android application and that ultimately
gets converted into a Dalvik executable?
o B) R-file.
o C) The emulator
o D) The SDK
Incorrect
Answer : A
No answer description.
14. 1 points
14.
Correct
Answer : A
No answer description.
15. 1 points
15.
Intents
o C) are asynchronous
o D) all of those
Correct
Answer : D
No answer description.
16. 1 points
16.
o A) SQLite
o B) Apache
o C) MySQL
o D) Oracle
Correct
Answer : A
No answer description.
17. 1 points
17.
When developing for the Android OS, Java byte code is compiled into what?
o D) C source code
Correct
Answer : C
No answer description.
18. 1 points
18.
Incorrect
Answer : D
No answer description.
19. 1 points
19.
Status data will be exposed to the rest of the Android system via:
o A) Intents
o B) A content provider
o C) Network receivers
o D) Altering permissions
Incorrect
Answer : B
No answer description.
20.1 points
20.
Correct
Answer : B
No answer description.
Results
1. 1 points
1.
Although most people’s first thought when they think of Android is Google,
Android is not actually owned by Google. Who owns the Android platform?
o A) Oracle Technology
o B) Dalvik
Correct
Answer : C
No answer description.
2. 1 points
2.
o A) Observer
o B) Mediator
o C) Command
o D) Facade
Correct
Answer : A
No answer description.
3. 1 points
3.
Android releases since 1.5 have been given nicknames derived how?
o B) Food
o D) American states
Correct
Answer : B
No answer description.
4. 1 points
4.
Which of the following is the most “resource hungry” part of dealing with
Activities on Android?
o A) Closing an app
o B) Suspending an app
Incorrect
Answer : C
No answer description.
5. 1 points
5.
o A) A Java project
o B) A Java class
o C) A method call
o D) An object field
Correct
Answer : B
No answer description.
6. 1 points
6.
o A) 2003
o B) 2005
o C) 2007
o D) 2006
Incorrect
Answer : B
No answer description.
7. 1 points
7.
As an Android programmer, what version of Android should you use as your
minimum development target?
Incorrect
Answer : A
No answer description.
8. 1 points
8.
The android OS comes with many useful system services, which include
processes you can easily ask for things such as your..
o B) Location
o C) Sensor Readings
o D) WiFi? Hot Spots
Correct
Answer : A
No answer description.
9. 1 points
9.
o A) Intents
o B) Content Providers
o C) Services
o D) Applications
Correct
Answer : C
No answer description.
10. 1 points
10.
Which of the following are not a component of an APK file?
o A) Resources
o C) Native Libraries
o D) Dalvik executable
Correct
Answer : B
No answer description.
11. 1 points
11.
What is a key difference with the distribution of apps for Android based
devices than other mobile device platform applications?
Incorrect
Answer : B
No answer description.
12. 1 points
12.
o C) Never
Correct
Answer : B
No answer description.
13. 1 points
13.
What does the Gargenta mean in his Design Philosophy when he says that
the project will, “Always be whole and complete”?
Correct
Answer : C
No answer description.
14. 1 points
14.
o B) 2005
o C) 2008
o D) 2010
Incorrect
Answer : B
No answer description.
15. 1 points
15.
o A) Linux
o B) Windows
o C) Java
o D) XML
Correct
Answer : A
No answer description.
16. 1 points
16.
o C) native libraries
Correct
Answer : B
No answer description.
17. 1 points
17.
Correct
Answer : B
No answer description.
18. 1 points
18.
o A) Gnu’s GPL
o B) OSS
o C) Apache/MIT
o D) Sourceforge
Incorrect
Answer : C
No answer description.
19. 1 points
19.
What is an Activity?
Correct
Answer : A
No answer description.
20.1 points
20.
o B) Portability
o C) Networking
o D) All of these
Correct
Answer : D
No answer description.
Results
Marks : 12 of 20 questions answered correctly
Your time :
00:09:56
1. 1 points
1.
Which of the following function calls can be used to start a Service from
your Android application?
o A) bindService
o B) startService
o C) runService
o D) Both a&b
Correct
Answer : D
No answer description.
2. 1 points
2.
Correct
Answer : C
No answer description.
3. 1 points
3.
Which of the following are UI elements that you can use in a window in an
Android application?
o A) TextBox
o B) TextView
o C) EditText
o D) Both b&c
Correct
Answer : D
No answer description.
4. 1 points
4.
Which of the following is/are appropriate for saving the state of an Android
application?
o A) Activity.onFreeze()
o B) Activity.onPause()
o C) Activity.onStop()
o D) Activity.onDestroy()
Correct
Answer : B
No answer description.
5. 1 points
5.
Which of the following would you have to include in your project to use the
APIs and classes required to access the camera on the mobile device?
Incorrect
Answer : B
No answer description.
6. 1 points
6.
Which of the following fields of the Message class should be used to store
custom message codes about the Message?
o A) tag
o B) what
o C) arg1
o D) userData
Incorrect
Answer : B
No answer description.
7. 1 points
7.
What is “Android-dx”?
Incorrect
Answer : C
No answer description.
8. 1 points
8.
Correct
Answer : D
No answer description.
9. 1 points
9.
Which of the following can you use to add items to the screen menu?
o A) Activity.onCreateOptionsMenu
o B) Activity.onCreate
o C) Activity.onPrepareOptionsMenu
o D) Both a&b
Correct
Answer : D
No answer description.
10. 1 points
10.
Which of the following would you have to include in your project to use the
SimpleAdapter class?
o A) import android.content
o B) import android.widget
o C) import android.database
o D) import android.database.sqlite
Correct
Answer : B
No answer description.
11. 1 points
11.
What is “Android-Positron”?
o A) A command line tool to create Android project files
Incorrect
Answer : B
No answer description.
12. 1 points
12.
Which of the following can you use to display a progress bar in an Android
application?
o A) ProgressBar
o B) ProgressDialog
o C) ProgressView
o D) Both a&b
Incorrect
Answer : D
No answer description.
13. 1 points
13.
o A) Automatically
o B) Manually
o C) Emulated
Correct
Answer : A
No answer description.
14. 1 points
14.
Which of the following is the parent class for the main application class in
an Android application that has a user interface?
o A) MIDLet
o B) AndroidApp
o C) Activity
o D) AppLet
Correct
Answer : C
No answer description.
15. 1 points
15.
Which of the following are classes that can be used to handle the
Bluetooth functionality on a device?
o A) Adapter
o B) Manager
o C) Matcher
o D) BluetoothAdapter
Correct
Answer : D
No answer description.
16. 1 points
16.
Which of the following can be used to bind data from an SQL database to a
ListView in an Android application?
o A) SimpleCursor
o B) SimpleCursorAdapter
o C) SimpleAdapter
o D) SQLiteCursor
Incorrect
Answer : B
No answer description.
17. 1 points
17.
o B) APPLICATIONCONTEXT
o C) CONTEXTAPP
o D) ONCREATE
Correct
Answer : A
No answer description.
18. 1 points
18.
Which of the following are valid features that you can request using
requestWindowFeature?
o A) FEATURE_NO_TITLE
o B) FEATURE_NO_ICON
o C) FEATURE_RIGHT_ICON
o D) Both a& c
Incorrect
Answer : D
No answer description.
19. 1 points
19.
Which answer is not part of the design philosophy talked about in chapter
five?
o B) Small increments
o C) large increments
o D) Refactoring code
Incorrect
Answer : C
No answer description.
20.1 points
20.
Which of the following should be used to save the unsaved data and
release resources being used by an Android application?
o A) Activity.onStop()
o B) Activity.onPause()
o C) Activity.onDestroy()
o D) Activity.onShutdown()
Correct
Answer : C
No answer description.