Please enable JavaScript to use CodeHS

Arkansas Software Development

Data Collections

Students learn how to work with collections of data using arrays, ArrayList objects, and 2D arrays. They develop and analyze algorithms that involve searching, sorting, traversing, and manipulating elements in these structures. Students also explore reading data from text files and using wrapper classes to convert between primitive types and objects.

Lessons

5.1 Introduction to Using Data Sets

  • Intro to Using Data Sets
  • FitBit Data Set: Sleep Analysis Algorithm
  • Everyday Life Data Set: Data Collection
  • Everyday Life Data Set: Algorithm

5.2 Array Creation and Access

  • Array Creation and Access
  • Exploration: Array Creation
  • Array Creation
  • City Stats
  • Using an Array as an Instance Variable
  • +1 more

5.3 Array Traversals

  • Array Traversals
  • Array Traversals
  • Warehouse Inventory
  • Array Average

5.4 Implementing Array Algorithms

  • Implementing Array Algorithms
  • Exam Grades
  • Reordering an Array
  • Developing Algorithms Using Arrays

5.5 Using Text Files

  • Using Text Files
  • Read in a Haiku
  • Try-Catch with IO Exception
  • Exploration: Reading Files and Arrays
  • Exploration: Split Method
  • +2 more

5.6 Exceptions

  • Exceptions and Error Handling
  • Make the Parser Robust
  • Logging and Defensive Messages

5.7 Wrapper Classes

  • Wrapper Classes
  • Exploration: Gym Lifts
  • Wrapper Class Utility Methods
  • Wrapper Classes

5.8 ArrayList Methods

  • Introduction to ArrayLists
  • ArrayList Methods
  • Exploration: ArrayList Methods add, size, remove
  • ArrayList
  • Teacher Class List
  • +1 more

5.9 ArrayList Traversals

  • ArrayList Traversals
  • Grocery Store
  • ArrayList Traversals
  • Finding the Max
  • Traversing Odds

5.10 Implementing ArrayList Algorithms

  • Developing Algorithms Using ArrayLists Introduction
  • Traversing ArrayLists Simultaneously Code Tracing
  • Developing Algorithms
  • Data Cleanup

5.11 HashMaps

  • HashMaps
  • Word Counts / ID Lookup
  • Pick the Right Collection

5.12 Stacks and Queues

  • Stacks and Queues
  • Undo Feature

5.13 Searching Algorithms

  • Searching Algorithms
  • Search the Fruit Array
  • Linear Search
  • Fantasy Football Roster

5.14 Sorting Algorithms

  • Selection Sort
  • Selection Sort Simulation
  • Exploration: Selection Sort
  • Selection Sort
  • Insertion Sort
  • +8 more

5.15 Recursion

  • Recursion and Tree Diagram Tracing
  • Summing with Recursion
  • Tracing Recursion: Factorial
  • Factorial Recursion
  • Tracing Recursion: Trace Tables
  • +7 more

5.16 Recursive Searching and Sorting

  • Recursive Searching
  • Binary vs Linear
  • Exploration: Recursive Binary
  • Predict the Code: Binary Recursive Searches
  • Recursive Searching
  • +5 more

5.17 Module 5 Quiz

  • Module 5 Quiz

Courses that include this module