AppDev FINALS QUIZ Flashcards

1
Q

Flutter uses ____ for its language.

A

Dart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Flutter is not a language [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is Google’s mobile SDK / UI framework that enables
developers to build native apps that run on Android and iOS devices.

A

Flutter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Developers write code in a single codebase that works on both platforms [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You can change your code and hot reload the changes, without any kind of delay [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Flutter was not written for high productivity, to get apps out fast. [T/F]

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Flutter does not include the UI Widgets you need [T/F]

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Flutter works with most IDEs [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When you write an Android / iOS app with the Flutter Widgets, it looks like a normal Android app [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The included Flutter UI Widgets work seamlessly and conventionally with the target platform. Scrolling,
avigation, icons and fonts match the target system. [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The code you write in Flutter runs natively so it flies! [T/F]

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Flutter is not free and Open Source. [T/F]

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The code: flutter create firstapp

A

creates a project named firstapp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Type code <space> to \_\_\_\_</space>

A

To automatically load flutter app to vscode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

This usually contains configuration files. The most important of these configuration files is the ‘pubspec.yaml’ file, which declares the project dependencies.

A

[root] folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Intellij project folder. Feel free to remove this folder if
you are using Visual Studio Code.

A

.idea folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

As the name suggests, the folder contains all the
Android-related files and code(s) for the application.
This is where Android-specific settings and code
resides. When building for Android, Flutter uses Gradle
as the dependency manager

A

android folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

This folder is created and used by gradle when you
build the project.

A

build

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Similar to the ‘android’ folder, this folder contains the
iOS related files and code(s) for the application.

A

ios

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

This is where the application code resides. You should
see a file ‘main.dart’, the entry point for the Flutter application. This is the file you select and run. You will add more files and subfolders into this folder.

A

lib

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

This is where the unit testing code resides. You may add more files and subfolders into this folder

A

test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

These are great for developers, enabling them to develop their code to run on multiple devices, see how they look on each device.

23
Q

To run the flutter app type____

A

flutter run

24
Q

You don’t need to be inside the project folder of your app [T/F]

25
This loads your changed code into the Dart VM and restarts the application. This is the safest thing to do and doesn’t take long.
Hot Restarting
26
If you want to load your changed code into the Dart VM but you don’t want to change the application state, you can do this. The result might be different behavior vs a hot restart.
Hot Reloading
27
If you are using ‘flutter’ run to run the app from the command line, you can use the key ‘R’ to hot ____ and the key ‘r’ to hot ____.
restart, reload
28
the Building Blocks of your UI.
Widgets
29
Whenever we build a user interface in Flutter, it is composed of ____
Widgets
30
Putting your widgets together is called _____
Composition
31
Everything is a widget [T/F]
T
32
A widget can contain other widgets, in a tree structure, a hierarchy. This is often called ______
Widget Tree
33
what is this process? 1. Import helper library from flutter to get content on the screen 2. Define a ‘main’ function to run when our apps starts 3. Create a new text widget to show some text on the screen 4. Take the widget and get it on the screen
Four step design process
34
we are trying to import some code from somewhere else
import
35
We are importing code from a third party package, not a dart standard lib
package
36
The name of the package we are importing
flutter
37
the file we are importing from that package
/material.dart
38
is a widget to create widgets to design applications in Flutter.
MaterialApp
39
Some of them are title, home, theme, color that helps developer design their app
Material app properties
40
provides a framework which implements the basic material design visual layout structure of the flutter app
Scaffold Widget
41
Code to remove debug banner on app
debugShowCheckedModeBanner: false
42
Code to import material.dart
import 'package:flutter/material.dart';
43
This widget will have no instance variables that will change
Stateless Widget
44
The widgets whose state can not be altered once they are built are called ____
Stateless Widget
45
These widgets are immutable once they are built i.e any amount of change in the variables, icons, buttons, or retrieving data can not change the state of the app.
Stateless Widget
46
____ in flutter is a convenience widget that combines common painting, positioning, and sizing of widgets
Container class
47
_____ can be used to store one or more widgets and position it on the screen according to our convenience.
Container Class
48
They are made up of multiple rows of items, which include text, buttons, toggles, icons, thumbnails, and many more.
Flutter Lists
49
The _____ is a perfect standard for displaying lists that contains only a few items.
ListView
50
ListView also includes ListTitle widget, which gives more properties for the visual structure to a list of data. [T/F]
T
51
______ are a great way to make your list look classy.
Cards
52
This widget will have instance variables that will change, and widget needs to update itself on screen when the data changes.
Stateful Widget
53
A______ will maintain data and will react accordingly whatever the data is doing within the mobile application.
Stateful Widget
54
A ______ is a mutable widget that is the reason it can be drawn multiple times within its lifetime.
Stateful Widget