Please enable JavaScript to use CodeHS

APCSP20: AAP-3.C.2

CodeHS Lessons

The exam reference sheet provides PROCEDURE procName(parameter1, parameter2, …) { <block of statements> RETURN(expression) } that is used to define a procedure that takes zero or more arguments. The procedure contains block of statements and returns the value of expression. The RETURN statement may appear at any point inside the procedure and causes an immediate return from the procedure back to the calling statement.

Standard
5.4 Functions and Return Values 1
7.7 Removing an Element From an Array
Standard
5.4 Functions and Return Values 1
7.4 List Methods
Standard
5.4 Functions and Return Values 1
7.7 Removing an Element From an Array
Standard
5.4 Functions and Return Values 1
7.7 Removing an Element From an Array
Standard
4.4 Functions and Return Values 1
6.7 Removing an Element From an Array
Standard
4.4 Functions and Return Values 1
6.7 Removing an Element From an Array
Standard
4.7 Removing an Element From an Array
Standard
4.4 Functions and Return Values 1
6.4 List Methods
Standard
4.2 Parameters
6.3 Looping Through Arrays