Please enable JavaScript to use CodeHS

APCSP20: AAP-2.O.3

CodeHS Lessons

The exam reference sheet provides FOR EACH item IN aList { <block of statements> } The variable item is assigned the value of each element of aList sequentially, in order from the first element to the last element. The code in block of statements is executed once for each assignment of item.

Standard
7.7 Removing an Element From an Array
Standard
7.7 Removing an Element From an Array
Standard
7.7 Removing an Element From an Array
Standard
6.7 Removing an Element From an Array
Standard
6.7 Removing an Element From an Array
Standard
4.7 Removing an Element From an Array
Standard
5.4 List Methods
Standard
6.3 Looping Through Arrays
6.4 Finding an Element in an Array