Search Header Logo

JS Function - Parameter Names

Authored by Jocelyn Hall

Computers

9th - 12th Grade

Used 4+ times

JS Function - Parameter Names
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is a better name for apple?

boatX

boatY

boatSize

boatColor

Answer explanation

Media Image

A better name for apple is boatSize

Line 27

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is a better name for banana?

boatX

boatY

boatSize

boatColor

Answer explanation

Media Image

A better name for banana is boatX

Line 28

text("text", x-pos, y-pos)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code respresent?

Function Definition

Function Call

Answer explanation

Media Image

This is a function definition.

A function call would be

drawBoat(20, 200, 100)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is drawBoat?

Custom Function

Stored Procedure

Answer explanation

Media Image

drawBoat is a Custom Function

It must be called in order to execute on the canvas.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is a better name for carrot?

boatX

boatY

boatSize

boatColor

Answer explanation

Media Image

A better name for carrot is boatY

Line 28

text("text", x-pos, y-pos)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?