16.1. Working with Collections of DataΒΆ

Learning Objectives:

Computers can work with more than just single values like 34.2 or single words like Hi. They can also store large collections of numbers and letters and other objects. To manipulate the data, computers really just use the first three abilities that we have discussed: the ability to name things, the ability to repeat instructions, and the ability to make decisions. That means that computers have to be able to get single values out of those collections of data, and put single values back into them.

The rest of this chapter will give examples of using two data collections: strings and lists.


Discuss topics in this section with classmates.

Show Comments
You have attempted of activities on this page