
Flutter Quiz 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Muhammad Rizwan
Used 6+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Vistacreate
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
16 questions
E-Commerce
Quiz
•
University - Professi...
20 questions
Control Structures C#
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
19 questions
DBMS - Fundamentals
Quiz
•
University
15 questions
PICMAKER
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
