L25 Functions

L25 Functions

Assessment

Interactive Video

Computers

6th - 8th Grade

Hard

Created by

Robyn Chisholm

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main steps to using functions in JavaScript?

Define and execute

Define and call

Create and run

Write and debug

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step to using functions?

Defining the function

calling the functions

What is a function?

Play the functions code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does calling a function do?

It creates a new function

It runs the code inside the function

It deletes the function

It modifies the function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where do programmers typically place function definitions in their programs?

At the beginning

In random places

At the end

In the middle

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are reasons to use functions?

to organize your code

avoid repeating code

make programs easier to understand

to make code difficult to read