The Computer Science Book
$29.00
Minimum price
$29.00
Suggested price

The Computer Science Book

A complete introduction to computer science in one book

About the Book

Learning computer science is difficult. Things are even tougher if you’re learning by yourself. This book is trying to change that.

When I started my first real programming job, fresh from a bootcamp, I was crushingly aware of how little I knew. Worse than that, I was constantly reminded of how much I didn’t even realise that I didn’t know. Well-meaning colleagues would casually mention some concept or convention that I’d simply never heard of.

The obvious thing to do is to study computer science. But how do you study computer science if a four year degree isn’t an option? Where should you start? How do you chart your way through the whole of computer science, studying topics in the right order? Which of the many classic textbooks should you read?

After years of study, I’ve written a book that will make computer science easy. Ten concise chapters covering each of the major areas will give you a comprehensive introduction to the fundamentals and guide you towards the best resources for further study. We’ll cover everything you need to be an effective developer. You’ll understand how everything fits together, be confident of what you know and, even more importantly, be aware of what you don’t know. Each chapter functions as both a standalone introduction and a primer for further, independent study.

About the Author

Tom Johnson
Tom Johnson

Hi, I'm Tom! I'm a working developer who has spent years learning the fundamentals of computer science. If you want to reach the next level as a developer read The Computer Science Book, a complete introduction to computer science in one book.

Reader Testimonials

Adrian Booth
Adrian Booth

This book is an essential read for anyone who felt they missed out on a computer science education, but also is a great reference guide for graduates. Tom distils each topic beautifully and succinctly, making it an overall joy to read where you're provided just enough information on a topic to leave you craving more. It's choc full of references to guide you in exploring each topic in more detail and contains many visual aids which assist you along the way

John Whiles
John Whiles

I read this book to get an overview of computer science. I'm a working programmer, but I lacked some of the knowledge that would help me progress in my career. This book covers the topics I lacked confidence in. I now feel like I can understand discussions about topics like algorithmic complexity, compilers, networking and more. If I need to go deeper, I now have a solid base to work from. I’ve been able to apply some of the content to my day to day work

Table of Contents

  • Introduction
  • Theory of computation
    • Introduction
    • Automata theory
    • Computability
    • Algorithmic complexity
    • Conclusion
    • Further reading
  • Algorithms and data structures
    • Introduction
    • Data structures
    • Abstract data types
    • Algorithms
    • Conclusion
    • Further reading
  • Computer architecture
    • Introduction
    • Representing information
    • Circuits and computation
    • The processor
    • Memory
    • Performance optimisations
    • Conclusion
    • Further reading
  • Operating systems
    • Introduction
    • Common operating systems
    • The boot process
    • Interrupts: hardware support for software
    • The kernel
    • Managing the processor
    • Managing memory
    • Managing persistence
    • Conclusion
    • Further reading
  • Networking
    • Introduction
    • What is a network?
    • The networking stack model
    • The Internet Protocol
    • Transmission Control Protocol
    • Internet addressing and DNS
    • The web, hypertext and HTTP
    • Conclusion
    • Further reading
  • Concurrent programming
    • Introduction
    • Concurrency, parallelism and asynchrony
    • Determinacy and state
    • Threads and locks
    • JavaScript and the event loop
    • Communicating sequential processes in Go
    • Conclusion
    • Further reading
  • Distributed systems
    • Introduction
    • Why we need distributed systems
    • A theoretical model
    • Handling network partitions: the CAP theorem
    • Consistency models
    • Consistency protocols
    • Conclusion
    • Further reading
  • Programming languages
    • Introduction
    • Defining a programming language
    • Programming language concepts
    • Programming paradigms
    • Type systems
    • Conclusion
    • Further reading
  • Databases
    • Introduction
    • What does a database offer?
    • Relational algebra and SQL
    • Database architecture
    • B-trees
    • Indexes
    • Concurrency control in SQLite and Postgres
    • Conclusion
    • Further reading
  • Compilers
    • Introduction
    • Compilation and interpretation
    • The program life-cycle
    • Building a compiler
    • Who to trust?
    • Conclusion
    • Further reading

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub