Leanpub Header

Skip to main content

Inside the Machine

How Computers Really Work—from Bits and Logic to CPUs, Memory & Operating Systems

Inside the Machine

What really happens inside your computer?

A click seems simple.

A program opens.

A file loads.

A webpage appears.

But underneath that simple experience, billions of electronic components and thousands of layers of software are working together.

Inside the Machine takes you beneath the interface—from bits and logic gates to CPUs, memory, storage, operating systems, and applications.

Discover how information becomes computation, how processors execute instructions, how memory and caches keep data moving, how operating systems manage the machine, and how a computer goes from power-on to a running application.

Stop seeing the computer as a black box. Start seeing the machine.

Free With Membership

With Membership

Free!

$7.99

You pay

Author earns

Cause gets

$

Also available for 1 book credit with a Reader Membership

PDF
About

About

About the Book

Inside the Machine is designed for readers who want to understand computers beyond the level of applications and user interfaces.

It explains the foundations of modern computer systems without assuming that the reader is already a computer architecture specialist.

The book follows a logical progression:

Information → Bits → Representation → Logic → Circuits → Memory → CPU → Instructions → Programs → Performance → Storage → I/O → Operating Systems → Virtual Memory → Files → Applications → Complete System

Along the way, readers learn how apparently simple operations depend on many layers of hardware and software working together.

The book is particularly useful for:

  • Students learning computer science fundamentals
  • Beginning software engineers
  • Programmers who want stronger systems knowledge
  • IT professionals
  • Technology enthusiasts
  • Developers preparing to study operating systems or computer architecture
  • Readers who want to understand what happens beneath high-level programming languages

The emphasis is on concepts that remain useful across changing generations of hardware and software.

Table of Contents

Introduction — Understanding the Machine

Chapter 1 — From Information to Computation

Chapter 2 — Bits, Bytes & Binary

Chapter 3 — How Computers Represent Data

Chapter 4 — Boolean Logic & Digital Logic

Chapter 5 — Building Computation with Circuits

Chapter 6 — Memory: Where Data Lives

Chapter 7 — The CPU: The Brain of the Computer

Chapter 8 — Machine Instructions & Instruction Sets

Chapter 9 — How a Program Runs

Chapter 10 — Performance: Why Some Computers Are Faster

Chapter 11 — CPU Architecture & Modern Processors

Chapter 12 — Cache & the Memory Hierarchy

Chapter 13 — Storage: From Disks to Flash

Chapter 14 — Input, Output & Peripherals

Chapter 15 — Buses, Communication & Networking Inside Computers

Chapter 16 — The Operating System

Chapter 17 — Memory Management & Virtual Memory

Chapter 18 — Files, Programs & the Operating System

Chapter 19 — From Power Button to Running Application

Chapter 20 — The Modern Computer: Putting It All Together

Conclusion — Seeing the Machine Differently

Author

About the Author

Mohammad Kamrul Hassan

Mohammad Kamrul Hassan is an IT engineer, tech consultant, and writer specializing in global politics, information technology, and travel. A former student of Voronezh State University, Russia, he currently works as an IT engineer for a UK-based international organization and collaborates with several global technology firms. Driven by a lifelong passion for international socio-political realities and long-distance travel, his writing seamlessly blends technical depth with rich, analytical global storytelling.

Causes

Causes Supported

Free Software Foundation

Free Software Foundation FSF

http://www.fsf.org
The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom. We defend the rights of all software users.
As our society grows more dependent on computers, the software we run is of critical importance to securing the future of a free society. Free software is about having control over the technology we use in our homes, schools and businesses, where computers work for our individual and communal benefit, not for proprietary software companies or governments who might seek to restrict and monitor us.

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.

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 earned over $15 million writing, 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