Android Studio – 28 – Proguard and Code Obfuscation MCQ

Android Studio – 28 – Proguard and Code Obfuscation

1 / 27

1. What is ProGuard in Android development?

2 / 27

2. What is the primary purpose of using ProGuard in an Android app?

3 / 27

3. What is code obfuscation?

4 / 27

4. How can code obfuscation help improve app security?

5 / 27

5. How can you enable ProGuard in an Android Studio project?

6 / 27

6. What is the purpose of enabling ProGuard in an Android project?

7 / 27

7. How can you specify ProGuard rules in Android Studio?

8 / 27

8. What is the primary purpose of specifying ProGuard rules?

9 / 27

9. What is the ProGuard configuration file in Android?

10 / 27

10. How can you view and edit the ProGuard configuration file in Android Studio?

11 / 27

11. What is the purpose of the ProGuard configuration file?

12 / 27

12. How can you specify which classes and methods should not be obfuscated by ProGuard?

13 / 27

13. What is the purpose of the “Keep” and “KeepClass” directives in ProGuard rules?

14 / 27

14. What is shrinking in the context of ProGuard?

15 / 27

15. How can you enable code shrinking in Android Studio with ProGuard?

16 / 27

16. What is the purpose of code shrinking in Android apps?

17 / 27

17. What is optimization in the context of ProGuard?

18 / 27

18. How can you enable code optimization in Android Studio with ProGuard?

19 / 27

19. What is the purpose of code optimization in Android apps?

20 / 27

20. What is the purpose of the “-dontshrink” directive in ProGuard rules?

21 / 27

21. What is the purpose of the “-dontoptimize” directive in ProGuard rules?

22 / 27

22. How can you test the ProGuard configuration and rules in Android Studio?

23 / 27

23. What is the purpose of testing the ProGuard configuration?

24 / 27

24. How can you troubleshoot issues with ProGuard in Android Studio?

25 / 27

25. What is the purpose of troubleshooting ProGuard issues?

26 / 27

26. How can you customize ProGuard settings in Android Studio?

27 / 27

27. What is the purpose of customizing ProGuard settings?

Your score is

0%