MCQs / Computer Science / Android OS: Architecture, Framework and Application Development
Android OS: Architecture, Framework and Application Development MCQs — Computer Science (page 2) 53 multiple-choice questions on Android OS: Architecture, Framework and Application Development from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
26. Returning to a stopped activity calls: onDestroy(), onCreate() onCreate() only onRestart(), onStart(), onResume() onPause(), onStop() Answer: C) onRestart(), onStart(), onResume()
Explanation: A stopped activity restarts with onRestart → onStart → onResume.
Discuss this question
27. Which value must increase with every update published to Google Play? applicationId versionCode versionName minSdk Answer: B) versionCode
Explanation: versionCode is an integer that must be higher for each release.
Discuss this question
28. Google acquired Android Inc. in: 2003 2008 2010 2005 Answer: D) 2005
Explanation: Android Inc. was founded in 2003 and bought by Google in 2005.
Discuss this question
29. The Android NDK allows developers to: Design layouts visually Write parts of an app in C/C++ Publish apps Test UI automatically Answer: B) Write parts of an app in C/C++
Explanation: The Native Development Kit supports native C/C++ code.
Discuss this question
30. Device drivers for display, camera, Wi-Fi and audio are part of the: Linux kernel View System Resource Manager Application layer Answer: A) Linux kernel
Explanation: The kernel contains hardware drivers.
Discuss this question
31. Runtime permissions (asking the user while the app runs) were introduced in Android: 5.0 Lollipop 6.0 Marshmallow 9 Pie 4.4 KitKat Answer: B) 6.0 Marshmallow
Explanation: Android 6.0 (API 23) introduced runtime permissions.
Discuss this question
32. MVVM stands for: Main View View Manager Multi View Variable Mode Model–View–ViewModel Mobile Virtual Version Model Answer: C) Model–View–ViewModel
Explanation: MVVM is the recommended architecture pattern with ViewModel.
Discuss this question
33. Binder in the Linux kernel is used for: Drawing graphics Inter-process communication between apps and system services Compiling Kotlin Storing images Answer: B) Inter-process communication between apps and system services
Explanation: Binder is Android's fast IPC mechanism.
Discuss this question
34. The bottom layer of the Android architecture is the: HAL Application framework ART Linux kernel Answer: D) Linux kernel
Explanation: The Linux kernel is the foundation of the Android stack.
Discuss this question
35. When an activity becomes interactive (in the foreground), which callback has just run? onResume() onStart() onPause() onStop() Answer: A) onResume()
Explanation: onResume() is called when the activity starts interacting with the user.
Discuss this question
36. The Low Memory Killer is a kernel feature that: Deletes old photos Removes unused apps from the store Compresses APKs Ends background processes when RAM runs low Answer: D) Ends background processes when RAM runs low
Explanation: It frees memory by killing lower-priority processes.
Discuss this question
37. Where must every activity of an app be declared? build.gradle MainActivity strings.xml AndroidManifest.xml Answer: D) AndroidManifest.xml
Explanation: Components must be declared in the manifest or the system cannot start them.
Discuss this question
38. Android 16 corresponds to API level: 40 36 34 30 Answer: B) 36
Explanation: Android 16 (Baklava, 2025) is API 36.
Discuss this question
39. Notification channels became mandatory in Android: 13 8.0 Oreo 6.0 11 Answer: B) 8.0 Oreo
Explanation: From Android 8.0 (API 26) every notification must belong to a channel.
Discuss this question
40. ART improves performance mainly by using: Larger APKs Ahead-of-time compilation at install time (plus JIT/profile-guided compilation) Interpreting XML More RAM per app only Answer: B) Ahead-of-time compilation at install time (plus JIT/profile-guided compilation)
Explanation: ART compiles DEX ahead of time and uses profiles to optimise hot code.
Discuss this question
41. The layer that provides standard interfaces so the framework can use vendor hardware is the: Application framework Native libraries Hardware Abstraction Layer (HAL) Content provider Answer: C) Hardware Abstraction Layer (HAL)
Explanation: The HAL defines standard interfaces that vendors implement for their hardware.
Discuss this question
42. Which callback is called first when an activity is created? onCreate() onStart() onResume() onRestart() Answer: A) onCreate()
Explanation: onCreate() is the first lifecycle method.
Discuss this question
43. Which native library provides a lightweight relational database? SQLite OpenGL ES WebKit FreeType Answer: A) SQLite
Explanation: SQLite is the embedded database library in Android.
Discuss this question
44. AOSP stands for: Application Oriented Software Package Android Open Source Project Android Operating System Platform Advanced OS Program Answer: B) Android Open Source Project
Explanation: AOSP is the open-source code base of Android.
Discuss this question
45. Sharing contacts data with other apps is done through a: Notification Service Content Provider Fragment Answer: C) Content Provider
Explanation: Content providers expose structured data to other apps through URIs.
Discuss this question
46. Rotating the phone by default: Only calls onPause() Calls onRestart() Destroys and recreates the activity Closes the app Answer: C) Destroys and recreates the activity
Explanation: A configuration change destroys and recreates the activity.
Discuss this question
47. The R class is generated by: Google Play AAPT2 while compiling resources The emulator Logcat Answer: B) AAPT2 while compiling resources
Explanation: AAPT2 compiles resources and generates resource IDs in R.
Discuss this question
48. Which framework part provides UI elements like buttons, lists and text boxes? Notification Manager HAL Location Manager View System Answer: D) View System
Explanation: The View System supplies all UI widgets and layouts.
Discuss this question
49. Each Android app runs in its own process as a separate Linux user. This is called: Multithreading Application sandboxing Fragmentation Rooting Answer: B) Application sandboxing
Explanation: Sandboxing isolates apps from each other for security.
Discuss this question
50. Android apps' bytecode is stored in which format? .exe .jar .dex (Dalvik Executable) .class Answer: C) .dex (Dalvik Executable)
Explanation: Compiled classes are converted into DEX files for ART.
Discuss this question
Previous Page 2 of 3 Next
Practise Android OS: Architecture, Framework and Application Development MCQs
More Computer Science chapters