Module 1 Quiz :Android App Components – Intents, Activities, and Broadcast Receivers (Android App Development Specialization) Answers 2025
Question 1 — Android Hardware Elements (choose all that apply)
✔️ Central processing unit
✔️ Random access memory
❌ Activity
✔️ Accelerometer
✔️ Wifi
❌ Intent
❌ Broadcast Receiver
✔️ Graphics processing unit
Question 2 — Purposes of the Android Linux Kernel
❌ A set of Java-based services…
✔️ Provides reusable capabilities that extend hardware-centric OS kernel and protocol mechanisms
✔️ Shields OEMs from GNU Public License “virality”
✔️ Optimizes GNU Linux to meet the needs of mobile devices and apps
✔️ Mediates access to and sharing of hardware resources
✔️ Shields higher layers of Android from hardware diversity
Question 3 — Android Middleware Layers / Elements
✔️ Power Management
✔️ Hardware abstraction layer
✔️ Activity Manager Service
✔️ Android Run-Time (ART)
✔️ Native C/C++ libraries
❌ Binder (IPC) Driver (this belongs to Linux kernel, not middleware)
Question 4 — Android App Components
✔️ Services
❌ Dalvik Virtual Machine
✔️ Broadcast Receivers
✔️ Activities
❌ Package Manager (system service, not an app component)
✔️ Content Providers
Question 5 — True Statements About Java Threads
✔️ A thread is the smallest unit of execution
❌ Starting a Java thread is the only way to write a concurrent Android app
❌ Starting a thread takes a trivial amount of time and resources
✔️ A Java thread must be given code to run when started
✔️ Each process can have multiple threads
✔️ Every thread contains a call stack
Question 6 — Application Frameworks (Android)
✔️ Event-driven model used to plug app code into frameworks
❌ App components dictate the flow of control
✔️ Frameworks enhance systematic reuse
✔️ Frameworks provide integrated components & reusable architecture
Question 7 — Android Application Framework Layer
✔️ Contains system services that provide capabilities/info to apps
✔️ System services run continuously
❌ Shields OEMs from GPL virality
❌ Optimizes GNU Linux (kernel does this, not app framework)
Question 8 — Android Apps Language Facts
✔️ The bulk of these apps are written in Java
❌ The bulk of these apps are written in C/C++
❌ These apps cannot be written in C/C++
✔️ It’s possible to write portions in C/C++ (via NDK)
📌 SUMMARY TABLE
| Q | Correct Answers (✔️) |
|---|---|
| Q1 | CPU, RAM, Accelerometer, WiFi, GPU |
| Q2 | Extend capabilities, GPL shield, Optimize Linux, Mediates hardware access, Shields higher layers |
| Q3 | Power Mgmt, HAL, Activity Manager Service, ART, Native libs |
| Q4 | Services, Broadcast Receivers, Activities, Content Providers |
| Q5 | Smallest unit, Must provide code, Multi-thread process, Thread has call stack |
| Q6 | Event-driven, Reuse, Reusable architecture |
| Q7 | Provides system services, Services run continuously |
| Q8 | Mostly Java, Can use C/C++ |