Please enable JavaScript to use CodeHS

IB Computer Science Higher Level (Year One) (2021)

ArrayList

Students learn about the limitations of arrays, and are introduced to a new data structure - ArrayLists. Students are asked to compare the two data structures and implement programs that utilize each.

Lessons

13.1 ArrayList

  • ArrayLists
  • Quiz: ArrayList
  • Initializing an ArrayList
  • Array vs. ArrayList Initialization
  • Arrays vs. ArrayLists
  • +2 more

13.2 ArrayList Methods

  • ArrayLists Methods
  • Quiz: ArrayList Methods
  • ArrayList and Java Primitives
  • ArrayList Methods
  • Array vs. ArrayList Methods
  • +4 more

13.3 Traversing ArrayLists

  • Traversing ArrayLists
  • Quiz: Traversing Arrays
  • Reading List
  • While Loop ArrayList Traversal
  • ArrayList Traversing Error
  • +3 more

13.4 Developing Algorithms using ArrayLists

  • Developing Algorithms Using ArrayLists
  • Quiz: Developing Algorithms
  • Traversing ArrayLists Simultaneously
  • Inserting Elements While Traversing ArrayLists
  • ArrayList equals
  • +3 more

13.5 Searching

  • Linear Search
  • Quiz: Linear Search
  • Linear Search
  • Linear Search on ArrayList with While Loop
  • Fantasy Football Roster
  • +1 more

13.6 Sorting

  • Selection Sort
  • Selection Sort
  • Selection Sort
  • Explore Selection Sort
  • Insertion Sort
  • +7 more

13.7 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

13.8 ArrayList Quiz

  • ArrayList Quiz