1st session

1st session

University

15 Qs

quiz-placeholder

Similar activities

C programming-1

C programming-1

University

13 Qs

Quiz 9: Pointer

Quiz 9: Pointer

University

12 Qs

Java Operators

Java Operators

University

14 Qs

exception

exception

University

10 Qs

Java Programming

Java Programming

University

20 Qs

X-Quiz #6

X-Quiz #6

University

10 Qs

Java Exception Handling

Java Exception Handling

University

15 Qs

Динамические библиотеки

Динамические библиотеки

University

10 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?