Please Select a Company.
Please Select a Company.
Android Interview Questions | Interview Quick

.

0+ Jobs Available of Android

Android MCQ

1. To add features, components, and permissions to your Android app, which file needs to be edited?

2. Which XML attribute should be used to make an Image View accessible?

3. You launch your app, and when you navigate to a new screen it crashes, Which action will NOT help you diagnose the issue?

4. Why might push notifications stop working?

5. The Android system kills process when it needs to free up memory. The likelihood of the system killing a given process depends on the state of the process and the activity at the time. With combination of process and activity state is most likely to be killed?

6. You want to include about and setting modules in your project. Which files accurately reflects their inclusion?

7. What is the benefit of using @VisibleForTesting annotation?

8. . When will an activity's onActivityResult()be called?

9. . You need to remove an Event based on it;s id from your API, Which code snippet defines that request in Retrofit?

10. . When would you use a product flavour in your build setup?

11. What allows you to properly restore a user's state when an activity is restarted?

12. Given the definition below. how would you get access a TextView with an ID of text_home contained in thr layout file of a Fragment class?

13. IF the main thread is blocked for too long, the system displays the _ dialog?

14. How would you retrieve the value of a user's email from SharedPreferences while ensuring that the returned value is not null?

15. Why is it problematic to define sizes using pixels on Android?

16. You need to get a list of devices that are attached to your computer with USB debugging enable. Which command would execute using the Android Debug Bridge?

17. To persist a small collection of key-value data, what should you use?

18. You need to retrieve a list of photos from an API. Which code snippet defines an HTML GET request in Retrofit?

19. Given the test class below, which code snippet would be a correct assertion?

20. What tag should you use to add a reusable view component to a layout file?

21. You want to provide a different drawable for devices that are in landscape mode and whose language is set to French. which directory is named correctly?

22. When should you store files in the /assets directory?

23. You want to allow users to take pictures in your app. Which is not an advantage of creating an appropriate intent, instead of requesting the camera permission directly?

24. When would you use the ActivityCompat.shouldShowRequestPermissionRationale() function?

25. To optimize your APK size, what image codec should you use?

26. You have built code to make a network call and tested that it works in your development environment. However, when you publish it to the Play console, the networking call fails to work. What will not help you troubleshoot this issue?

27. Which source set is _not_ available to you by default when Android Studio creates a new project?

28. To preserve on-device memory, how might you determine that the user's device has limited storage capabilities?

29. What is _not_ a good way to reuse Android code?

30. Which layout is best for large, complex hierarchies?

31. You need to upgrade to the latest version of the Android Gradle plugin. Which file should you modify?

32. Why do developers often put app initialization code in the Application class?

33. What folder should you use for your app's launcher icons?

34. When should you use the androidTest directory to store your test classes?

35. Given an APK named app-internal-debug.apk produced from the build process, which statement is likely to be true?

36. Which statement, in build.gradle file, correctly denotes that the corresponding module is an Android library module?

37. what is not a benefit of externalizing app resources such as image and string from a code?

38. Which component is not an entry point through which the system or a user can enter your app?

39. What should you use to display a large, scrolling list of elements?

40. You have created an AboutActivity class that displays details about your app. Which code snippet allows you to launch your activity?

41. What is the use of AndroidManifest.xml file?

42. Which attribute of the element is used to specify the minimum API Level required for the application to run?

43. To shrink your code in release builds, what tool does Android Studio use?

44. Which layout hierarchy is likely to be drawn the most quickly?

45. What is the current recommended way to handle long-running background tasks?

46. You need to provide your users with certain features of your app on-demand or as instant experiences through Google Play. Which type of module should you create?

47. Which approach is not recommended for providing a useful offline state in your app?

48. If you need your app code to inspect information about the current build, which class should you use?

49. What is not a use case for idling resources in your Espresso tests?

50. What is not a type of resource for providing your app with strings?

51. What is not in the activity lifecycle?

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