Groups of statements that you can execute as a single unit
JAVAScript

Quiz
•
Computers
•
8th Grade
•
Medium
Michelle Catarroja
Used 23+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
15 questions
Code.org Unit 3 Lesson 3 and 4

Quiz
•
6th - 8th Grade
20 questions
CodeCombat

Quiz
•
8th Grade
17 questions
Codesters Vocabulary

Quiz
•
7th - 8th Grade
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
20 questions
BASIC STATMENT AND BUILT-IN FUNCTION

Quiz
•
8th Grade
13 questions
Unit 5 Terms Quiz 1

Quiz
•
8th Grade
20 questions
Python 1

Quiz
•
7th - 9th Grade
14 questions
Gaming Lesson 3

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade