Search Header Logo

Parts of a Function

Authored by Bryan Campbell

Computers

10th Grade

Used 9+ times

Parts of a Function
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which line of the code contains a keyword?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which line of the code contains a comment?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which line of the code is the function my_function() called?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many parameters/arguments are use in my_function()?

0

1

2

3

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which line of the code is the function my_function() called?

1

2

3

4

5

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many parameters/arguments are use in my_function()?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the value store in parameter b in my_function()?

18

5

10

3

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?