Please enable JavaScript to use CodeHS

Chapter 4

Basic Data Structures

4.10 Intro to Sets

Creating a New Set

Adding to a Set

Removing from a Set

Finding the Size of a Set

Searching the Set

Basic Sets

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Vowels


Term Definition
Set A data structure that stores values in no particular order. Each value can only appear once in the set.