Online Exam Quiz

questionQuestion  1 to 30

How do you implement a BroadcastReceiver in Android?

  • By extending the BroadcastReceiver
  • By implementing the BroadcastReceiver
  • By extending the Receiver
  • By implementing the Receiver
Mark for review

Mark for review

What is ADB in Android?

  • Android Debug Bridge
  • x
  • Application Development Bridge
  • Application Database
Mark for review

What is the use of RecyclerView in Android?

  • To display a fixed number of items
  • To display a large dataset of items
  • To handle user input
  • To manage network operations
Mark for review

Which component is NOT part of the Android application structure?

  • Activities
  • Fragments
  • Intents
  • Servers
Mark for review

What does the 'R' class in Android represent?

  • Resources
  • Remote Services
  • Resolved Classes
  • Recent Activities
Mark for review

How can you access a view by its id in Android?

  • findViewById()
  • getViewById()
  • findView()
  • getView()
Mark for review

What does APK stand for?

  • Android Phone Kit
  • Android Page Kit
  • Android Package Kit
  • Android Package Keeper
Mark for review

How can you persist data in Android?

  • SharedPreferences
  • Files
  • SQLite Database
  • All of the above
Mark for review

How can you avoid ANR in Android?

  • Using background threads
  • Using heavy tasks on main thread
  • Blocking UI thread
  • Ignoring system events
Mark for review

Which component is responsible for managing the lifecycle of an Android app?

  • Activity
  • Fragment
  • Service
  • ActivityManager
Mark for review

Which attribute is used to specify the id of a view in Android?

  • id
  • view_id
  • android
  • viewid
Mark for review

What does the 'Parcelable' interface in Android do?

  • Serializes objects
  • Allows objects to be serialized and passed between activities
  • Manages app resources
  • Handles UI events
Mark for review

What is the main component of the Android architecture?

  • Applications
  • Linux Kernel
  • Libraries
  • All of the above
Mark for review

What is the purpose of the 'Looper' class in Android?

  • To manage threads
  • To manage message queues for threads
  • To handle UI rendering
  • To manage network requests
Mark for review

What does the term "ViewModel" refer to in Android Architecture Components?

  • A UI layout
  • A component for managing UI-related data
  • A background process
  • A system service
Mark for review

Mark for review

What is the use of the ProGuard tool in Android development?

  • To manage app dependencies
  • To optimize and obfuscate the code
  • To provide analytics
  • To handle UI rendering
Mark for review

Which method is used to bind a service to a component in Android?

  • bindService()
  • startService()
  • bindComponent()
  • bindStart()
Mark for review

Mark for review

What is Android?

  • Operating System
  • Programming Language
  • Database
  • Web Server
Mark for review

Which class is used to play audio in Android?

  • MediaPlayer
  • AudioPlayer
  • SoundPlayer
  • MediaController
Mark for review

What does the term "Fragment" refer to in Android development?

  • A UI component
  • A background service
  • A layout manager
  • A data storage option
Mark for review

How do you handle long-running operations in Android without blocking the UI?

  • Using background threads
  • Using main thread
  • Using UI thread
  • Using main activity thread
Mark for review

How is a Toast message displayed in Android?

  • Toast.makeText()
  • Toast.show()
  • Toast.display()
  • Toast.create()
Mark for review

What is ANR in Android?

  • Android Non-Responsive
  • Application Not Running
  • Android Not Running
  • Application Not Responding
Mark for review

What is the AndroidManifest.xml file used for?

  • Declaring app components
  • Defining UI layouts
  • Storing data
  • Handling background tasks
Mark for review

Mark for review

Which of the following is NOT a type of Context in Android?

  • Application Context
  • Activity Context
  • Service Context
  • Fragment Context
Mark for review

Which method is used to display a dialog in Android?

  • showDialog()
  • displayDialog()
  • createDialog()
  • presentDialog()
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review