MCQs / Computer Science / Performance, Power, Platform Constraints and Emerging Technologies
Performance, Power, Platform Constraints and Emerging Technologies MCQs — Computer Science 33 multiple-choice questions on Performance, Power, Platform Constraints and Emerging Technologies 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.
1. LeakCanary is used to: Draw icons Compress images Detect memory leaks automatically during development Publish apps Answer: C) Detect memory leaks automatically during development
Explanation: LeakCanary watches destroyed objects and reports leaks.
Discuss this question
2. On Google Play, a user-perceived crash rate above about 1.09 % may: Reduce the app's visibility in the store Have no effect Increase the developer fee Delete the app automatically Answer: A) Reduce the app's visibility in the store
Explanation: Android vitals thresholds affect discoverability.
Discuss this question
3. From Android 14, a foreground service must declare a: launcher icon WebView foregroundServiceType (e.g. location, mediaPlayback) content provider Answer: C) foregroundServiceType (e.g. location, mediaPlayback)
Explanation: Service types must be declared in the manifest.
Discuss this question
4. Which WorkManager constraint runs work only while charging? setRequiresDeviceIdle(false) setRequiresCharging(true) setRequiresStorageNotLow(false) NetworkType.CONNECTED Answer: B) setRequiresCharging(true)
Explanation: setRequiresCharging defers work until the device is plugged in.
Discuss this question
5. Passkeys are an emerging technology that aims to replace: Batteries Passwords Screens SIM cards Answer: B) Passwords
Explanation: Passkeys use public-key cryptography for passwordless sign-in.
Discuss this question
6. "Tail energy" refers to: Energy saved by dark mode Battery at 100 % GPU heat The cellular radio staying in a high-power state for seconds after a transfer Answer: D) The cellular radio staying in a high-power state for seconds after a transfer
Explanation: After transmitting, the radio waits before dropping to idle.
Discuss this question
7. OEM battery optimisations that aggressively kill background apps are an example of: Thermal throttling App bundles Doze only Fragmentation (manufacturer differences) Answer: D) Fragmentation (manufacturer differences)
Explanation: Different manufacturers change Android behaviour.
Discuss this question
8. Real-world crash and ANR rates of a published app are shown in: The emulator Logcat Android vitals in Play Console strings.xml Answer: C) Android vitals in Play Console
Explanation: Vitals aggregate data from users' devices.
Discuss this question
9. A wake lock that is never released causes: Faster charging The CPU to stay awake and drain the battery Smaller APKs Better GPS Answer: B) The CPU to stay awake and drain the battery
Explanation: Wake locks prevent the device from sleeping.
Discuss this question
10. Background execution limits on services started in Android: 5.0 8.0 Oreo 10 14 Answer: B) 8.0 Oreo
Explanation: Oreo limited background services and implicit broadcasts.
Discuss this question
11. Holding a static reference to an Activity Context can cause: A memory leak Smaller APK size Better battery life Faster startup Answer: A) A memory leak
Explanation: Static references prevent the activity from being garbage-collected.
Discuss this question
12. Running an AI model directly on the phone's NPU is called: Polling Cloud computing Sideloading On-device AI Answer: D) On-device AI
Explanation: On-device inference is private, offline and low-latency.
Discuss this question
13. In Doze mode, network access and background jobs are: Moved to another phone Converted to SMS Deferred to periodic maintenance windows Run continuously Answer: C) Deferred to periodic maintenance windows
Explanation: Doze batches background activity into windows.
Discuss this question
14. Window size classes help developers handle which constraint? Different screen sizes (phones, foldables, tablets) Network latency SMS limits Battery capacity Answer: A) Different screen sizes (phones, foldables, tablets)
Explanation: They guide adaptive layouts.
Discuss this question
15. Google's SDK for building augmented reality apps on Android is: ARCore MapKit ARKit Metal Answer: A) ARCore
Explanation: ARCore is Android's AR platform; ARKit is Apple's.
Discuss this question
16. Google's small on-device model available to Android apps through system AI APIs is: BERT Large Gemini Nano GPT-2 Gemini Ultra Answer: B) Gemini Nano
Explanation: Gemini Nano runs on supported Android devices.
Discuss this question
17. Which 5G-related concept moves computing closer to users to reduce latency? Sideloading Edge computing Batching Dead reckoning Answer: B) Edge computing
Explanation: Edge computing processes data near the network edge.
Discuss this question
18. Which choice saves the MOST battery for an app that needs new messages? Polling the server every 10 seconds High-accuracy GPS Push notifications (FCM) when new data arrives Keeping a wake lock Answer: C) Push notifications (FCM) when new data arrives
Explanation: Push wakes the app only when needed.
Discuss this question
19. Which technique improves app startup by pre-compiling important code paths? More libraries Larger images Disabling R8 Baseline Profiles Answer: D) Baseline Profiles
Explanation: Baseline Profiles let ART AOT-compile critical code at install.
Discuss this question
20. Which Android Studio tool finds heap usage and memory leaks? Memory Profiler Vector Asset Studio Layout Editor Device Manager Answer: A) Memory Profiler
Explanation: The Memory Profiler shows allocations and heap dumps.
Discuss this question
21. App Standby Buckets (Android 9) place apps in categories such as: Free, Paid, Premium Debug, Release Small, Medium, Large Active, Working set, Frequent, Rare and Restricted Answer: D) Active, Working set, Frequent, Rare and Restricted
Explanation: Buckets limit jobs and alarms based on usage.
Discuss this question
22. Jank (stuttering) happens when frames take longer than about: 1 ms 5 seconds 16 ms (for 60 fps) 1 second Answer: C) 16 ms (for 60 fps)
Explanation: Missing the frame deadline causes dropped frames.
Discuss this question
23. StrictMode helps developers by: Encrypting traffic Generating signed APKs Translating strings Detecting accidental disk or network access on the main thread Answer: D) Detecting accidental disk or network access on the main thread
Explanation: StrictMode flags slow operations on the UI thread.
Discuss this question
24. Using part of an app without installing it fully is offered by: Doze Instant Apps (Android) / App Clips (iOS) APK Analyzer TestFlight Answer: B) Instant Apps (Android) / App Clips (iOS)
Explanation: They load lightweight portions of apps on demand.
Discuss this question
25. Which is NOT a mobile platform constraint? Limited battery Unlimited processing power Variable network Small screen Answer: B) Unlimited processing power
Explanation: Mobile CPUs are limited and throttle when hot.
Discuss this question
Page 1 of 2 Next
Practise Performance, Power, Platform Constraints and Emerging Technologies MCQs
More Computer Science chapters