0% found this document useful (0 votes)
6 views2 pages

Android and Flutter MCQs & Scenarios

The document contains multiple-choice questions and scenario-based questions related to Android, Flutter, and React Native development. It covers topics such as programming languages, design patterns, UI components, and best practices. Additionally, it includes technical questions that require descriptive answers or coding examples.

Uploaded by

Deepasree
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Android and Flutter MCQs & Scenarios

The document contains multiple-choice questions and scenario-based questions related to Android, Flutter, and React Native development. It covers topics such as programming languages, design patterns, UI components, and best practices. Additionally, it includes technical questions that require descriptive answers or coding examples.

Uploaded by

Deepasree
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MCQs and Scenario-Based Questions (20):

1. What is the primary language used for Android app development? a) Swift b) Python c)
Kotlin d) JavaScript

2. Which design pattern is most commonly used in Android architecture? a) MVC b)


Factory c) Singleton d) MVVM

3. What is the purpose of RecyclerView in Android? a) Handle web requests b) Display


scrollable lists c) Manage background tasks d) Parse JSON

4. Which HTTP library is commonly used in Android to make API calls? a) Volley b)
Retrofit c) OkHttp d) All of the above

5. In Flutter, what is a Widget? a) Data container b) UI building block c) Network


interface d) None of the above

6. React Native apps are written primarily in: a) Swift b) Dart c) Kotlin d) JavaScript

7. What is the function of the onCreate() method in Android? a) Initialize UI and


components b) Handle user input c) Make network calls d) Inflate menus

8. What does LiveData help with in Android Jetpack? a) Scheduling tasks


b) Lifecycle-aware data c) Unit testing d) UI rendering

9. Which of the following is a cross-platform mobile app framework? a) Angular b)


Laravel c) Flutter d) Django

10. What tool would you use to debug layout performance in Android? a) Lint b) Layout
Inspector c) Logcat d) ADB

11. Scenario: Your app needs offline support. What is your best approach? a) Use Firebase
Authentication b) Enable Glide caching c) Use Room DB with sync logic d) Build with XML
only
12. Scenario: App is crashing when switching screens. What’s your first step? a) Check
permissions b) Reinstall app c) Check logs using Logcat d) Clear cache

13. Scenario: API response is slow. What can help improve user experience? a) Use coroutines
or async calls b) Block UI until response c) Restart the app d) Retry without limit

14. Scenario: You’re building a login form. Which validation method is best? a) Server-only
validation b) Client-side only c) Both client and server d) Skip validation

15. What does StatefulWidget allow in Flutter? a) Immutable rendering b) Changing UI


dynamically c) API calls only d) Background jobs

Technical Questions (Descriptive/Coding):

1. Write a simple Android Activity class that sets a TextView on screen.

2. Describe the MVVM architecture and how it applies in Android Jetpack.

3. Explain how Retrofit is used to handle GET and POST API calls.

4. What is the difference between StatefulWidget and StatelessWidget in Flutter?

5. Build a basic REST API call using fetch() in React Native.

6. How does SQLite/Room handle data persistence in Android?

7. What are some best practices for memory management in mobile apps?

8. Explain how you would implement dark mode toggle in Flutter.

9. Describe how push notifications work in Android. Which tools/libraries can be used?

10. How would you optimize app startup time?

You might also like