JS Functions

JS Functions

Professional Development

13 Qs

quiz-placeholder

Similar activities

AAC Weekly Review

AAC Weekly Review

Professional Development

10 Qs

Tableau 2

Tableau 2

Professional Development

8 Qs

Vigilance Awareness Week

Vigilance Awareness Week

Professional Development

15 Qs

Agile

Agile

Professional Development

9 Qs

Decision Tree / ensemble methods review

Decision Tree / ensemble methods review

Professional Development

11 Qs

MY QA SOCIALIZATION

MY QA SOCIALIZATION

Professional Development

15 Qs

instrumentation

instrumentation

Professional Development

10 Qs

DIASP and the Philosopher's Stone

DIASP and the Philosopher's Stone

Professional Development

17 Qs

JS Functions

JS Functions

Assessment

Quiz

Other

Professional Development

Easy

Created by

Mariessa D

Used 1+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we write functions?

Functions make our code cuter

Functions make our code easier to read and reusable

Some JS code cannot run without functions

Functions do all math in JS

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

What two things must one do in order to create a function?


Define the function


Add a Parameter


put code to be executed inside the function body


Give the function a value inside the Parameter

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the reason we use parameters?

To create a lot of functions


To be able to go back and fix error in the code and make it easier to debug.

To modify an existing function and make them easier to customize or change when being called.

Just for fun

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Functions make coding more efficient

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the max amount of parameters that you can add to a function?

1

5

100

as many as you want

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is used to ASSIGN a value to a variable in JavaScript?

=

===

==

!=

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function :

Expresses a true false statement

Runs a boolean (true/false) statement based on data entered

Is a block of code designed to perform a particular task

is used to connect words, phrases, and clauses

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?