JS Functions

JS Functions

8th Grade

7 Qs

quiz-placeholder

Similar activities

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

Encryption and Public Keys

Encryption and Public Keys

6th - 8th Grade

8 Qs

ICT Grade 8

ICT Grade 8

8th Grade

10 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

Quiz Lec2

Quiz Lec2

KG - University

10 Qs

Setting Character Position

Setting Character Position

6th - 8th Grade

10 Qs

Korbyn Reynolds

Korbyn Reynolds

7th Grade - Professional Development

10 Qs

Brawl Stars Quiz

Brawl Stars Quiz

1st Grade - University

10 Qs

JS Functions

JS Functions

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Manuel Castillo

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a global variable scope

the variable can be accessed anywhere inside and outside a function

the variable can be accessed only inside the function

the variable can be accessed only outside the function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are functions?

It's code that you can use in Javascript

It's where you can put if and else statements

It's a block of code that lets you do a bunch of tasks

It's a block of code that let's you do one specific task

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between an argument and a parameter?

The argument is set when you create the function. The parameter is what you enter when you call the function

The parameter is set when you create the function. The argument is what you enter when you call the function

The argument is set when you create the variable. The parameter is what you enter when you call the function

The parameter is set when you create the variable. The argument is what you enter when you call the function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function declaration?

It's when you create the variable

It's when you create the function

It's when you call the variable

It's when you call the function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the console output?

Console will return "My car is red"

Console will return "My car is blue"

Console will return "undefined variable"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the console output?

"My car is blue."

"My car is red"

Undefined variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean to "invoke" a function?

To call a function

To create a function

To call a variable

To code a function

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?