CSP Unit 6 Review

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

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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.
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 Wayground
17 questions
AP CSP Unit 3 Review

Flashcard
•
12th Grade
19 questions
HTML, CSS, Javascript

Flashcard
•
11th - 12th Grade
20 questions
Python Sem. Review P1

Flashcard
•
11th Grade
19 questions
AP CSP Unit 5 Review: Lists, Loops and Traversals

Flashcard
•
9th - 12th Grade
20 questions
Monolith

Flashcard
•
University
20 questions
Scratch Programming

Flashcard
•
KG
20 questions
Python Pygame

Flashcard
•
12th Grade
15 questions
Commas in lists, address, letters, and dates

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade