Programming for the Puzzled

Programming for the Puzzled
Author :
Publisher : MIT Press
Total Pages : 273
Release :
ISBN-10 : 9780262343190
ISBN-13 : 0262343193
Rating : 4/5 (193 Downloads)

Book Synopsis Programming for the Puzzled by : Srini Devadas

Download or read book Programming for the Puzzled written by Srini Devadas and published by MIT Press. This book was released on 2017-11-16 with total page 273 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Programming for the Puzzled Related Books

Programming for the Puzzled
Language: en
Pages: 273
Authors: Srini Devadas
Categories: Computers
Type: BOOK - Published: 2017-11-16 - Publisher: MIT Press

DOWNLOAD EBOOK

Learning programming with one of “the coolest applications around”: algorithmic puzzles ranging from scheduling selfie time to verifying the six degrees of
Algorithmic Puzzles
Language: en
Pages: 280
Authors: Anany Levitin
Categories: Computers
Type: BOOK - Published: 2011-10-14 - Publisher: OUP USA

DOWNLOAD EBOOK

Algorithmic puzzles are puzzles involving well-defined procedures for solving problems. This book will provide an enjoyable and accessible introduction to algor
Puzzle Baron's Logic Puzzles
Language: en
Pages: 0
Authors: Puzzle Baron
Categories: Games & Activities
Type: BOOK - Published: 2010-08-03 - Publisher: National Geographic Books

DOWNLOAD EBOOK

Get your brain working with 200 grid-based logic puzzles from the Puzzle Baron! Filled with complex and fun brain teasers that range in difficulty, this book wi
Games, Puzzles, and Computation
Language: en
Pages: 242
Authors: Robert A. Hearn
Categories: Mathematics
Type: BOOK - Published: 2009-06-30 - Publisher: CRC Press

DOWNLOAD EBOOK

The authors show that there are underlying mathematical reasons for why games and puzzles are challenging (and perhaps why they are so much fun). They also show
A Complete eBook of Puzzles & Seating Arrangement (Second English Edition)
Language: en
Pages: 438
Authors: Adda247 Publications
Categories: Young Adult Nonfiction
Type: BOOK - Published: 2020-10-15 - Publisher: Adda247 Publications

DOWNLOAD EBOOK

ADDA 247 has been consistently working to make the word “SUCCESS” a true companion to all the banking aspirants. As the year 2020 has just marked its presen