Computer Science Logo Style volume 2: Advanced Techniques 2/e Copyright (C) 1997 MIT

Computer Science Logo Style
Volume 2: Advanced Techniques

Brian Harvey
University of California, Berkeley

Volume 1: Symbolic Computing
Volume 3: Beyond Programming
Download Berkeley Logo (UCBLogo)
Brian's home page
     MIT Press web page for Computer Science Logo Style


Below this short table of contents is an expanded table of contents including sections within each chapter. Click on the chapter name to jump down. You can also download the complete text of each chapter in PDF format for elegant printing, or browse the HTML version.

Note: These books are still in copyright, and in print. They are posted here for your personal use, not for resale or redistribution. Thanks!

View this page in Romanian courtesy of azoft.


Preface

(frontmatter in PDF) (HTML)

Acknowledgments

(HTML)

1. Data Files

(PDF) (HTML)

2. Example: Finding File Differences

(PDF) (HTML)

This project is an implementation in Logo of the often-needed utility program to find the changes between two versions of a file.

3. Nonlocal Exit

(PDF) (HTML)

4. Example: Solitaire

(PDF) (HTML)

This project deals a simulated deck of cards and allows the user to play a game of solitaire. The program checks for legal moves and displays the board layout.

5. Program as Data

(PDF) (HTML)

6. Example: BASIC Compiler

(PDF) (HTML)

This project is a first look at what it means to compile a program. It's simplified because it translates BASIC programs into Logo, rather than into machine language. But it introduces the ideas that will return in more realistic form in the third volume.

7. Pattern Matcher

(PDF) (HTML)

This program looks for patterns in a list. It can be used, for example, to recognize particular types of English sentences.

8. Property Lists

(PDF) (HTML)

9. Example: Doctor

(PDF) (HTML)

This project uses the pattern matcher to carry out a conversation with the user, pretending to be a psychiatrist. It is a Logo version of a program originally written by Joseph Weizenbaum.

10. Iteration, Control Structures, Extensibility

(PDF) (HTML)

11. Example: Cryptographer's Helper

(PDF) (HTML)

This project is a tool to assist the user in solving cryptograms (simple substitution ciphers). It makes some guesses automatically, and records other guesses made by the user.

12. Macros

(PDF) (HTML)

13. Example: Fourier Series Plotter

(PDF) (HTML)

This program displays graphs of the Fourier (harmonics of sine waves) approximation to a square wave. It illustrates how harmonics are combined to control the timbres of notes in computer-generated music.

Appendices

(backmatter in PDF)

Berkeley Logo Reference Manual

(HTML)

Index of Defined Procedures

(HTML)

General Index

(HTML)

MIT Press web page for Computer Science Logo Style

Brian Harvey, bh@cs.berkeley.edu