Certified Flutter Application Development Quiz Questions and Answers

Answer :
  • Cloud Functions

Explanation :

Cloud Functions are single-purpose JavaScript functions that are executed in a secure, managed Node.js environment. They are only executed when a specific event being watched is emitted. You can create functions that are triggered by Firebase products, such as changes to data in the Realtime Database, new user sign-ups via Auth, and conversion events in Analytics. Use Firebase ML to train and deploy custom machine learning models, or use a more turn-key solution with the Cloud Vision APIs. With Firebase Hosting, you can deploy a single-page web app, a mobile app landing page, or a progressive web app without all the hassle. With Firebase Remote Config, you can change the behavior and appearance of your app on the fly from the Firebase console, and then track performance in Google Analytics for Firebase. Customize by audience segment, release new content, and split test to validate improvements, all without waiting for app store approval. Hence Cloud Functions is the correct answer.
Answer :
  • ListView Widget

Explanation :

Displaying lists of data is a fundamental pattern for mobile apps. A ListView widget is the most commonly used scrolling widget. It displays its children one after another in the scroll direction. A ListTile widget is a way to give items a visual structure. It's a single fixed-height row that typically contains some text as well as a leading or trailing icon. List tiles are typically used in ListViews, or arranged in Columns in Drawers or Cards. A SingleChildScrollView widget is a box in which a single widget can be scrolled. It perfectly fits with a Column widget to make the Column children scrollable. A Column widget is an essential layout widget and is used to arrange its children in a vertical direction on the screen. This widget is very necessary when you design the application user interface in Flutter. By default, a Column widget is not scrollable. You can wrap a Column widget in a SingleChildScrollView to make the children scrollable. Hence ListView is the correct answer
Answer :
  • TRUE

Explanation :

The Google Play Store recommends that you deploy app bundles over APKs because they allow a more efficient delivery of the application to your users. However, if you're distributing your application by means other than the Play Store, an APK may be your only option. An Android App Bundle is a publishing format that includes all your app's compiled code and resources, and defers APK generation and signing to Google Play. Google Play uses your app bundle to generate and serve optimized APKs for each device configuration, so only the code and resources that are needed for a specific device are downloaded to run your app. You no longer have to build, sign, and manage multiple APKs to optimize support for different devices, and users get smaller, more-optimized downloads. Hence True is the correct answer.
Answer :
  • Stack Widget

Explanation :

A Stack widget positions its children relative to the edges of its box. It is useful if you want to overlap several children in a simple way, for example having some text and an image, overlaid with a gradient and a button attached to the bottom. An Overlay / Overlap widget does not exist in Flutter. An Align widget aligns its child within itself and optionally sizes itself based on the child's size. It introduces an easy way to create and implement alignments of a Widget over another. The Align widget itself acts as a container and holds another widget. Hence Stack widget is the correct answer.
Answer :
  • A) color property
    B) trailing property
    C) title property
    <p>all of the above</p>

Explanation :

The title property defines the primary content of the ListTile and is typically a Text widget. The title property is not optional and must be defined. For Additional content displayed below the title you can use the subtitle property. The leading and trailing properties exist and define widgets to display before / after the title. They typically define an Icon widget. The color property does not exist for the ListTile widget. To define the background color of ListTile you need to use the tileColor property. Hence color property is the correct answer and does not exist.
Answer :
  • pubspec.yaml file

Explanation :

The default version number of the app is 1.0.0. To update it, navigate to the pubspec.yaml file and update the following line: version: 1.0.0+1 The version number is three numbers separated by dots, such as 1.0.0 in the example above, followed by an optional build number such as 1 in the example above, separated by a +. After updating the version number in the pubspec.yaml file, run flutter pub get from the top of the project, or use the Pub get button in your IDE. This updates the build number for Android as well as for iOS at one place.
Answer :
  • App Bundle
  • APK

Explanation :

You have two possible release formats when publishing to the Google Play Store: - App Bundle (preferred one) - APK The Android App Bundle is Android's new, official publishing format that offers a more efficient way to build and release your app. It lets you more easily deliver a great experience in a smaller app size, which can improve install success and reduce uninstalls. Snap is used when you release your app to Linux and an index.html file is used when you distribute to web. Hence App Bundle and APK are the correct options.
Answer :
  • Credit Card Authentication

Explanation :

Firebase Authentication supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more. You can sign in users to your Firebase app either by using FirebaseUI as a complete drop-in auth solution or by using the Firebase Authentication SDK to manually integrate one or several sign-in methods into your app. The only option you cannot use to authenticate users to your application is by credit cards. Hence this is the correct answer.
Answer :
  • TRUE

Explanation :

Dart offers sound null safety, meaning that values can't be null unless you say they can be. With sound null safety, Dart can protect you from null exceptions at runtime through static code analysis. Unlike many other null-safe languages, when Dart determines that a variable is non-nullable, that variable is always non-nullable. If you inspect your running code in the debugger, you'll see that non-nullability is retained at runtime (hence sound null safety). Hence True is the correct answer.
Answer :
  • Time Efficiency

Explanation :

There's a standard set of rules that you need to adhere to if you want to launch the app flawlessly. Pre-launch app testing is one of the significant aspects in app development to achieve high quality. All essential quality criteria of Flutter apps should be tested before publishing the app: - Security - Compatibility, performance and stability - Visual design and user interaction - Functionality Time Efficiency is no essential quality aspect and hence this answer ist correct.