AP Computer Science Principles

123456789101112
Across
  1. 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.
  2. 3. The robot rotates in place 90 degrees clockwise (i.e., makes an in place right turn) (Pg 6).
  3. 5. The robot moves one square forward in the direction it is facing. (Pg 5).
  4. 8. Evaluates to true if both condition1 and condition2 are true; otherwise evaluates to false.
  5. 10. Evaluates to the number of elements in aList (Pg 4).
  6. 11. Evaluates to true if condition is false; otherwise evaluates to false.
  7. 12. Displays the value of expression, followed by a space.
Down
  1. 1. The robot rotates in place 90 degrees counterclockwise (i.e., makes an in-place left turn) (Pg 5).
  2. 4. Accepts a value from the user and returns the input value.
  3. 6. Generates and returns a random integer from a to b, including a and b. Each result is equally likely to occur
  4. 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).
  5. 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).