Programming for the Puzzled : Learn to Program While Solving Puzzles

Regular price
Unit price
per

Solve puzzles whilst unraveling coding concepts.

If the routine of traditional coding books hasn't hooked you, "Programming for the Puzzled" might just do the trick. It cleverly weaves algorithmic puzzles into learning how to program, making each coding concept a key to the next tantalizing brain-teaser. Instead of plowing through dry examples, you'll find yourself eager to crack each puzzle while simultaneously picking up Python. Plus, you don't need to be a computer science major; a high school level understanding will have you sailing through the chapters.

Note: While we do our best to ensure the accuracy of cover images, ISBNs may at times be reused for different editions of the same title which may hence appear as a different cover.

Programming for the Puzzled : Learn to Program While Solving Puzzles

Regular price
Unit price
per
Condition guide

Save 10% On This Item as a Thryft Club Member

Join Thryft Club for S$30/year and enjoy 10% off everything, plus S$10 off your first order. Join now →

ISBN: 9780262534307
Authors: Srinivas Devadas
Publisher: The MIT Press
Date of Publication: 2017-11-03
Format: Paperback
Related Collections: Science, Personal Development
Goodreads rating: 4.6
(rated by 5 readers)

Description

Learning programming with one of “the coolest applications around”: algorithmic puzzles ranging from scheduling selfie time to verifying the six degrees of separation hypothesis. 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.
 

Solve puzzles whilst unraveling coding concepts.

If the routine of traditional coding books hasn't hooked you, "Programming for the Puzzled" might just do the trick. It cleverly weaves algorithmic puzzles into learning how to program, making each coding concept a key to the next tantalizing brain-teaser. Instead of plowing through dry examples, you'll find yourself eager to crack each puzzle while simultaneously picking up Python. Plus, you don't need to be a computer science major; a high school level understanding will have you sailing through the chapters.

Note: While we do our best to ensure the accuracy of cover images, ISBNs may at times be reused for different editions of the same title which may hence appear as a different cover.