Please enable JavaScript to use CodeHS

Indiana Introduction to Computer Science

Data Structures

We introduce lists/arrays, maps/objects, sets, and grids. These are the essential basic data structures that any program will use.

Lessons

33.1 Intro to Lists/Arrays

  • Intro to Lists/Arrays
  • Intro to Lists/Arrays Quiz
  • Making an Array
  • List of Places to Travel
  • List of Even Numbers

33.2 Indexing Into an Array

  • Indexing Into an Array
  • Indexing into an Array Quiz
  • Array Indexing Practice
  • Top Websites

33.3 Adding/Removing From an Array

  • Adding/Removing From an Array
  • Adding/Removing from an Array Quiz
  • Add/Remove From Array
  • Practice Push and Pop

33.4 Array Length and Looping Through Arrays

  • Array Length and Looping Through Arrays
  • Array Length and Looping Through Arrays Quiz
  • Print Shopping List
  • Sum Array
  • Product of List
  • +4 more

33.5 Iterating Over an Array

  • Examples: Iterating Over an Array
  • Iterating Over an Array Quiz
  • Coin Flips
  • Many Crazy Balls
  • Coin Flip Fun: Number of Heads and Tails
  • +3 more

33.6 Finding an Element in a List

  • Finding an Element in a List
  • Finding an Element in a List Quiz
  • Array indexOf
  • Who is in Line?

33.7 Removing an Element From an Array

  • Removing an Element From an Array
  • Removing an Element from an Array Quiz
  • Splice and Remove
  • Remove From Line

33.8 Intro to Objects/Maps

  • Intro to Objects/Maps
  • Intro to Objects / Maps Quiz
  • Phonebook
  • Sidekicks

33.9 Basics of Objects

  • Basics of Objects
  • Basics of Objects Quiz
  • Object Literal Phonebook
  • Object Property Phonebook
  • Beware Dot Notation!
  • +1 more

33.10 Iterating Over an Object

  • Iterating Over An Object
  • Iterating over an Object Quiz
  • Print Phonebook
  • Hogwarts

33.11 When Do I Use an Object?

  • When Do I Use An Object?
  • When do I use an Object Quiz
  • Facebook Friend Lists
  • Does the Key Exist?
  • Text Messages

33.12 Intro to Sets

  • Intro to Sets
  • Intro to Sets Quiz
  • Basic Sets
  • Vowels
  • Mutual Friends
  • +1 more

33.13 Intro to Grids

  • Intro to Grids
  • Intro to Grids Quiz
  • Grid Basics

33.14 Looping Over a Grid

  • Looping Over a Grid
  • Looping Over a Grid Quiz
  • Print Grid
  • Summing Grid

33.15 Grid Example: Get a Row

  • Grid Example: Get a Row
  • Grid Example: Get a Row Quiz
  • Get a Row
  • Grid Diagonal
  • Data Structures Exercises Badge

33.16 Data Structures Challenges

  • Watercolor Grid
  • Moving Scene
  • Data Structures Unit Quiz
  • Data Structures Challenges Badge

Courses that include this module