Flutter Quiz 1

Flutter Quiz 1

University

15 Qs

quiz-placeholder

Similar activities

Information Management - QUIZ

Information Management - QUIZ

University

20 Qs

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

Redes Sociales

Redes Sociales

University

20 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Flutter Quiz 1

Flutter Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Muhammad Rizwan

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?