Android Development MCQs with answers Page - 5

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

R

Ravina • 3.59K Points
Extraordinary

Q. Which Android UI element is best suited for auto-complete suggestions?

  • (A) TextView
  • (B) EditText
  • (C) AutoCompleteTextView
  • (D) Button

R

Ravina • 3.59K Points
Extraordinary

Q. Which layout allows you to position elements relative to each other?

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

R

Ravina • 3.59K Points
Extraordinary

Q. Which class in Android is used to create and display notifications?

  • (A) AlertDialog
  • (B) NotificationCompat.Builder
  • (C) Toast
  • (D) Snackbar

R

Ravina • 3.59K Points
Extraordinary

Q. What is the function of SharedPreferences in Android?

  • (A) To access cloud data
  • (B) To store large files
  • (C) To store simple key-value pairs
  • (D) To manage SQLite databases

R

Ravina • 3.59K Points
Extraordinary

Q. What does the 'dp' unit in Android stand for?

  • (A) Density-independent Pixels
  • (B) Device Pixels
  • (C) Display Points
  • (D) Dynamic Pixels

R

Ravina • 3.59K Points
Extraordinary

Q. Which method is used to show a Toast in Android?

  • (A) Toast.show()
  • (B) Toast.display()
  • (C) Toast.makeText().show()
  • (D) Toast.create()

R

Ravina • 3.59K Points
Extraordinary

Q. Which Android version introduced Material Design?

  • (A) KitKat
  • (B) Jelly Bean
  • (C) Lollipop
  • (D) Marshmallow

R

Ravina • 3.59K Points
Extraordinary

Q. Which tool is used to inspect the layout hierarchy of your app?

  • (A) Logcat
  • (B) Layout Inspector
  • (C) Hierarchy Viewer
  • (D) Performance Monitor

R

Ravina • 3.59K Points
Extraordinary

Q. Which view should you use to embed a webpage in your Android app?

  • (A) TextView
  • (B) ListView
  • (C) WebView
  • (D) ImageView

R

Ravina • 3.59K Points
Extraordinary

Q. What is the use of ProGuard in Android?

  • (A) To handle memory leaks
  • (B) To compress images
  • (C) To obfuscate and shrink the code
  • (D) To test apps on multiple devices

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