Android Development MCQs with answers Page - 19

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 component is used to create swipeable tabs in Android?

  • (A) TabBar
  • (B) ViewPager
  • (C) SwipeView
  • (D) TabGroup

J

Jatin Pandit • 395 Points
Valuable

Q. Which layout is the most flexible and efficient for building complex UIs?

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

J

Jatin Pandit • 395 Points
Valuable

Q. Which method is called when an Activity is no longer visible to the user?

  • (A) onStop()
  • (B) onPause()
  • (C) onDestroy()
  • (D) onHide()

J

Jatin Pandit • 395 Points
Valuable

Q. Which is the correct directory for putting string resources?

  • (A) res/strings
  • (B) res/layout
  • (C) res/xml
  • (D) res/values

J

Jatin Pandit • 395 Points
Valuable

Q. Which Android Jetpack library provides lifecycle-aware components?

  • (A) Lifecycle
  • (B) DataStore
  • (C) Compose
  • (D) Glide

J

Jatin Pandit • 395 Points
Valuable

Q. What is the use of the 'defaultConfig' block in Gradle?

  • (A) To define build types
  • (B) To define signing configuration
  • (C) To specify default settings for app module
  • (D) To declare dependencies

J

Jatin Pandit • 395 Points
Valuable

Q. What is the function of 'Intent.FLAG_ACTIVITY_NEW_TASK'?

  • (A) Reuses the current activity
  • (B) Starts a new task
  • (C) Finishes all background tasks
  • (D) Clears current stack

J

Jatin Pandit • 395 Points
Valuable

Q. Which method is called first in the Activity lifecycle?

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

J

Jatin Pandit • 395 Points
Valuable

Q. Which of the following libraries is used for image loading?

  • (A) Retrofit
  • (B) Room
  • (C) Glide
  • (D) Koin

J

Jatin Pandit • 395 Points
Valuable

Q. What does RecyclerView.ViewHolder do?

  • (A) Holds reference to views for each item
  • (B) Manages data storage
  • (C) Recycles the adapter
  • (D) Binds layout to XML

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