Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-qsmjn Total loading time: 0 Render date: 2024-04-25T06:05:56.460Z Has data issue: false hasContentIssue false

13 - FOREST FOR THE TREES

Published online by Cambridge University Press:  05 June 2012

Thomas Dean
Affiliation:
Brown University, Rhode Island
Get access

Summary

Often when you're trying to solve a problem, you pull out a pen or pencil and grab a handy piece of paper to write down a column of numbers, draw a diagram, or make a list. In solving the problem, you might sum the numbers, trace lines in the diagram, or match items of the list with items of a second list. These auxiliary scribblings are used to organize information – as with the list or column of numbers – or represent objects so they can be easily manipulated – as with the diagram. Data structures are the algorithmic analog of these handy pieces of paper.

In Chapter 11 we saw that browsers and web servers in a computer network exchange information by bouncing small packages of data from one computer to another until they arrive at their final destination. How can we represent a computer network so that an algorithm can figure out what sequence of computers to use in transferring a data package? For that matter, how do we represent airline schedules, circuit diagrams, computer file systems, road maps and medical records so that they can be manipulated algorithmically?

Many algorithms use special data structures to represent their inputs and outputs or to perform intermediate calculations. In Chapter 7 we used lists and vectors to keep track of journal entries.

Type
Chapter
Information
Talking with Computers
Explorations in the Science and Technology of Computing
, pp. 213 - 236
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • FOREST FOR THE TREES
  • Thomas Dean, Brown University, Rhode Island
  • Book: Talking with Computers
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511816284.014
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • FOREST FOR THE TREES
  • Thomas Dean, Brown University, Rhode Island
  • Book: Talking with Computers
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511816284.014
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • FOREST FOR THE TREES
  • Thomas Dean, Brown University, Rhode Island
  • Book: Talking with Computers
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511816284.014
Available formats
×