Module 5 Quiz :Android App Components – Intents, Activities, and Broadcast Receivers (Android App Development Specialization) Answers 2025
Question 1 – Correct descriptions of a broadcast receiver
✔️ An event handler that responds to broadcast announcements
❌ A component that runs in the background to perform long-running operations
❌ A component that defines a user-facing operation
❌ A message that describes an action to perform
Question 2 – System services involved in routing broadcast intents
✔️ Activity Manager Service
❌ Telephony Manager Service
❌ Window Manager Service
❌ Download Manager Service
Question 3 – What can be done in onReceive()
❌ Bind to a service
✔️ Pop up toast messages
❌ Show a dialog
✔️ Start other Android components
❌ Register other receivers
✔️ Create status bar notifications
Question 4 – Types of broadcast mechanisms
❌ Static
✔️ Ordered
✔️ Normal
❌ Async
✔️ Sticky
❌ Dynamic
Question 5 – Why broadcasting intents raises security issues
✔️ The intent namespace is global
✔️ An app can send an intent to any receiver
✔️ sendBroadcast() allows any other app to receive broadcast intents
❌ onReceive() runs on the UI thread
Question 6 – Differences between PingPongReceivers & PingPongReceiversEx
❌ PingPongReceivers uses toasts instead of notification bar
✔️ PingPongReceiversEx uses toasts instead of notification bar
✔️ PingPongReceivers uses setPackage() but Ex app does not
✔️ PingPongReceivers PongReceiver runs in different process; Ex runs in same
Question 7 – Capabilities of LocalBroadcastManager
❌ Uses the Activity Manager Service
✔️ Optimizes intra-app communication (no cross-process)
✔️ Enhances app security (only in-app communication)
❌ Allows background long-running operations
Question 8 – Differences between ImageDownloaderBRD vs ImageDownloaderBRS
❌ BRS uses LocalBroadcastManager, BRD uses AMS
❌ BRS receiver runs in different process
❌ BRS uses SharedPreferences and BRD uses boolean
✔️ BRS uses AMS, BRD uses LocalBroadcastManager
📊 Summary Table
| Q No. | Correct Options |
|---|---|
| 1 | A |
| 2 | A |
| 3 | B, D, F |
| 4 | B, C, E |
| 5 | A, B, C |
| 6 | B, C, D |
| 7 | B, C |
| 8 | D |