Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Android interviews focus on the platform behaviours that catch developers out. Expect questions on the Activity lifecycle and configuration changes, why ViewModel exists and what it does not survive, background work and why WorkManager replaced Services, coroutines and dispatchers, StateFlow versus LiveData, Jetpack Compose and recomposition, runtime permissions, and Room. Performance, memory leaks and device fragmentation are recurring themes. The questions below cover the framework and production concerns.

Android MCQ

2.What happens to an Activity by default when the device is rotated?

3.Which component survives a configuration change but NOT process death?

4.Which developer option simulates process death for testing?

5.What is the correct API for guaranteed background work that must survive app closure and reboot?

6.When is a foreground service required?

7.What causes an ANR (Application Not Responding)?

8.Which coroutine dispatcher should be used for network and disk operations?

9.What advantage does viewModelScope provide?

10.Why must a Fragment use viewLifecycleOwner when observing LiveData?

11.What is the difference between StateFlow and LiveData?

12.Which is appropriate for one-off events such as showing a snackbar or navigating?

13.What does Jetpack Compose's recomposition mean?

14.Which Compose function preserves state across configuration changes and process death?

15.What is state hoisting in Compose?

16.What is the main difference between an explicit and an implicit Intent?

17.What must a PendingIntent specify since Android 12?

18.Since which Android version must dangerous permissions be requested at runtime?

19.Which permission became a runtime permission in Android 13?

21.What is the main advantage of Room over raw SQLite?

22.What replaces SharedPreferences in modern Android?

23.What is the practical difficulty with Room schema changes?

24.Which library should be used for loading images efficiently in Android?

25.Which tool detects retained Activity leaks during development?

26.What is the main benefit of Hilt over manual dependency injection?

27.Why is dependency injection particularly valuable for testability?

28.What does a Baseline Profile improve?

29.What is the main benefit of shipping an Android App Bundle instead of an APK?

30.What does R8 do in an Android build?

31.Which practice reduces startup time most effectively?

32.What does the trackBy equivalent in RecyclerView, DiffUtil, provide?

33.Where should an authentication token be stored on Android?

34.What data source should determine which Android versions and devices you support?

35.Why do Play Store deadlines make targetSdkVersion upgrades non-optional?

36.What is the value of a staged rollout on the Play Store?

37.Which Android behaviour is a genuine problem on some manufacturers' devices?

39.What does using a plain View with a click listener instead of a Button cost?

40.Which is a common cause of a bug appearing only on slow network connections?

41.What is the purpose of ProGuard or R8 keep rules?

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as