
Flutter Test 1
Authored by Pradeep S
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary role of the Flutter Engine?
A) Handling HTTP requests
B) Rendering the UI using the Skia graphics library
C) Managing app state and navigation
D) Integrating with third-party libraries
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During Flutter installation on Windows, which of the following commands is used to verify the installation and setup?
A) `flutter verify`
B) `flutter check`
C) `flutter analyze`
D) `flutter doctor`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you create a new Flutter project, which directory contains the main entry point of the application?
A) `lib/`
B) `src/`
C) `assets/`
D) `test/'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Dart, what is the correct way to declare a variable that can hold a null value?
A) `int number = null;
B) `int? number;
C) `nullable int number;
D) `optional int number;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Dart code snippets correctly implements a switch-case statement to print "Hello" when greeting is "hi"?
- A)
dart
switch (greeting) {
case "hi":
print("Hello");
break;
}
- B)
dart
switch (greeting) {
case "hi":
print("Hello");
break;
}
- C)
dart
switch (greeting) {
if ("hi"):
print("Hello");
break;
}
- D)
dart
switch (greeting) {
if (greeting == "hi"):
print("Hello");
break;
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Dart code?
int count = 0;
for (int i = 0; i < 5; i++) {
count += i;
}
print(count);
- A) 5
- B) 10
- C) 15
- D) 20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you define a function in Dart that takes an optional named parameter age with a default value of 25?
- A)
dart
void printAge({int age: 25}) {
print(age);
}
- B)
dart
void printAge([int age = 25]) {
print(age);
}
- C)
dart
void printAge(int age = 25) {
print(age);
}
- D)
dart
void printAge({int age = 25}) {
print(age);
}
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
12 questions
Javascript
Quiz
•
University
10 questions
Python Yazılım Dilleri Soruları
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
15 questions
C Programming - Unit 1 MCQ
Quiz
•
University
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
CSNP-04103 Chapter 6 - Functions
Quiz
•
University
12 questions
Printf, scanf
Quiz
•
University
10 questions
Classification in Machine Learning2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University