1st session

1st session

University

15 Qs

quiz-placeholder

Similar activities

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

javaquizvivek

javaquizvivek

University

12 Qs

coe java 24 june 21 7:30 to 745 pm only

coe java 24 june 21 7:30 to 745 pm only

University

20 Qs

Java Основи

Java Основи

11th Grade - University

16 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Java Static

Java Static

University

10 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

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?