Search Header Logo

Functions DRILL

Authored by Jonathan Smith

Computers

8th Grade

Used 8+ times

Functions DRILL
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

In JavaScript, you should include a semi-colon at the end of each statement.

yes
no

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword do we need to define a function?

function
method
onclick
functionName()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the name of this function?

function

spin()

3 turnLeft();

spin();

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This code:

putBall();

move();

putBall();

put 2 balls in the same place and then move one place?

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes what a function is used for?

they create new variable commands
they are used for difficult math formulas
they are reusable pieces of code that can be called any time in the program
they allow for the use of mathematical operators

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?