Android Development MCQs with answers Page - 16

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. What is a PendingIntent used for?

  • (A) To create a notification
  • (B) To delay the start of an Activity or Service
  • (C) To start an Activity immediately
  • (D) To store image data

J

Jatin Pandit • 395 Points
Valuable

Q. Which component helps navigate between destinations using the Jetpack Navigation component?

  • (A) NavLink
  • (B) NavManager
  • (C) NavHostFragment
  • (D) NavigationView

J

Jatin Pandit • 395 Points
Valuable

Q. Which of the following is used to create a splash screen in Android?

  • (A) MainActivity
  • (B) SplashActivity
  • (C) Theme with a launcher background
  • (D) IntroFragment

J

Jatin Pandit • 395 Points
Valuable

Q. Which annotation is used with Room to create a database entity?

  • (A) @PrimaryKey
  • (B) @Entity
  • (C) @Database
  • (D) @RoomObject

J

Jatin Pandit • 395 Points
Valuable

Q. Which class is used to read and write key-value pairs in Android?

  • (A) Bundle
  • (B) DataStore
  • (C) SharedPreferences
  • (D) ConfigManager

J

Jatin Pandit • 395 Points
Valuable

Q. Which XML attribute is used to make a view invisible but still take space?

  • (A) android:visibility="gone"
  • (B) android:visibility="invisible"
  • (C) android:display="hidden"
  • (D) android:display="none"

J

Jatin Pandit • 395 Points
Valuable

Q. Which version control system is most commonly used with Android Studio?

  • (A) SVN
  • (B) Mercurial
  • (C) Git
  • (D) Perforce

J

Jatin Pandit • 395 Points
Valuable

Q. Which component observes data in LiveData?

  • (A) Activity or Fragment
  • (B) Intent
  • (C) Handler
  • (D) ViewModel

J

Jatin Pandit • 395 Points
Valuable

Q. Which tool is used to display logs in Android Studio?

  • (A) Monitor
  • (B) Logger
  • (C) Logcat
  • (D) Debugger

J

Jatin Pandit • 395 Points
Valuable

Q. What is the purpose of 'proguard-rules.pro' in an Android project?

  • (A) To define build variants
  • (B) To configure permissions
  • (C) To customize code shrinking and obfuscation
  • (D) To manage API levels

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