Please enable JavaScript to use CodeHS

Arizona Software and App Design II

Data Structures

Students learn basic data structures in Java including arrays, ArrayLists, 2 dimensional arrays and HashMaps.

Lessons

8.1 What are Data Structures?

  • What are Data Structures?
  • Quiz: Data Structures
  • Data Structures Everywhere

8.2 Introduction to Arrays

  • Introduction to Arrays
  • Quiz: Arrays
  • Making an Array
  • Make an Empty Array
  • Indexing Into an Array
  • +3 more

8.3 Using Arrays

  • Using Arrays
  • Quiz: Using Arrays
  • Iterating Over an Array
  • Sum Array
  • Array Out of Bounds
  • +9 more

8.4 Enhanced For Loops

  • Enhanced For Loops
  • Enhanced For Loop
  • Enhanced For Loop
  • Classroom Array
  • Updating Values in a Loop
  • +4 more

8.5 ArrayList Methods

  • ArrayLists
  • Quiz: ArrayList
  • Hello World ArrayList
  • ArrayList and Java Primitives
  • ArrayList Size Method
  • +5 more

8.6 Arrays vs ArrayLists

  • Arrays vs ArrayLists
  • Quiz: Arrays vs ArrayList
  • Expanding Array
  • Improving Expanding Array
  • Array vs ArrayList
  • +1 more

8.7 Additional Loop Examples

  • Additional Loop Examples
  • Additional Loop Examples
  • For and While Loops
  • ArrayList Traversing Error
  • Traversing ArrayLists Simultaneously
  • +3 more

8.8 The List Interface

  • The List Interface
  • The List Interface Quiz
  • Reverse the List
  • Summer Reading Short List

8.9 2D Arrays

  • 2D Arrays
  • Quiz: 2D Arrays
  • Nested Loops
  • Ice Cream Combos
  • First 2D Array
  • +4 more

8.10 Traversing 2D Arrays

  • Traversing 2D Arrays
  • Quiz: Traversing 2D Arrays
  • Traversing Gradebook
  • Linear Search 2D Arrays
  • Row vs. Column Major
  • +4 more

8.11 HashMaps

  • HashMaps
  • Quiz: HashMaps
  • The Phonebook
  • Arrays Vs HashMaps
  • Arrays Vs HashMaps Response
  • +4 more

8.12 Binary

  • Number Systems
  • Number Systems Quiz
  • Converting Octal to Decimal
  • Converting Binary to Decimal
  • Using Binary
  • +4 more

8.13 Ethical Issues Around Data Collection

  • Ethical Issues Around Data Collection
  • Ethical Issues Around Data Collection
  • The Curly Fry Conundrum
  • Reflection
  • Guidelines on Ethical Data Use
  • +2 more

8.14 Data Structures Quiz

  • Data Structures Quiz

Courses that include this module