4.3 2D Array

Skills

  1. Determine code that would be used to complete code segments.
  2. Determine code that would be used to interact with completed program code.
  3. Write program code to create, traverse, and manipulate elements in 2D array objects.
  4. Determine the result or output based on statement execution order in a code segment without method calls (other than output).
  5. Determine the number of times a code segment will execute.
  6. Write program code to create, traverse, and manipulate elements in 2D array objects.
  7. Use test-cases to find errors or validate results.

Essential Questions

  1. Why might you want to use a 2D array to store the spaces on a game board or the pixels in a picture, rather than a 1D array or ArrayList?
  2. Why does the order in which elements are accessed in 2D array traversal matter in some situations?

Key Terms

Quizlet

List

4.3 Challenge

    • Under development