Skip navigation
Hardcover | $55.00 X | £45.95 | 328 pp. | 7 x 9 in | 139 b&w illus. | January 2012 | ISBN: 9780262016995
Paperback | $30.00 X | £24.95 | 328 pp. | 7 x 9 in | 139 b&w illus. | August 2017 | ISBN: 9780262534741
eBook | $30.00 X | January 2012 | ISBN: 9780262302180
Mouseover for Online Attention Data

Thinking as Computation

A First Course


This book guides students through an exploration of the idea that thinking might be understood as a form of computation. Students make the connection between thinking and computing by learning to write computer programs for a variety of tasks that require thought, including solving puzzles, understanding natural language, recognizing objects in visual scenes, planning courses of action, and playing strategic games. The material is presented with minimal technicalities and is accessible to undergraduate students with no specialized knowledge or technical background beyond high school mathematics. Students use Prolog (without having to learn algorithms: “Prolog without tears!”), learning to express what they need as a Prolog program and letting Prolog search for answers.

After an introduction to the basic concepts, Thinking as Computation offers three chapters on Prolog, covering back-chaining, programs and queries, and how to write the sorts of Prolog programs used in the book. The book follows this with case studies of tasks that appear to require thought, then looks beyond Prolog to consider learning, explaining, and propositional reasoning. Most of the chapters conclude with short bibliographic notes and exercises. The book is based on a popular course at the University of Toronto and can be used in a variety of classroom contexts, by students ranging from first-year liberal arts undergraduates to more technically advanced computer science students.

About the Author

Hector J. Levesque is Professor Emeritus in the Department of Computer Science at the University of Toronto. He is the author of Common Sense, the Turing Test, and the Quest for Real AI, coauthor (with Gerhard Lakemeyer) of The Logic of Knowledge Bases, and coeditor (with Ronald J. Brachman) of Knowledge Representation and Reasoning, all three published by the MIT Press.


“A valuable resource for faculty in search of interesting course content for first-year undergraduates.”—Choice


Selected as a Best of 2012 by Computing Reviews