MCQs | Flutter/Flutter MCQ Questions Sample Test,Sample questions

Question:
A __ widget in Flutter is a box with a specific size.

1.Container

2.Stream

3.Show

4.SizedBox


Question:
Access and manipulate the cloud database is possible with which of the following options?

1.Firebase Database

2.SQFlite Database

3.both (a) and (b)

4.None of the mentioned


Question:
Due to App Store restrictions on dynamic code execution, Flutter apps use __ compilation on iOS.

1.Ahead-of-time (AOT)

2.Ahed-of-code (AOC)

3.Both

4.None


Question:
Flutter apps are written in the __ language and make use of many of the language’s more advanced features.

1.Dart

2.Kotlin

3.Java

4.Swift


Question:
Flutter is an __ mobile application development framework created by Google.

1.Shareware

2.Open-Source

3.Both

4.None of the above


Question:
Flutter is mainly optimized for _ that can run on both Android and iOS platforms.

1.Desktop only

2.Tablet only

3.2D Mobile Apps

4.None of the above


Question:
Flutter is used to develop applications for _ and _.

1.Android

2.iOS

3.Both

4.None


Question:
How many child widgets can be added to Container Widget?

1.Unlimited

2.1

3.2

4.3


Question:
How many types of widgets are there in Flutter?

1.1

2.2

3.3

4.4


Question:
In Flutter, which of the following is used as identifiers for widgets, elements, and semantic nodes?

1.Buttons

2.Keys

3.Widgets

4.Streams


Question:
In working with the Flutter project, which configuration file will be used most?
pubspec.xml

1.pubspec.html

2.pubspec.xyz

3.pubspec.xml

4.pubspec.yaml


Question:
pubspec.yaml file does not contain?

1.Project general settings

2.Project dependencies

3.Project language

4.Project assets


Question:
Release mode allows us to optimize the codes and generate them without any debug data in a fully optimized form

1.True

2.False

3.Can be true or false

4.Can’t say


Question:
SDK represents____

1.Software Development Knowledge

2.Software Data Kit

3.Software Database Kit

4.Software Development Kit


Question:
Streams can be of __ types.

1.1

2.2

3.3

4.4


Question:
The __ animation allows you to represent real-world behavior in Flutter.

1. Maths-based

2.Physics-based

3.Graph-based

4.None of the above


Question:
The Dart language can be compiled

1. AOT

2.JIT

3.Both AOT and JIT

4.None of the above


Question:
The examples of the Stateless widget are?

1.Row

2.Padding

3.Text

4.All of the above


Question:
The Flutter tooling supports _ modes while compiling the application

1.1

2.2

3.3

4.None of These


Question:
The function is responsible for returning the widgets that are attached to the screen as a root of the widget tree and will be rendered on the screen.

1.runApp()

2.main()

3.both (a) and (b)

4.None of these


Question:
What are the advantages of Flutter?

1.Cross-platform Development

2.Faster Development

3.UI Focused

4.All of the above


Question:
What are the different build modes in Flutter?

1.Debug

2.Profile

3.Release

4.All of the above


Question:
What are the subclasses of Key?

1. GlobalKey

2.LocalKey

3.GlobalKey and LocalKey

4.None of the above


Question:
What is Dart?

1. Dart is an object-oriented programming language.

2.Dart is used to create frontend user interfaces.

3.Both A and B

4.None of the above


Question:
What is the name of the command you use to verify you have setup your flutter environment correctly?

1.flutter run

2. flutter expert

3.flutter doctor

4.flutter coder


Question:
What is the refresh rate of our animation in Flutter?

1.Show

2.Refresh

3.Ticker

4.None of the above


Question:
What operator evaluates and returns the value between two expressions?

1.?? operator

2.? operator

3.&& operator

4.None of the above


Question:
What types of tests can you perform in Flutter?

1.Unit Tests

2.Widget Tests

3.Integration Tests

4.All of the above


Question:
Which Company Developed Flutter?

1. Microsoft

2.Google

3.Facebook

4.IBM


Question:
Which function is responsible for starting the program?

1. runApp()

2.main()

3.run()

4.flutter()


Question:
Which of the following are the best editors of flutter development?

1. Android Studio

2.Xcode

3.IntelliJ Idea

4.All of the above


Question:
Which of the following are used to develop the native hybrid app from a single codebase?

1.React Native

2.Flutter

3.React

4.Both A and B


Question:
Which of the following best explains the flutter?

1.It is an open-source database management system

2.This is an open-source backend toolkit

3.This is an open-source UI toolkit

4.None of the above


Question:
Which of the following commands is used to compile release mode?

1.flutter run –release

2.flutter –release

3.flutter run ??release

4.flutter run %%release


Question:
Which of the following is a sequence of asynchronous events?

1. Stream

2.Flow

3.Current

4.None of the above


Question:
Which of the following options is correct for adding the plus icon to the FloatingActionButton widget in the Filter application?

1.Icon <”phone”>

2.Icon(icon.style:”plus”)

3.Icon(icons.plus)

4. icon=plus.Flutter


Question:
Which of the following properties must we utilize for adding the label, inline, and icon suggestion text to the TextField widget?

1.InputDecoration

2.ListView

3.SizeBox

4.shrinkWrap:true


Question:
Which of the following tests a single widget?

1.Unit Tests

2.Widget Tests

3.Interactive Tests

4.Integration Tests


Question:
Which of the following widget allows us to refresh the screen?

1.Stateless widgets

2.Statebuild widget

3.Stateful widget

4.All of the above


Question:
Which of the following widgets is used for repeating the content

1.Expanded

2.Stack

3.Scaffold

4.ListView


Question:
Which of the following widgets use for layout?

1. Text

2.Column

3.Expanded

4.Inkwell


Question:
Which of the following works with a small r key on the terminal or commands prompt?

1.Hot Reload

2.Hot Restart

3.both (a) and (b)

4.None of These


Question:
Which of the given below commands checks our environment and shows the report of the status of our Flutter and Android studio apart from the IDE software installation.

1.flutter clean

2.flutter screen

3. flutter master

4.flutter doctor


Question:
Which widget enables us to have a specific height or width between the widgets?

1. AppBar

2.SafeArea

3.onChanged

4.SizedBox


Question:
Which widget is utilized to wrap the Column, Container, Row, or other widgets. This widget inserts the filling size around the child widget?

1.Image

2.SnackBar

3.Padding

4.AlertDialog


More MCQS

  1. Flutter MCQ Questions
Search