Dart Q_6

Dart Q_6

Professional Development

9 Qs

quiz-placeholder

Similar activities

Day 2 Branch Operations VOB

Day 2 Branch Operations VOB

Professional Development

14 Qs

Python Looping

Python Looping

Professional Development

9 Qs

Excel - Conditional Functions

Excel - Conditional Functions

Professional Development

10 Qs

Nodejs: Database SQL

Nodejs: Database SQL

Professional Development

10 Qs

NY Adjusters - Health

NY Adjusters - Health

Professional Development

9 Qs

Java Collections

Java Collections

Professional Development

14 Qs

Talent Next Quiz-5

Talent Next Quiz-5

Professional Development

10 Qs

python file handling

python file handling

Professional Development

10 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