Infosys Interview Question

Can we create Activity without xml layout? How to create Button using Canvas? Explain types of Intent. Explain AsyncTask. What happens when Activity is rotated and AsyncTask is created in onCreate() is still executing? Explain ViewModel of Architecture component. Explain Design Pattern. Explain Builder pattern. How would you provide estimation for any project requirement? Ex. Client want Calculator. 2nd Round What’s challenging part have you done in last 6 months? How would you handle escalation/critical issue? Have you done risk analysis? Have you done Unit testing? What was your approach? What’s the role of SonarQube in implementation? How Robolectric works? What will be your approach to start any new project?