Exam 5: Menus, Sqlite
Exam 1: Basics of Android: Hello World23 Questions
Exam 2: Model View Controller, Gui Components, Events20 Questions
Exam 3: Coding the Gui Programmatically, Layout Managers20 Questions
Exam 4: Multiple Activities, Passing Data Between Activities, Transitions, Persistent Data22 Questions
Exam 5: Menus, Sqlite21 Questions
Exam 6: Managing the Device Orientation22 Questions
Exam 7: Touches and Swipes22 Questions
Exam 8: Graphics, Animations, Sounds and Gaming27 Questions
Exam 9: Fragments26 Questions
Exam 10: Using Libraries and Their Apis: Speech Recognition and Maps33 Questions
Exam 11: Using the Gps and Location Services21 Questions
Exam 12: Using an Existing App: Taking a Photo and Sending an Email28 Questions
Exam 13: Xml and Content Apps25 Questions
Exam 14: Making an Android Widget35 Questions
Exam 15: In App Advertising25 Questions
Exam 16: Security and Encryption23 Questions
Exam 17: Android Development: Extending Views, Fragments, and Google Maps Permissions127 Questions
Select questions type
We place the icon files for the menu in the ____________ directory.
Free
(Short Answer)
4.9/5
(39)
Correct Answer:
drawable
The setOnCheckedChangeListener method of the RadioGroup class registers a listener on this ____________.
Free
(Short Answer)
4.8/5
(36)
Correct Answer:
RadioGroup
A Toast is a temporary ____________ that can be used to provide visual feedback.
Free
(Short Answer)
4.9/5
(36)
Correct Answer:
popup
The onCheckedChange method of the RadioGroup.OnCheckedChangeListener interface has the following API:
Void onCheckedChanged( RadioGroup group, int a )
What does group represent?
(Multiple Choice)
4.7/5
(41)
The Blank Activity template automatically generates an XML file for a menu.
(True/False)
4.8/5
(42)
LENGTH_SHORT is a constant of the Toast class that can be used to specify the duration of a Toast. What is the other constant that we can use to specify the duration of a Toast?
(Multiple Choice)
4.7/5
(44)
What method of the SQLiteOpenHelper class do we use to create or open a database on which we can perform operations?
(Multiple Choice)
4.9/5
(33)
We have three activities in an app: MainActivity, InsertActivity, and DeleteActivity. How many activity elements should we have in the AndroidManifest.xml file?
(Multiple Choice)
4.8/5
(40)
The __________________ class encapsulates a table returned by a select SQL query.
(Short Answer)
4.8/5
(39)
After we have created a Toast, we need to call the __________________ method so that the Toast is visible.
(Short Answer)
4.9/5
(41)
We can use the following method of the Toast class to create a Toast:
static Toast makeText( Context context, CharSequence text, int d )
The third parameter represents the duration or length of the Toast.
(True/False)
4.8/5
(29)
The ____________ class includes methods to execute SQL statements.
(Short Answer)
4.8/5
(29)
We created our own icon, nice.p n g, and placed it in the drawable directory; we can access it using the expression ____________.
(Short Answer)
4.9/5
(34)
The XML attribute that we use to specify an icon for a menu item is __________________.
(Short Answer)
4.7/5
(32)
We want to code a View, but we do not know how many radio buttons are in the View because we are retrieving the data from a database. We should code that View programmatically, not using an XML file.
(True/False)
4.7/5
(40)
When extending SQLiteOpenHelper, what methods must we override?
(Multiple Choice)
4.8/5
(31)
Showing 1 - 20 of 21
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)