Functions DRILL

Functions DRILL

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

yes

2.

FLASHCARD QUESTION

Front

Which keyword do we need to define a function?

Back

function

3.

FLASHCARD QUESTION

Front

What is the name of this function?

Back

spin()

4.

FLASHCARD QUESTION

Front

This code:
putBall();
move();
putBall();
put 2 balls in the same place and then move one place?

Back

False

5.

FLASHCARD QUESTION

Front

Which of the following best describes what a function is used for? Options: 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

Back

they are reusable pieces of code that can be called any time in the program