Flutter, Firebase, SQLite, API Overview

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/99

flashcard set

Earn XP

Description and Tags

Flashcards reviewing key concepts related to Flutter app development, Firebase integration, SQLite usage, and API interactions.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

100 Terms

1
New cards

What language is used to write Flutter apps?

Dart

2
New cards

What is a widget in Flutter?

A building block of the UI

3
New cards

Which method is the entry point of a Flutter app?

main()

4
New cards

What is the purpose of setState() in Flutter?

Notify the framework to rebuild the UI

5
New cards

Which widget is used to create a scrollable list in Flutter?

ListView

6
New cards

What is the use of pubspec.yaml in a Flutter project?

Managing dependencies

7
New cards

When is StatelessWidget used?

When the UI does not change

8
New cards

What is hot reload in Flutter?

Quickly injecting updated code

9
New cards

What is the parent of all Flutter widgets?

Widget

10
New cards

Which layout widget arranges children vertically?

Column

11
New cards

How do you navigate between screens in Flutter?

Navigator.push()

12
New cards

Which package is used for state management in Flutter?

provider

13
New cards

What is the use of FutureBuilder?

Asynchronous data handling

14
New cards

What does the MaterialApp widget do?

Sets up the base of a Material Design app

15
New cards

Which keyword is used to define a class in Dart?

class

16
New cards

Dart is:

Compiled

17
New cards

Which widget displays one child at a time from a list?

PageView

18
New cards

The initState() method is called:

Before build

19
New cards

What is the purpose of async and await in Dart?

Handling asynchronous code

20
New cards

Which Flutter command is used to create a new app?

flutter create

21
New cards

Flutter uses what rendering engine?

Skia

22
New cards

How to add an image from assets in Flutter?

Image.asset()

23
New cards

What widget provides a structure with AppBar, body, etc.?

Scaffold

24
New cards

Dart supports:

OOP and functional

25
New cards

What is BuildContext in Flutter?

Handle to location in widget tree

26
New cards

Firebase is a:

Backend-as-a-Service (BaaS)

27
New cards

Which Firebase service is used for real-time data?

Firebase Realtime Database

28
New cards

Firebase Authentication allows login via:

Multiple providers

29
New cards

Which Firebase service is used for push notifications?

Firebase Cloud Messaging (FCM)

30
New cards

Firestore is a:

NoSQL document database

31
New cards

Firebase Hosting is used for:

Hosting web apps

32
New cards

How to integrate Firebase with Flutter?

Add dependencies in pubspec.yaml and initialize Firebase

33
New cards

Firebase supports which platforms?

All of the above

34
New cards

What is the first step in using Firebase in Flutter?

Add Firebase to the project

35
New cards

What is Firebase's NoSQL alternative to Realtime Database?

Cloud Firestore

36
New cards

Firebase Functions are written in:

JavaScript/TypeScript

37
New cards

Firebase Analytics tracks:

User behavior and events

38
New cards

Firebase Storage is used to store:

Files like images and videos

39
New cards

How to send email verification in Firebase Auth?

user.sendEmailVerification()

40
New cards

Firebase Realtime Database stores data in:

JSON format

41
New cards

How are Firebase rules defined?

JSON-based security rules

42
New cards

Which Firebase feature helps with app performance tracking?

Performance Monitoring

43
New cards

Firebase Authentication SDK provides:

Login, registration, password reset

44
New cards

Can Firebase Firestore work offline?

Yes

45
New cards

What Firebase tool is used for testing push notifications?

Firebase Console

46
New cards

SQLite is a:

Local database engine

47
New cards

Which Flutter package is commonly used with SQLite?

sqflite

48
New cards

How does SQLite store data?

Tables and rows

49
New cards

SQLite is:

Embedded

50
New cards

SQLite supports which query language?

SQL

51
New cards

What function opens a database in sqflite?

openDatabase()

52
New cards

How to insert data using sqflite?

db.insert()

53
New cards

What is a primary key in SQLite?

Unique identifier

54
New cards

SQLite is best used for:

Local offline storage

55
New cards

Which file extension is used for SQLite DB files?

.db

56
New cards

Can you define foreign keys in SQLite?

Yes

57
New cards

To execute raw SQL in sqflite, you use:

db.rawQuery()

58
New cards

What data types does SQLite support?

INTEGER, TEXT, REAL, BLOB, NULL

59
New cards

Is SQLite open-source?

Yes

60
New cards

Which method updates data in SQLite?

db.update()

61
New cards

What does API stand for?

Application Programming Interface

62
New cards

REST API uses which protocol?

HTTP/HTTPS

63
New cards

Which HTTP method is used to retrieve data?

GET

64
New cards

What does the HTTP status code 200 mean?

OK

65
New cards

Which package is commonly used in Flutter for API calls?

http

66
New cards

What is JSON?

Data interchange format

67
New cards

What is the typical format of a REST API response?

JSON

68
New cards

What is an API endpoint?

URL to access resources

69
New cards

What is the purpose of headers in API requests?

Provide metadata

70
New cards

Which HTTP method is used to create new data?

POST

71
New cards

What status code indicates "Not Found"?

404

72
New cards

Which tool is used to test APIs manually?

Postman

73
New cards

What does PUT do in an API?

Replaces existing data

74
New cards

What is the role of async in API calls?

Handles asynchronous operations

75
New cards

What is the use of await in Dart?

Waits for async response

76
New cards

What does the 500 HTTP status code represent?

Server error

77
New cards

APIs can return:

JSON, XML, or plain text

78
New cards

An API key is used for:

Authentication and access control

79
New cards

OAuth is used in APIs for:

Authorization

80
New cards

What is the correct content-type header for sending JSON?

application/json

81
New cards

What is the primary platform Flutter apps can target?

Android, iOS, Web, Desktop

82
New cards

What is cross-platform development?

Building apps for multiple OSes using one codebase

83
New cards

Which file contains Android-specific configuration in Flutter?

AndroidManifest.xml

84
New cards

Which file defines iOS permissions in Flutter apps?

Info.plist

85
New cards

What’s a common IDE for Flutter?

Android Studio / VS Code

86
New cards

Which Flutter command runs your app on a device?

flutter run

87
New cards

What is the use of emulator in mobile development?

Testing apps without real device

88
New cards

How do you debug apps in Flutter?

Use flutter debug tools or IDE debuggers

89
New cards

Which tool lets you view Flutter widget trees?

Flutter DevTools

90
New cards

What’s the purpose of adaptive design in mobile apps?

Works across devices with different screen sizes

91
New cards

What's the recommended way to persist small user settings?

SharedPreferences

92
New cards

What does APK stand for?

Android Package

93
New cards

What does iOS use instead of APK?

IPA (iOS App Store Package)

94
New cards

What’s used to sign Android apps for release?

Keystore file

95
New cards

What is a splash screen?

Intro screen when app launches

96
New cards

How do you handle responsiveness in Flutter?

MediaQuery and LayoutBuilder

97
New cards

What is CI/CD in mobile development?

Continuous Integration/Continuous Deployment

98
New cards

What’s the use of the build.gradle file in Android?

Manage build settings and dependencies

99
New cards

What's the purpose of the Android res folder?

Store resources like images, strings, layouts

100
New cards

Which command is used to build a release version of your app in Flutter?

flutter build apk --release