Search Header Logo

Flutter_Q5

Authored by Mina Romany

Computers, Professional Development, Instructional Technology

Professional Development

Used 5+ times

Flutter_Q5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

main(){ h1(); }

h1() =>"hi"+"text";

What is the output of this code?

hi text

error

hi

No Output

Null

2.

MULTIPLE CHOICE QUESTION

45 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

x+y+z

null

error

3.

MULTIPLE CHOICE QUESTION

45 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

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

true

false

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

can we put a lamda function in variable?

true

false

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

var div = (x,y)=>x/y;

What is the output of this code?

error

4

null

none from above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

can we pass a function as an argument in another function?

true

false

Access all questions and much more by creating a free account

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

Already have an account?