Android Development MCQs with answers Page - 15

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

J

Jatin Pandit • 395 Points
Valuable

Q. Which Android tool allows you to inspect the database and shared preferences?

  • (A) Layout Inspector
  • (B) Device File Explorer
  • (C) Database Browser
  • (D) Android Profiler

J

Jatin Pandit • 395 Points
Valuable

Q. Which method is used to bind a Service with an Activity?

  • (A) startService()
  • (B) bindService()
  • (C) connectService()
  • (D) attachService()

J

Jatin Pandit • 395 Points
Valuable

Q. Which of these is not a valid state in an Activity lifecycle?

  • (A) onPause()
  • (B) onDestroy()
  • (C) onExecute()
  • (D) onResume()

J

Jatin Pandit • 395 Points
Valuable

Q. Which layout is best for complex UIs with many constraints?

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

J

Jatin Pandit • 395 Points
Valuable

Q. What is the purpose of LiveData in Android?

  • (A) To hold constant data
  • (B) To observe and react to data changes in a lifecycle-aware manner
  • (C) To replace SQLite
  • (D) To handle permissions

J

Jatin Pandit • 395 Points
Valuable

Q. Which class is used to manage permissions in Android 6.0 and above?

  • (A) PermissionsManager
  • (B) ContextCompat
  • (C) PermissionHandler
  • (D) PermissionController

J

Jatin Pandit • 395 Points
Valuable

Q. Which method is used to check if the device is connected to the internet?

  • (A) isConnected()
  • (B) checkInternet()
  • (C) getActiveNetworkInfo()
  • (D) verifyNetwork()

J

Jatin Pandit • 395 Points
Valuable

Q. Which Gradle property sets the minimum API level your app supports?

  • (A) targetSdkVersion
  • (B) compileSdkVersion
  • (C) minSdkVersion
  • (D) appSdkVersion

J

Jatin Pandit • 395 Points
Valuable

Q. What is the purpose of the Android Debug Bridge (adb)?

  • (A) To build APKs
  • (B) To inspect layouts
  • (C) To interact with devices and emulators via command line
  • (D) To monitor performance

J

Jatin Pandit • 395 Points
Valuable

Q. Which Android component is used to perform tasks in the background without user interaction?

  • (A) Activity
  • (B) Fragment
  • (C) Service
  • (D) Intent