0% found this document useful (0 votes)
36 views2 pages

Question bank IAT 2

The document outlines various concepts and components of Android development across three modules. It covers UI elements like ProgressBar, AutoCompleteTextView, Spinner, ListView, and GridView, as well as system components like Activity, Intent, and Service. Additionally, it discusses SQLite for local storage, multimedia handling, and permissions required for accessing device features.

Uploaded by

veda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Question bank IAT 2

The document outlines various concepts and components of Android development across three modules. It covers UI elements like ProgressBar, AutoCompleteTextView, Spinner, ListView, and GridView, as well as system components like Activity, Intent, and Service. Additionally, it discusses SQLite for local storage, multimedia handling, and permissions required for accessing device features.

Uploaded by

veda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Mod 1

1. Explain the use of ProgressBar in Android. Write the XML and Java code to implement an
indeterminate horizontal ProgressBar.
2. What is AutoCompleteTextView? How is it implemented using an ArrayAdapter? Explain
with an example.
3. Define Spinner. How can a Spinner be implemented in Android using XML and Java code?
4. How is ListView different from Spinner? Write code to display a list of city names using
ListView.
5. Describe the steps to use GridView in Android. Provide an example showing a grid of
images.
6. What is ImageView in Android? Explain how to add and display an image using ImageView.
7. How does ScrollView work in Android? Explain with a layout that scrolls vertically.
8. What is a Custom Toast in Android? Explain how to create a Toast with a custom layout
using XML and Java code.
9. Define AlertDialog. How can we use the AlertDialog Builder class to create and display a
dialog with YES and NO options?
10. What is the use of TimePicker in Android? Write code to pick a time and display it in a
TextView.
11. Explain DatePickerDialog with an example of how to show a calendar and select a date.
12. Compare and contrast Toast, Custom Toast, and AlertDialog based on their use cases and UI
interaction.

Mod 2

1. What is an Activity in Android? Describe its role with an example.


2. Explain Intent in Android. Differentiate between explicit and implicit intents with code
examples.
3. What is an Intent Filter? How is it used in AndroidManifest.xml?
4. Describe the Activity Lifecycle with a labeled diagram and explain each stage.
5. What are the lifecycle methods of a BroadcastReceiver? How do you register it in code and
manifest?
6. Explain the working of a Service in Android. Differentiate between started and bound
services.
7. Draw and describe the Android System Architecture layers. How does the Application
Framework interact with Libraries?
8. How can we play audio in Android? Write code to play an .mp3 file stored in the raw folder.
9. Describe the steps to play a video using VideoView and MediaController.
10. What is TextToSpeech in Android? Explain its implementation with Java code.
11. Compare and contrast Activity, BroadcastReceiver, and Service with respect to lifecycle and
usage.
12. What permissions are needed for multimedia applications? List them with their significance.

Mod 3

1. What is SQLite? Why is it preferred for local storage in Android apps?


2. Write steps to create a SQLite database using SQLiteOpenHelper. Provide the onCreate and
onUpgrade method examples.
3. How do you open a database connection and insert records in SQLite?
4. What are ContentValues and how are they used for inserting data in SQLite?
5. How can we perform update and delete operations in SQLite? Provide examples from the
book.
6. What are SQLite transactions? Explain commit and rollback with example usage in Android.
7. Describe how to read data from a SQLite database using Cursor.
8. Explain the importance of database versioning in SQLiteOpenHelper.
9. What is the role of the SQLiteDatabase class? How does it differ from SQLiteOpenHelper?
10. Describe the case study on SMS Services. How is SMS sending implemented
programmatically?
11. How can you access Telephony features such as IMEI and operator name in Android?
12. Describe how to use LocationManager to fetch GPS location in Android. What permissions
are required

You might also like