Unit1 - Subjective Questions

CSE227 • Practice Questions with Detailed Answers

1

Define Firebase and explain its core philosophy in the context of advanced Android app development. List at least three fundamental problems Firebase aims to solve for developers.

2

Enumerate and briefly describe five key features of Firebase that are particularly beneficial for building cloud-enabled Android applications.

3

Describe the step-by-step process of connecting an existing Android application to a new Firebase project. Emphasize the crucial files and configurations involved.

4

Explain the role and significance of Firebase Authentication in modern Android applications. Discuss at least three different authentication methods supported by Firebase.

5

Compare and contrast the Email/Password authentication flow with Google Sign-In using Firebase. What are the key advantages and disadvantages of each?

6

What is FirebaseUI and how does it simplify the implementation of user authentication in Android applications? Provide an example of how it might be used.

7

Explain the concept of Firebase Realtime Database. What are its defining characteristics and in what scenarios would it be the preferred choice for an Android application?

8

Describe the process of configuring and setting up Firebase Realtime Database security rules. Why are these rules crucial for any production-ready application?

9

Illustrate how to perform 'Create' and 'Read' operations on Firebase Realtime Database from an Android application. Provide conceptual code snippets for each operation.

10

Explain how to perform 'Update' and 'Delete' operations on Firebase Realtime Database data from an Android application. Provide conceptual code snippets for each operation.

11

Discuss the concept of data synchronization and offline capabilities in Firebase Realtime Database. How do these features benefit Android application users and developers?

12

What is Firebase Cloud Messaging (FCM)? Describe its architecture and how it enables sending push notifications to Android devices.

13

Outline the process of sending a basic push notification to an Android device using the Firebase Console. What are the advantages of using the console for sending notifications?

14

Briefly define the term 'cloud-enabled application' in the context of Android development and explain how Firebase services contribute to building such applications.

15

When connecting Firebase to an Android app, the google-services.json file is crucial. Explain its purpose and why it must be placed correctly in the project structure.

16

Explain the concept of 'Real-time Listeners' in Firebase Realtime Database and distinguish between ValueEventListener and ChildEventListener.

17

What is the purpose of the Firebase Bill of Materials (BOM) for Android? How does it simplify dependency management for multiple Firebase libraries?

18

FirebaseUI provides a FirebaseRecyclerAdapter. Explain its primary purpose and how it simplifies displaying data from Firebase Realtime Database in an Android RecyclerView.

19

Describe two common pitfalls or anti-patterns to avoid when structuring data in Firebase Realtime Database, and suggest best practices for each.

20

What is the concept of DatabaseReference in Firebase Realtime Database? Explain its role in accessing and manipulating data.