Q1. Which of the following is a database tool included in Android SDK?
A.sqlite3.
B. sqlite.
C. adb.
D. All are correct.
Correct Answer: A
Q2. What is the result of the query when run on SQLite database?
A.The result is returned in the form of a List
B. The result is returned in the form of a Map
C. A cursor is returned that points to all rows found by query.
D. All are correct
Correct Answer: C
Q3. What is the recommended use of BaseColumns._ID in SQLite database?
A.It should always be used to maintain unique ID
B. It should be used to include unique ID when content provider is being used.
C. It is deprecated now.
D. All are correct.
Correct Answer: B
Q4. Which of the following is true about calling method getWritbleDatabase()?
A.SQLiteOpenHelper.onCreate() is only called when database is created for the first time.
B. SQLiteOpenHelper.onCreate() is always called.
C. SQLiteOpenHelper.onCreate() is always called when user starts the application.
D. None are correct.
Correct Answer: A
$ 39
Reviews
There are no reviews yet.