Font size
WorksheetsPRM392 - XTra
Total questions: 47
Worksheet time: 24mins
Explain android activity life cycle?
A - onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop() −> onActivityDistroy() −> onDestroy()
B - OnCreate() −> onStart() −> onResume() −> onPause() −> onStop() −> onRestart() −> onDestroy()
C - OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
D - OnCreate() −> onStart() −> onPause() −> onResume()
a
b
c
d
How many sizes are supported by Android?
A - Android supported all sizes
B - Android does not support all sizes
C - Android supports small,normal, large and extra-large sizes
D - Size is undefined in android
a
b
c
d
How to upgrade SQlite the database from a lower version to higher version in androidSQlite?
A - Using helper Class
B - Using cursor
C - Using intent
D - None of the above
a
b
c
d
What are commands needed to create APK in android?
A - No need to write any commands
B - Create apk_android in command line
C - Javac,dxtool, aapt tool, jarsigner tool, and zipalign
D - None of the above
a
b
c
d
Which company developed android?
A. Apple
B. Google
C. Android Inc.
D. Nokia
a
b
c
d
Which company bought android?
A. Apple
B. Riot games
C. Nokia
D. Google
a
b
c
d
Web browser available in android is based on
A. Chrome
B. Firefox
C. Open-source Webkit
D. Opera
a
b
c
d
Is Android available in ROM?
A. Yes B. No
a
b
Android is based on which language.
A. C
B.C++
C. VC++
D. Java
a
b
c
d
Android doesn't support which format?
A. MP4
B. MPEG
C. AVI
D. MIDI
a
b
c
d
Android supports which features.
A. Multitasking
B. Bluetooth
C. Video calling
D. All of the above
a
b
c
d
Which of the following Dialog boxes are supported by Android?
1) AlertDialog 2) ProgressDialog 3) DatePickerDialog 4) TimePickerDialog
A. 1 and 2
B. 3 and 4
C. all of the above
D. none of these
a
b
c
d
If you want to increase the whitespace between widgets, you will need to use the _____ property
A. Android:padding
B. Android:digits
C. Android:capitalize
D. Android:autoText
a
b
c
d
Using a content provider, which of the following operations are able to perform?
1) create 2) read 3) update 4) delete
A. 1,2,3
B. 2,3,4
C. all of the above
D. none of these
a
b
c
d
An Android SDK is required to develop the application for Android.
A.Yes
B. No
a
b
Which of the following holds Java source code for the application?
A.res/
B.assets/
C.src/
D.bin/
a
b
c
d
What is android?
A. Desktop Operating System
B. Programming Language
C. Mobile Operating System
D. Database
a
b
c
d
Which of the following(s) is/are component of APK file?
A. Resources
B. Delvik Executable
C. both a and b
D. none of above
a
b
c
d
Typically MIME type will be
A.html
B.text
C.Text/HTML
D.Doc
a
b
c
d
Eclipse is an _____
A. Android tool
B. IDE
C. Android interface
D. none of these
a
b
c
d
.To update contents of content provider using curser and commit you need to call________
A.commitUpdates()
B.updates()
C.commit()
D.none of these
a
b
c
d
insert data into a content provider, you need to use______
1) insert() 2) bulkInsert() 3) getContentProvider() 4)update()
A. 1 and 2
B. 3 and 4
C. all of the above
D. none of these
a
b
c
d
What is mean by ANR?
A. Application not Recognized
B. Android not recognized
C. Application Not Responding
D. none of these
a
b
c
d
ADB stands for _____
A. Android Debug Bridge
B. Application Debug Bridge
C. Android data bridge
D. An dau buoi
a
n
c
d
In _____, sender specifies type of receiver.
A. Implicit intent
B. Explicit intent
C. A and B
D. Any activity
a
b
c
d
Which of the following are different storage methods available in Android?
1) Shared Preferences 2) Internal Storage 3) External Storage
4) SQLite Databases 5) NetworkConnection 6)Intermediate storage
A. 1,2,3,4,6
B. 2,3,4,5,6
C. 1,2,3,4,5
D. 1,2,3,4,5,6
a
b
c
d
For creating user interface in Android, you have to use
A. Eclipse
B. java and XML
C. java and SQL
D. Java and Pl/sql
a
b
c
d
.For _____ , code used by Android is not a open source
A. Device driver
B. Video driver
C. WiFi driver
D. Bluetooth driver
a
b
c
d
What is an anonymous class in android?
A - Interface class
B - A class that does not have a name but have functionalities in it
C - Java class
a
b
c
What are return types of startActivityForResult() in android?
A - RESULT_OK
B - RESULT_CANCEL
C - RESULT_CRASH
D- A and B
a
b
c
d
What is an activity in Android?
A - Activity performs the actions on the screen
B - Manage the Application content
C - Screen UI
D - None of the above
a
b
c
d
____ object allows to modify the preference values. Select one:
a. Preferences.Editor
b. Preferences.Modificator
c. SharedPreferences.Editor
d. SharedPreferences.Modificator
a
b
c
d
Which of following methods is used to launch an activity for which you would like a resultwhen it finished? Select one:
a. startActivity()
b. startActivityForResult()
c. startActivityIfNeeded()
d. startIntentSender()
a
b
c
d
PendingIntent is used to grant to another application the right to perform the operation that specified as if the other application was in current app.
Select one:
a.True
b. False
a
b
Identify two ways to execute a delete statement, in SQLite: (db is instance of SQLiteDatabase class)
Select one or more:
a. To execute db.delete method
b. To execute db.execSQL method
c. To execute db.update method
d. To execute db.exec method
a
b
c
d
Which of followings provides the getLatitude and getLongitude methods?
Select one:
a. LocationManager
b. All of others
c. Location
d. Map
a
b
c
d
_____ are asynchronous messages which allow Android components to request functionality from other components of the Android system
Select one:
a. Messages
b. Filters
c. Activities
d. Bundles
e. Intents
a
b
c
d
e
What is the persistence mechanism that allows to sort and retrieve quickly large datasetsand can easily be used to store customized data? Select one:
a. Persistent Storage
b. Android File API
c. Shared Preferences
d. SQLite
a
b
c
d
A broadcast receiver will be able to receive intents which can be generated via the _____ method
Select one:
a. Context.broadcast()
b. Context.startBroadcast()
c. Context.sendBroadcast()
d. Context.notify ()
a
b
c
d
_____ class exposes methods to manage a SQLite database.
Select one:
a. SQLiteQueryBuild
b. SQLiteOpenHelper
c. SQLiteDatabase
d. SQLiteProgram
a
b
c
d
Intent is used to grant to another application the right to perform the operation that specified as if the other application was in current app.
Select one:
a. True
b. False
a
b
Which of following permissions needs to specify when using the Network location service?
Select one:
a. android.permission.INTERNET
b. All of others
c. android.permission.ACCESS_FINE_LOCATION
d. android.permission.ACCESS_COARSE_LOCATION
a
b
c
d
_____ class provides the onCreate() and onUpgrade() methods to manage database creation and version management.
Select one:
a. SQLiteOpenHelper
b. Cursor
c. ContentValues
d. Bundle
e. SQLiteDatabase
a
b
c
d
e
What are the advantages of using SVG over other image formats (like JPEG and GIF)?
Select one or more:
a. SVG images can be created and edited with any text editor
b. SVG images can be searched, indexed, scripted, and compressed
c. SVG images can be printed with high quality at any resolution
d. SVG images are rendered fast.
a
b
c
d
What do the developers need to apply for before they can integrate Google Maps into your Android application?
Select one:
a. a free Google Maps API
b. All of others
c. a free developer key
d. a free Google Maps API key
e. None of others
a
b
c
d
e
Google Maps is provided via Google Play library
Select one:
a. True
b. False
a
b
