AP Computer Science Principles
Across
- 2. Evaluates to true if condition1 is true or if condition2 is true or if both condition1 and condition2 are true; otherwise evaluates to false.
- 3. The robot rotates in place 90 degrees clockwise (i.e., makes an in place right turn) (Pg 6).
- 5. The robot moves one square forward in the direction it is facing. (Pg 5).
- 8. Evaluates to true if both condition1 and condition2 are true; otherwise evaluates to false.
- 10. Evaluates to the number of elements in aList (Pg 4).
- 11. Evaluates to true if condition is false; otherwise evaluates to false.
- 12. Displays the value of expression, followed by a space.
Down
- 1. The robot rotates in place 90 degrees counterclockwise (i.e., makes an in-place left turn) (Pg 5).
- 4. Accepts a value from the user and returns the input value.
- 6. Generates and returns a random integer from a to b, including a and b. Each result is equally likely to occur
- 7. Accesses the element of aList at index i. The first element of aList is at index 1 and is accessed using the notation aList[1] (Pg 3).
- 9. Removes the item at index i in aList and shifts to the left any values at indices greater than i. The length of aList is decreased by 1. (Pg 4).