Android Development MCQs with answers Page - 23

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 • 832.27K Points
Coach

Q. Which tool converts XML layout files into Java code?

  • (A) R.java
  • (B) ViewBinder
  • (C) XMLCompiler
  • (D) Manifest Merger

A

Admin • 832.27K Points
Coach

Q. Which of these manages data persistence in Jetpack?

  • (A) LiveData
  • (B) Room
  • (C) ViewModel
  • (D) DataBinding

A

Admin • 832.27K Points
Coach

Q. Which method is called when a Fragment becomes visible?

  • (A) onStart()
  • (B) onCreate()
  • (C) onResume()
  • (D) onAttach()

A

Admin • 832.27K Points
Coach

Q. Which layout arranges children in a single column or row?

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

A

Admin • 832.27K Points
Coach

Q. Which class in Android is used to schedule background tasks that must execute under specific conditions?

  • (A) AlarmManager
  • (B) Handler
  • (C) WorkManager
  • (D) Thread

A

Admin • 832.27K Points
Coach

Q. What is the purpose of 'finish()' in an Activity?

  • (A) Pauses the activity
  • (B) Restarts the activity
  • (C) Destroys the activity and removes it from the back stack
  • (D) Minimizes the app

A

Admin • 832.27K Points
Coach

Q. Which annotation is used in Room DAO to run SQL queries?

  • (A) @Entity
  • (B) @Insert
  • (C) @Query
  • (D) @Database

A

Admin • 832.27K Points
Coach

Q. Which tool allows you to monitor memory usage in Android Studio?

  • (A) Profiler
  • (B) Logcat
  • (C) ADB
  • (D) MemoryChecker

A

Admin • 832.27K Points
Coach

Q. Which file contains the applicationId in an Android project?

  • (A) AndroidManifest.xml
  • (B) gradle-wrapper.properties
  • (C) build.gradle (Module: app)
  • (D) proguard-rules.pro

A

Admin • 832.27K Points
Coach

Q. Which class is used to make HTTP network calls in modern Android apps?

  • (A) HttpURLConnection
  • (B) OkHttpClient
  • (C) Retrofit
  • (D) Volley

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