1st session

1st session

University

15 Qs

quiz-placeholder

Similar activities

9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

Вказівник

Вказівник

12th Grade - University

12 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Test Final

Test Final

University

20 Qs

FIND THE KEY

FIND THE KEY

University

10 Qs

Java Основи

Java Основи

11th Grade - University

16 Qs

Flutter intro and Dart quiz

Flutter intro and Dart quiz

University

15 Qs

1st session

1st session

Assessment

Quiz

Computers

University

Medium

Created by

Menna Khaled

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Dart primarily used for?

Backend development

Mobile app development

Desktop applications

Game development

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid data type in Dart?

int

float

bool

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a nullable variable in Dart?

int value;

int value!;

int? value;

nullable int value;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the ! operator in Dart?

To declare a nullable variable

To check if a value is null

To negate a boolean value

To force a nullable value to be treated as non-null

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code output?
void main() {
var a = 5, b = 3;
print(a ~/ b);
}

1.6666

1

2

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?
void main() {

var x = 10;

print(x is String);

}

true

false

error

null

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add an item to a list in Dart?

addItem()

append()

add()

push()

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?