Om denne bog

How Hansel and Gretel, Sherlock Holmes, the movie Groundhog Day, Harry Potter, and other familiar stories illustrate the concepts of computing.

Picture a computer scientist, staring at a screen and clicking away frantically on a keyboard, hacking into a system, or perhaps developing an app. Now delete that picture. In Once Upon an Algorithm, Martin Erwig explains computation as something that takes place beyond electronic computers, and computer science as the study of systematic problem solving. Erwig points out that many daily activities involve problem solving. Getting up in the morning, for example: You get up, take a shower, get dressed, eat breakfast. This simple daily routine solves a recurring problem through a series of well-defined steps. In computer science, such a routine is called an algorithm.

Erwig illustrates a series of concepts in computing with examples from daily life and familiar stories. Hansel and Gretel, for example, execute an algorithm to get home from the forest. The movie Groundhog Day illustrates the problem of unsolvability; Sherlock Holmes manipulates data structures when solving a crime; the magic in Harry Potter's world is understood through types and abstraction; and Indiana Jones demonstrates the complexity of searching. Along the way, Erwig also discusses representations and different ways to organize data; "intractable" problems; language, syntax, and ambiguity; control structures, loops, and the halting problem; different forms of recursion; and rules for finding errors in algorithms.

This engaging book explains computation accessibly and shows its relevance to daily life. Something to think about next time we execute the algorithm of getting up in the morning.

Kom i gang med denne bog i dag for 0 kr.

  • Få fuld adgang til alle bøger i appen i prøveperioden
  • Ingen forpligtelser, opsiges når som helst
Prøv gratis nu
Mere end 52.000 mennesker har givet Nextory fem stjerner i App Store og Google Play.

Andre læsere kunne også lide

Spring listen over
  1. The Archetype Effect : Unlocking The Six Types of Motivation at Work

    James Root

  2. #1

    A Tale of Two Realtors : How to Reverse Engineer a Thriving Hyper Local Real Estate Career (A Tale of Two Realtors Part 1)

    Charles O' Rourke

  3. 3.0

    Mom Genes : Inside The New Science of Our Ancient Maternal Instinct

    Abigail Tucker

  4. Personalized Immunotherapy for Tumor Diseases and Beyond

  5. 3.0

    Intelligent Leadership : What You Need to Know to Unlock Your Full Potential

    John Mattone

  6. The Smart but Scattered Guide to Success : How to Use Your Brain's Executive Skills to Keep Up, Stay Calm, and Get Organized at Work and at Home

    Peg Dawson EdD, Richard Guare PhD

  7. The Small Business Bible, 2E : Everything You Need to Know to Succeed in Your Small Business

    Steven D. Strauss

  8. The Advanced Roblox Coding Book: An Unofficial Guide, Updated Edition : Learn How to Script Games, Code Objects and Settings, and Create Your Own World!

    Heath Haskins

  9. Media Secrets : A Media Training Crash Course: Get More Publicity, Look & Feel Your Best AND Convert Interviews Into Web Traffic & Sales. Strategies for TV, Print, Radio & Internet Media

    Jess Todtfeld

  10. 4.3

    CEO Excellence : The Six Mindsets That Distinguish the Best Leaders from the Rest

    Carolyn Dewar, Scott Keller, Vikram Malhotra

  11. Unity 2017 Game AI Programming, Third Edition : Leverage the power of Artificial Intelligence to program smart entities for your games, 3rd Edition

    Raymundo Barrera

  12. 2.5

    Why Motivating People Doesn't Work...and What Does : The New Science of Leading, Energizing, and Engaging

    Susan Fowler