Welcome to your Flutter test Name Phone Email What is Flutter? a. A database management system b. A programming language c. A cross-platform UI toolkit d. A version control system What is a widget in Flutter? a. An algorithm for sorting data b. A type of bug in code c. A basic building block of the user interface d. A data structure for storing app data Which file is used to declare app metadata and dependencies in a Flutter project? a. main.dart b. pubspec.yaml c. AndroidManifest.xml d. build.gradle What is the purpose of the setState method in Flutter? a. To update the device's state b. To change the app's theme c. To rebuild the widget's UI when its state changes d. To fetch data from a remote server Which widget is used to create a scrollable list of widgets in Flutter? a. Column b. Row c. ListView d. Container In Flutter, what does "hot reload" do? It restarts the app. It recompiles the entire app. It installs a new version of Flutter. It rebuilds the UI without restarting the app. What is the main function used for in a Flutter app? To define the app's color scheme To specify the app's entry point To configure the app's navigation To declare app-wide constants What is the purpose of a class in Dart? To create a blueprint for objects To group related variables and functions together To define a type of data All of the above What is the difference between an instance and a class? An instance is a specific object of a class. A class is a general concept, while an instance is a specific example of that concept. An instance is a variable, while a class is a data type. All of the above What is the purpose of a constructor in Dart? To initialize an object's state To create an instance of a class To define a method for a class All of the above What is the purpose of an exception in Dart? To handle errors To prevent code from crashing To throw an error when an unexpected situation occurs All of the above What is the purpose of the late keyword in Dart? To defer the initialization of a variable until it is first used. To improve performance by delaying unnecessary memory allocation. To make code more readable and maintainable. All of the above What is the difference between git fetch and git pull? git fetch only downloads changes from the remote repository, while git pull downloads and merges changes. git fetch updates the remote tracking branches, while git pull updates the local branches. git fetch is a safer command than git pull, as it does not attempt to merge changes. All of the above. 1 out of 13 Time's up