Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Collie)

Extension: Arrays

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

Lessons

23.1 Intro to Arrays

  • Intro to Arrays
  • When to Use Arrays?
  • Intro to Arrays Quiz
  • Array Basics
  • Exploration: A Boxy Array
  • +2 more

23.2 Adding & Removing from an Array

  • Adding & Removing from an Array
  • Adding & Removing from an Array Quiz
  • A Note About Arrays as Parameters
  • Temperature Array
  • Exploration: Creating a To-Do List
  • +2 more

23.3 Iterating Through an Array

  • Iterate Through an Array
  • Iterate Through an Array Quiz
  • Print Shopping Lists
  • Test Average
  • Reverse List
  • +3 more

23.4 Array Iteration with Graphics

  • Array Iteration with Graphics
  • Array Iteration with Graphics Quiz
  • Snow Storm
  • Exploration: Changing Properties
  • Draw a Barcode
  • +2 more

23.5 Array Methods

  • Array Methods
  • Email List
  • Weekly Temperatures
  • Splitting Up Tasks
  • Mutual Friends
  • +1 more