A variable whose scope is covers the whole program, it can be used and updated by any part of the code. Its scope is typically derived from the variable being declared (created) outside of any function, object, or method.
CSP Unit 6 Review

Flashcard
•
Computers
•
12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Global Variable
2.
FLASHCARD QUESTION
Front
A variable that can only be seen, used and updated by code within the same scope. Typically this means it was declared (created) inside a function -- includes function parameter variables.
Back
Local Variable
3.
FLASHCARD QUESTION
Front
Which program will result in filteredFruites only containing the fruits that cost more than $1? Options: Variable Scope, Global Variable, Expression, Local Variable
Back
4.
FLASHCARD QUESTION
Front
Typically used when joining together text in programming (e.g. "Hello, "+name)
Back
Concatenate
5.
FLASHCARD QUESTION
Front
//Consider the following code
var animal = "monkey";
console.log(animal.substring(0,3) + "ey");
//What will be printed out in the console?
Back
"money"
6.
FLASHCARD QUESTION
Front
array = [1,2,3,4,5]
What is the length of this array?
Back
5
7.
FLASHCARD QUESTION
Front
a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.
Back
Iteration
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
20 questions
Unit 5 Flashcard - Loops & Lists (code.org)

Flashcard
•
10th - 12th Grade
20 questions
Unit 4: Variables, Conditionals, and Functions (Code.org)

Flashcard
•
11th Grade
22 questions
Review JavaScript

Flashcard
•
11th Grade - University
16 questions
3.6 Debugging and Problem Solving Flashcard

Flashcard
•
12th Grade
14 questions
AP CS ArrayLists

Flashcard
•
12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
15 questions
Central Tendency

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade