JAVAScript

JAVAScript

8th Grade

16 Qs

quiz-placeholder

Similar activities

Javascript Basics (Khan Academy)

Javascript Basics (Khan Academy)

6th - 8th Grade

15 Qs

Python Fundamentals

Python Fundamentals

1st - 10th Grade

12 Qs

Gaming Lesson 3

Gaming Lesson 3

6th - 8th Grade

14 Qs

JavaScript Practice Quiz

JavaScript Practice Quiz

8th Grade

15 Qs

C++ Quiz 05/05/2023

C++ Quiz 05/05/2023

8th Grade

20 Qs

Unit 10 | Block-Based Programming Vocabulary

Unit 10 | Block-Based Programming Vocabulary

8th Grade

18 Qs

prep2 lesson 1-2

prep2 lesson 1-2

8th Grade

20 Qs

AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

8th - 10th Grade

20 Qs

JAVAScript

JAVAScript

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Michelle Catarroja

Used 23+ times

FREE Resource

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

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?