Flutter Quiz 1

Flutter Quiz 1

University

15 Qs

quiz-placeholder

Similar activities

Compose Week 3

Compose Week 3

University

10 Qs

Kuis Flutter dan Widget

Kuis Flutter dan Widget

11th Grade - University

20 Qs

Flutter Basic - Fundamental

Flutter Basic - Fundamental

University

20 Qs

Flutter Quiz

Flutter Quiz

University

10 Qs

Flutter Provider Quiz

Flutter Provider Quiz

University

10 Qs

Dasar-Dasar Flutter

Dasar-Dasar Flutter

University

10 Qs

Flutter Quiz

Flutter Quiz

University

10 Qs

Flutter mastermind

Flutter mastermind

University

10 Qs

Flutter Quiz 1

Flutter Quiz 1

Assessment

Quiz

Computers

University

Hard

Created by

Muhammad Rizwan

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of main() in a Flutter app?

To define the app's theme

To start the execution of the app

To build the widget tree

To handle navigation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct Dart syntax to declare a constant:

final String name = 'John';

const name = 'John';

var name = const 'John';

final name = 'John';

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does hot reload do in Flutter?

Restarts the app entirely

Rebuilds the widget tree without losing the app state

Compiles the app into native code

Reloads the Dart SDK

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Write Dart code to define a function that returns the square of a number.

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which widget wraps another widget and allows it to scroll?

Container

ListView

Scaffold

TextField

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

void main() { runApp(MyApp()); }

class MyApp extends StatelessWidget

{

@override

Widget build(BuildContext context)

{

return MaterialApp( home: ________, );

}

}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is runApp() used for?

To initialize the Flutter framework

To attach the widget tree to the screen

To build the root widget

All of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?