1st session

1st session

University

15 Qs

quiz-placeholder

Similar activities

CIS17A Quiz 2 Review

CIS17A Quiz 2 Review

University

20 Qs

Java Arrays

Java Arrays

University

10 Qs

Quiz Pemrograman Lanjut 2022/2023

Quiz Pemrograman Lanjut 2022/2023

University

20 Qs

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 Qs

C++ Quiz

C++ Quiz

University

20 Qs

FGCT4025 Topic 3 - Method

FGCT4025 Topic 3 - Method

University

15 Qs

Java Coding Questions

Java Coding Questions

University

20 Qs

Playing with C

Playing with C

University

20 Qs

1st session

1st session

Assessment

Quiz

Computers

University

Medium

Created by

Menna Khaled

Used 5+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?