Search Header Logo

JAVAScript

Authored by Michelle Catarroja

Computers

8th Grade

Used 23+ times

JAVAScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Groups of statements that you can execute as a single unit

Functions

Decision-making and flow-control statements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Allow you to determine the order in which statements execute in a program

Functions

Decision-making and flow-control statements

Parameter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ are placed within the parentheses that follow a function name

Functions

Decision-making and flow-control statements

Parameter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Make it possible to treat a related group of JavaScript statements as a single unit .

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Like all JavaScript code, functions must be contained within a <script> element or section

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The syntax for defining a function is:

Function name_of_function(parameters) { statements;

}

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To execute a function: –Invoke, or call, it from elsewhere in your program

Function call: _________________________________________

Code that calls a function

The variables or values that you place in the parentheses of the function call statement

Sending arguments to the parameters of a called function

The value of each argument is then assigned to the value of the corresponding parameter in the function definition

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?