Android Development MCQs with answers Page - 27

Here, you will find a collection of MCQ questions on Android Development. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 831.35K Points
Coach

Q. Which Android component is used to play audio or video?

  • (A) MediaPlayer
  • (B) VideoView
  • (C) AudioManager
  • (D) MediaRecorder

A

Admin • 831.35K Points
Coach

Q. What does `adb` stand for?

  • (A) Android Debug Box
  • (B) Android Development Bundle
  • (C) Android Debug Bridge
  • (D) App Debug Bridge

A

Admin • 831.35K Points
Coach

Q. Which class is used to create a custom list in Android?

  • (A) SimpleListAdapter
  • (B) ArrayAdapter
  • (C) BaseAdapter
  • (D) CustomAdapter

A

Admin • 831.35K Points
Coach

Q. Which Android component is used to interact with SQLite databases?

  • (A) SQLiteManager
  • (B) SQLiteHelper
  • (C) SQLiteOpenHelper
  • (D) DatabaseHelper

A

Admin • 831.35K Points
Coach

Q. Which function is used to schedule future tasks in Android?

  • (A) Timer.schedule()
  • (B) AlarmManager.set()
  • (C) Looper.loop()
  • (D) Thread.sleep()

A

Admin • 831.35K Points
Coach

Q. What is the role of `onSaveInstanceState()`?

  • (A) Saves view state
  • (B) Saves Activity state during configuration changes
  • (C) Stores SharedPreferences
  • (D) Saves files to disk

A

Admin • 831.35K Points
Coach

Q. Which layout is best for nesting UI components efficiently?

  • (A) FrameLayout
  • (B) ConstraintLayout
  • (C) TableLayout
  • (D) LinearLayout

A

Admin • 831.35K Points
Coach

Q. What is `DataBinding` in Android?

  • (A) A way to link UI components directly to data sources
  • (B) A way to save data to shared preferences
  • (C) A database ORM tool
  • (D) A layout optimizer

A

Admin • 831.35K Points
Coach

Q. Which keyword is used in Kotlin for null safety?

  • (A) safe
  • (B) nullable
  • (C) ?
  • (D) optional

A

Admin • 831.35K Points
Coach

Q. What does `ContextCompat.getColor()` do?

  • (A) Fetches a string from resources
  • (B) Returns a color from resources with backward compatibility
  • (C) Returns a drawable
  • (D) Starts a background task

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ