Once Upon an Algorithm: How Stories Explain Computing
暫譯: 算法的故事:如何透過故事解釋計算機科學

Erwig, Martin

  • 出版商: Summit Valley Press
  • 出版日期: 2022-08-09
  • 售價: $1,250
  • 貴賓價: 9.5$1,188
  • 語言: 英文
  • 頁數: 332
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0262545292
  • ISBN-13: 9780262545297
  • 相關分類: Algorithms-data-structures
  • 海外代購書籍(需單獨結帳)

商品描述

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.

商品描述(中文翻譯)

**漢賽爾與葛蕾特、福爾摩斯、電影《土撥鼠之日》、哈利·波特及其他熟悉故事如何闡述計算的概念。**

想像一位電腦科學家,盯著螢幕,瘋狂地在鍵盤上點擊,駭入系統,或許正在開發一個應用程式。現在刪除這個畫面。在《Once Upon an Algorithm》中,馬丁·厄維格(Martin Erwig)解釋計算是一種超越電子計算機的過程,而電腦科學則是系統性解決問題的研究。厄維格指出,許多日常活動都涉及問題解決。例如,早上起床:你起床、洗澡、穿衣、吃早餐。這個簡單的日常例行公事通過一系列明確的步驟解決了一個反覆出現的問題。在電腦科學中,這樣的例行公事稱為演算法(algorithm)。

厄維格用日常生活和熟悉故事中的例子來說明計算中的一系列概念。例如,漢賽爾與葛蕾特執行一個演算法以從森林回家。電影《土撥鼠之日》闡述了不可解決性問題;福爾摩斯在破案時操作數據結構;哈利·波特的世界中的魔法通過類型和抽象來理解;而印地安那·瓊斯則展示了搜尋的複雜性。在這個過程中,厄維格還討論了表示法和組織數據的不同方式;「難以處理」(intractable)問題;語言、語法和歧義;控制結構、迴圈和停機問題;不同形式的遞迴;以及尋找演算法錯誤的規則。

這本引人入勝的書以易於理解的方式解釋計算,並展示其與日常生活的相關性。下次我們執行早上起床的演算法時,可以思考這些內容。

作者簡介

Martin Erwig is Professor of Computer Science in the School of Electrical Engineering and Computer Science at Oregon State University.

作者簡介(中文翻譯)

馬丁·厄維格(Martin Erwig)是俄勒岡州立大學電機工程與計算機科學學院的計算機科學教授。