Computer Science from Scratch

Building Interpreters, Art, Emulators and ML in Python

Af David Kopec
Detaljer No Starch Press, Incorporated
ISBN 9781718504301
Sprog Engelsk
Vælg mellem
Pris 581,00 kr.
Paperback

På lager i 1 butik –

Bestil nu og få den leveret inden for 2-3 hverdage

Computer science can feel unapproachable for those without a formal CS education. Fun Computer Science Projects in Python pulls back that curtain, illuminating several foundational CS concepts through creative, hands-on projects. Each of the 7 projects is presented in a code-centric tutorial that gently introduces topics like interpreters, emulators, and machine learning without getting bogged down by complex theory. The projects showcase advanced Python language features and clean code principles while exploring interesting algorithms. Chapters conclude with discussions of real-world applications of the topic and proposed exercises to extend the reader's skills. Covers Python 3.x

Introduction
Part I: Interpreters
Chapter 1: The Smallest Possible Programming Language
Chapter 2: Writing a BASIC Interpreter
Part II: Computational Art
Chapter 3: Retro Image Processing
Chapter 4: A Stochastic Painting Algorithm
Part III: Emulators
Chapter 5: Building a CHIP-8 Virtual Machine
Chapter 6: Emulating the NES Game Console
Part IV: Super Simple Machine Learning
Chapter 7: Classification with K-Nearest Neighbors
Chapter 8: Regression with K-Nearest Neighbors Afterword Appendix: Bitwise Operations