Question: ____21. What is likely to happen when a background thread tries to update the user interface? A. ANR B. The application will crash. C. The
____21. What is likely to happen when a background thread tries to update the user interface?
A. ANR
B. The application will crash.
C. The user interface will update much more slowly.
D. None of these
____22. What is likely to happen when a background thread uses a Handler object (that is created on the UI thread) to update the user interface?
A. ANR
B. The application will crash.
C. The user interface will update much more slowly.
D. None of these
____23. The SQLiteDatabase query() method returns what?
A. A Cursor object.
B. The first row resulting from the query.
C. A ContentValues object.
D. The SQL statement being used.
____24. What database operation would use a ContentValues object?
a. SELECT
b. DELETE
c. INSERT
d. a or c
____25. Which of these database columns would most likely use the AUTOINCREMENT key when creating a table for storing student information?
A. name
B. gender
C. gpa
D. _id
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
