Search Header Logo
Oregon Trail Variables & Functions

Oregon Trail Variables & Functions

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In the line let milesToday = travelDay(15, 0.8);, what is the function name?

Back

travelDay

2.

FLASHCARD QUESTION

Front

In the same line, let milesToday = travelDay(15, 0.8), which items are the arguments?

Back

15 and 0.8

3.

FLASHCARD QUESTION

Front

milesToday in let milesToday = … is a:

Back

variable that stores the result

4.

FLASHCARD QUESTION

Front

What number is stored in result when calling travelDay(15, 0.8)?

Back

12

5.

FLASHCARD QUESTION

Front

console.log(4 + 5) returns the value 9 so it can be stored in a variable.

Back

False

6.

FLASHCARD QUESTION

Front

Which statement best defines a parameter?

Back

The placeholder name inside the function definition

7.

FLASHCARD QUESTION

Front

Which line is a function declaration? Options: let total = add(3, 4);, add(3, 4);, let add = function(a, b) { return a + b; }, total = total + 1;

Back

let add = function(a, b) { return a + b; }

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?