Programming for the Puzzled: Learn to Program While Solving Puzzles (Mit Press)
Language: English
Published by The MIT Press, 2017
- Softcover
- New

Seller: Bellwetherbooks, McKeesport, PA, U.S.A.Bellwetherbooks
AbeBooks seller since April 17, 2007
Condition: New
US$ 18.51
Quantity: 1 available
Add to basketSeller Inventory # IN-mon0000038331
- Title
- Programming for the Puzzled: Learn to Program While Solving Puzzles (Mit Press)
- Author
- Devadas, Srini
- Publisher
- The MIT Press
- Publication year
- 2017
- Condition
- New
- Binding
- paperback
- Language
- English
- ISBN 10
- 0262534304
- ISBN 13
- 9780262534307
This book builds a bridge between the recreational world of algorithmic puzzles (puzzles that can be solved by algorithms) and the pragmatic world of computer programming, teaching readers to program while solving puzzles. Few introductory students want to program for programming's sake. Puzzles are real-world applications that are attention grabbing, intriguing, and easy to describe.
Each lesson starts with the description of a puzzle. After a failed attempt or two at solving the puzzle, the reader arrives at an Aha! moment—a search strategy, data structure, or mathematical fact—and the solution presents itself. The solution to the puzzle becomes the specification of the code to be written. Readers will thus know what the code is supposed to do before seeing the code itself. This represents a pedagogical philosophy that decouples understanding the functionality of the code from understanding programming language syntax and semantics. Python syntax and semantics required to understand the code are explained as needed for each puzzle.
Readers need only the rudimentary grasp of programming concepts that can be obtained from introductory or AP computer science classes in high school. The book includes more than twenty puzzles and more than seventy programming exercises that vary in difficulty. Many of the puzzles are well known and have appeared in publications and on websites in many variations. They range from scheduling selfie time with celebrities to solving Sudoku problems in seconds to verifying the six degrees of separation hypothesis. The code for selected puzzle solutions is downloadable from the book's website; the code for all puzzle solutions is available to instructors.
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Bellwetherbooks
McKeesport, PA, U.S.A.
AbeBooks seller since April 17, 2007
Shipping rates within U.S.A.
| Item | 2 to 6 business days | 1 to 3 business days |
|---|---|---|
| First item | US$ 3.95 | US$ 7.99 |
Payment methods
Specialty
all categories, Publisher returnsSeller's business information
Marhoefer Roberts LLC
525 Academy Ave
Sewickley, PA U.S.A. 15143
Terms of sale
Payment through Abe Books only.
Legal Entity: US Registered S.Corp
Marhoefer Roberts
dba Bellwetherbooks
3200 Walnut St
McKeesport, PA USA
Contact: Michael Como sales@bellwetherbooks.net
Shipping terms
Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.