
JavaScript Functions and Scope
Quiz
•
9th - 12th Grade
•
Easy
Used 60+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When too many variables exist in a namespace or variable names are reused.
Local Variables
Identifier
Scope Pollution
Parameter
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statements that exist within curly braces.
Function
Identifier
Scope Pollution
Blocks
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The space in our code that contains globally scoped information.
Global Namespace
Identifier
Scope Pollution
Blocks
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables that exist within global scope.
Global Namespace
Argument
Global Variables
Blocks
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Allow functions to accept input and perform a task using the inputs.
Global Namespace
Parameter
Argument
Blocks
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Allow parameters to have a pre-determined value in case there is no argument passed into the function or if the argument is undefined when called.
Global Namespace
Parameter
Argument
Default Parameters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A reusable block of code that groups together a sequence of statements to perform a specific task.
Function
Identifier
Argument
Blocks
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
12 CSC ATAR - programming skills and concepts
Quiz
•
12th Grade
20 questions
Python Functions and Error Handling
Quiz
•
10th Grade - University
23 questions
Python Functions
Quiz
•
12th Grade
21 questions
AP CSP Unit 5 Ch 1 Quiz
Quiz
•
9th - 12th Grade
15 questions
TN +2 LESSON 3 - SCOPING
Quiz
•
12th Grade
20 questions
Python Functions
Quiz
•
9th Grade
20 questions
Arduino Basics
Quiz
•
9th - 12th Grade
15 questions
Java Methods Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)
Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS
Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
20 questions
Multiplication Facts
Quiz
•
3rd Grade
17 questions
MIXED Factoring Review
Quiz
•
KG - University
10 questions
Laws of Exponents
Quiz
•
9th Grade
10 questions
Characterization
Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions
Quiz
•
6th Grade
