Please enable JavaScript to use CodeHS

Tennessee Coding II

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

6.1 Ethical and Social Issues Around Data Collection

  • Data and Data Privacy
  • Data Breach Current Events
  • Exploration: Encapsulation and Secure Coding
  • Modify: Encapsulation and Secure Coding
  • Data Quality and Bias
  • +3 more

6.2 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

6.3 Array Creation and Access

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

6.4 Array Traversals

  • Array Traversals
  • Exploration: Two Traversals
  • Array Traversals
  • Debugging: Multiples
  • Warehouse Inventory
  • +2 more

6.5 Implementing Array Algorithms

  • Implementing Array Algorithms
  • Exam Grades
  • Reordering an Array
  • Reverse the Playlist
  • Finding Duplicates
  • +1 more

6.6 Using Text Files

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

6.7 Wrapper Classes

  • Wrapper Classes
  • Exploration: Gym Lifts
  • Wrapper Class Utility Methods
  • Debugging: Zoo Weights
  • Wrapper Classes
  • +3 more

6.8 ArrayList Methods

  • Introduction to ArrayLists
  • ArrayList Methods
  • Exploration: ArrayList Methods add, size, remove
  • Exploration: ArrayList Methods get and set
  • Debugging: Music Playlist
  • +4 more

6.9 ArrayList Traversals

  • ArrayList Traversals
  • Grocery Store
  • Exploration: Backwards vs. Forwards
  • Debugging: Task Manager
  • ArrayList Traversals
  • +4 more

6.10 Implementing ArrayList Algorithms

  • Developing Algorithms Using ArrayLists Introduction
  • Traversing ArrayLists Simultaneously Code Tracing
  • Exploration: Numerical ArrayList Algorithms
  • Modify: Numerical ArrayList Algorithms
  • Exploration: String ArrayList Algorithms
  • +4 more

6.11 Searching Algorithms

  • Searching Algorithms
  • Search the Fruit Array
  • Exploration: Forward and Reverse Search
  • Search the 2D Roster Array
  • Linear Search
  • +2 more

6.12 Sorting Algorithms

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

6.13 Data Collections Quiz

  • Unit Quiz: Data Collections

Courses that include this module