Dart Q_6

Dart Q_6

Professional Development

9 Qs

quiz-placeholder

Similar activities

DBMS QUIZ

DBMS QUIZ

Professional Development

10 Qs

Flutter Q1.2

Flutter Q1.2

Professional Development

12 Qs

Print Services Return to Work

Print Services Return to Work

Professional Development

8 Qs

ABREDES - Devasc Python

ABREDES - Devasc Python

Professional Development

14 Qs

STE3 Q1

STE3 Q1

University - Professional Development

10 Qs

ROB Day 4

ROB Day 4

Professional Development

10 Qs

Pre-Test Service Blueprint Office (Nov'22)

Pre-Test Service Blueprint Office (Nov'22)

Professional Development

10 Qs

SQL Quiz

SQL Quiz

Professional Development

7 Qs

Dart Q_6

Dart Q_6

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Mina Romany

Used 9+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main() { sum(x:2,z:"5",y:8); }

sum ({x,y,String? z}) {print(x+y);}

What is the output of this code?

error

10

null

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main(){ sum(2,5,2); }

int sum ({x,y,z}) {print(x+y+z);}

What is the output of this code?

9

error

null

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

can we pass to a function an argument string list only?

true

false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main(){ print(div(12,3) );}

div(x,y){return x/y;}

4

error

null

none of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main(){ print(div(12,3) );}

div(x,y){x~/y;}

error

null

4

4.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main() { String x = sum(); print(x); } sum(){ return 7+8+13; }

what is the output?

28

25

null

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main() {print(sum());}

sum(){print( 7+8+13);}

what is the output?

28

null

28

null

null

28

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

can we pass to a function an argument of type function?

true

false

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main() { sum(x:2,z:"5",y:8); }

sum ({x,y,String z}) {print(x+y);}

What is the output of this code?

error

10

null

Discover more resources for Professional Development