What is Iteration?
Iteration: a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.
What is the difference between an element and an index?
index- place of value
element- data/ information at index
What is a Traversal?
Traversal: the process of accessing each item in a list one at a time
Another word for a procedure?
Function
What does concatenating mean?
The word CONCATENATE means to join or combine.
What is the difference between a while lop and a for loop?
The major difference between for loop and the while loop is that for loop is used when the number of iterations is known, whereas execution is done in the while loop until the statement in the program is proved wrong.
Additional data is given for a for loop
What does .substring do?
The .substring method returns the part of the string from the start index up to and excluding the end index, or to the end of the string if no end index is supplied.
substring just requests a section of the string
SURPRISE QUESTION:
For the AP CSP Exam, the list index starts at_____
1
The 3 types of algorithms are
-Sequential
-Selection
-Iterative
Being able to add or remove resources to store large data sets is called
Scalability is adding or removing resources to store and process large datasets.
For every student in the class, if your group is the first to raise ALL your ducks in the air, you win this question. If not, sorry
CONGRATS!!!
var numbersList = [20, 10, 5] appendItem(numbersList, 50) appendItem(numbersList,100) removeItem(numbersList,1) insertItem(numbersList, 0, 30) console.log(numbersList.length)
If the program above is run, what will be displayed in the console?
5
If the variable name has the value "Hannah", what is the value if we take the substring of name starting at position 3 and going to the end?
"Nah"
What is/ are used to determine whether code should be run for both "IF" statements and "REPEAT UNTIL" LOOPS?
CONDITIONAL
How do the World Wide Web and the Internet work together?
The internet is the network while the WWW is one service that is made available via the internet.
What will the following program display in the console?
for(var i = 0; i < 4; i++){
console.log(i);
}
0 1 2 3
wordList is a list of words that currently contains the values ["tree", "rock", "air"]
Which of the following lines will result in the list containing the values ["air", "rock", "air"]
wordList[0] = wordList[2]
A program is designed to determine the minimum value in a list of positive numbers called numList. The following program was written: 
Which of the following can be used to replace <MISSING CODE> so that the program works as intended for every possible list of positive numbers?
numList[0]
Explanation: You should set the initial value inside the "minimum" variable to a value that is in the list.
Another name for a List
Array
What is 214 in binary?
1101 0110
Which of the following will result in ONLY all the items in list being printed to the console if placed where the program reads <INSERT CODE> & the program is run 
i < list.length
Collegeboard Rules
var numList = [10,20,30];
console.log(numList[numList.length-1]);
If the program above is run, what will be displayed in the console?
20

If the program above is run, what will be displayed in the console?
[bug, car, ear]
How are procedures a form of abstraction?
Can be used multiple times without exactly knowing how it works
A mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value
Logic error