Julia

Julia

KG

13 Qs

quiz-placeholder

Similar activities

Python Functions 1

Python Functions 1

12th Grade

12 Qs

AP CSA Variables and Operators

AP CSA Variables and Operators

9th - 12th Grade

14 Qs

Functions Quiz

Functions Quiz

7th - 11th Grade

10 Qs

ARRAYS AND FUNCTIONS

ARRAYS AND FUNCTIONS

University

15 Qs

Functional programming 3

Functional programming 3

11th - 12th Grade

15 Qs

Calculo Integral - Quizizz 4

Calculo Integral - Quizizz 4

University

10 Qs

Perulangan

Perulangan

KG

9 Qs

CĐ1-BÀI 4: BÀN PHÍM MÁY TÍNH

CĐ1-BÀI 4: BÀN PHÍM MÁY TÍNH

3rd Grade

11 Qs

Julia

Julia

Assessment

Quiz

Computers

KG

Hard

Created by

Xue ?

Used 5+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

which one(s) is correct for calling

f(a, b=1) = a+b

f(1, 2)

f(1, b=2)

f(1; b=2)

f(a=1, b=2)

f(a=1; b=2)

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

which one(s) is correct for calling

f(a;b=1) = a+b

f(1, 2)

f(1, b=2)

f(1; b=2)

f(a=1, b=2)

f(a=1; b=2)

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Select all the correct way(s) to define a function

f = (x) -> 2x

foo(x)

return x + 2

end

function (x)

x+ 2

end

def foo(x)

x+2

end

(x) => x+2

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Functions can be nested

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code:

Runtime error

Compilation error

An array

A function

An Int

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code:

[1, 2, 1]

Error

[0, 1, 2, 1]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code

3

error

3.0

nothing

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?