cover

The Switch Recipe

What is data and how is it measured?
Data. The word shows up everywhere โ€” your phone is full of it, scientists collect it, computers eat it for breakfast. ~~

Data. The word shows up everywhere โ€” your phone is full of it, scientists collect it, computers eat it for breakfast. But what actually IS this stuff? And why does everyone measure it in bytes and gigabytes like it's flour in a recipe?

~~Start simple.~~ Data is just *information written down* in a way something (or someone) can use later. **Your grocery

Start simple. Data is just information written down in a way something (or someone) can use later. Your grocery list? Data. A photo on your camera? Data. The high score saved in a video game? Data. If it can be stored and read back, it's data.

~~Now here's the trick:~~ computers don't understand words or pictures the way you do. They only understand two things โ€”

Now here's the trick: computers don't understand words or pictures the way you do. They only understand two things โ€” ON and OFF. Like a light switch. So every piece of data โ€” every letter, every color in a photo, every sound โ€” gets translated into a pattern of switches. ON-OFF-ON-ON-OFF. Click click click.

Each switch position is called a ++BIT++ โ€” the tiniest unit of data. One bit is just one answer: **yes or no, on or off,

Each switch position is called a BIT โ€” the tiniest unit of data. One bit is just one answer: yes or no, on or off, 1 or 0. Not much, right? But string eight bits together and you get a BYTE. With eight switches, you can make 256 different patterns. Enough to represent any letter, any punctuation mark, any digit.

A single byte can hold one character โ€” **one 'A' or '7' or '!'**. So a short text message might be a few hundred bytes.

A single byte can hold one character โ€” one 'A' or '7' or '!'. So a short text message might be a few hundred bytes. A photo? Millions of bytes, because every pixel's color needs its own code. A movie? Billions. Suddenly you need bigger measuring cups.

Enter the metric ladder. One thousand bytes is a ++KILOBYTE++ (KB) โ€” about half a page of text. One thousand kilobytes i

Enter the metric ladder. One thousand bytes is a KILOBYTE (KB) โ€” about half a page of text. One thousand kilobytes is a MEGABYTE (MB) โ€” a decent photo. One thousand megabytes is a GIGABYTE (GB) โ€” hundreds of songs, or an hour of video. Each step up, you're holding a thousand times more switches.

Keep climbing. A ++TERABYTE++ is a thousand gigabytes โ€” imagine **every book in a big library**, or days of HD video. A

Keep climbing. A TERABYTE is a thousand gigabytes โ€” imagine every book in a big library, or days of HD video. A PETABYTE? A thousand terabytes. That's the scale where whole companies store customer data, or scientists save telescope images of deep space.

So "data" isn't magical โ€” it's just information turned into **switch patterns**, counted up in bytes. Your phone holds *

So "data" isn't magical โ€” it's just information turned into switch patterns, counted up in bytes. Your phone holds billions of tiny ON-OFF decisions. Every photo, every song, every text is really a recipe written in ones and zeros. And now, when someone says "that app uses a lot of data," you know they mean it's flipping a whole lot of switches.

How was this book?

A Wonderleaf Book

The Switch Recipe

โ€” What is data and how is it measured? โ€”

Wonderleaf Editions
โ€” ex libris โ€”
A Wonderleaf Book

The Switch Recipe

What is data and how is it measured?

Wonderleaf Editions ยท MMXXVI
Scene 1
Data. The word shows up everywhere โ€” your phone is full of it, scientists collect it, computers eat it for breakfast. ~~
The Switch Recipe2
Scene 1

Data. The word shows up everywhere โ€” your phone is full of it, scientists collect it, computers eat it for breakfast. But what actually IS this stuff? And why does everyone measure it in bytes and gigabytes like it's flour in a recipe?

3The Switch Recipe
Scene 2
~~Start simple.~~ Data is just *information written down* in a way something (or someone) can use later. **Your grocery
The Switch Recipe4
Scene 2

Start simple. Data is just information written down in a way something (or someone) can use later. Your grocery list? Data. A photo on your camera? Data. The high score saved in a video game? Data. If it can be stored and read back, it's data.

5The Switch Recipe
Scene 3
~~Now here's the trick:~~ computers don't understand words or pictures the way you do. They only understand two things โ€”
The Switch Recipe6
Scene 3

Now here's the trick: computers don't understand words or pictures the way you do. They only understand two things โ€” ON and OFF. Like a light switch. So every piece of data โ€” every letter, every color in a photo, every sound โ€” gets translated into a pattern of switches. ON-OFF-ON-ON-OFF. Click click click.

7The Switch Recipe
Scene 4
Each switch position is called a ++BIT++ โ€” the tiniest unit of data. One bit is just one answer: **yes or no, on or off,
The Switch Recipe8
Scene 4

Each switch position is called a BIT โ€” the tiniest unit of data. One bit is just one answer: yes or no, on or off, 1 or 0. Not much, right? But string eight bits together and you get a BYTE. With eight switches, you can make 256 different patterns. Enough to represent any letter, any punctuation mark, any digit.

9The Switch Recipe
Scene 5
A single byte can hold one character โ€” **one 'A' or '7' or '!'**. So a short text message might be a few hundred bytes.
The Switch Recipe10
Scene 5

A single byte can hold one character โ€” one 'A' or '7' or '!'. So a short text message might be a few hundred bytes. A photo? Millions of bytes, because every pixel's color needs its own code. A movie? Billions. Suddenly you need bigger measuring cups.

11The Switch Recipe
Scene 6
Enter the metric ladder. One thousand bytes is a ++KILOBYTE++ (KB) โ€” about half a page of text. One thousand kilobytes i
The Switch Recipe12
Scene 6

Enter the metric ladder. One thousand bytes is a KILOBYTE (KB) โ€” about half a page of text. One thousand kilobytes is a MEGABYTE (MB) โ€” a decent photo. One thousand megabytes is a GIGABYTE (GB) โ€” hundreds of songs, or an hour of video. Each step up, you're holding a thousand times more switches.

13The Switch Recipe
Scene 7
Keep climbing. A ++TERABYTE++ is a thousand gigabytes โ€” imagine **every book in a big library**, or days of HD video. A
The Switch Recipe14
Scene 7

Keep climbing. A TERABYTE is a thousand gigabytes โ€” imagine every book in a big library, or days of HD video. A PETABYTE? A thousand terabytes. That's the scale where whole companies store customer data, or scientists save telescope images of deep space.

15The Switch Recipe
Scene 8
So "data" isn't magical โ€” it's just information turned into **switch patterns**, counted up in bytes. Your phone holds *
The Switch Recipe16
Scene 8

So "data" isn't magical โ€” it's just information turned into switch patterns, counted up in bytes. Your phone holds billions of tiny ON-OFF decisions. Every photo, every song, every text is really a recipe written in ones and zeros. And now, when someone says "that app uses a lot of data," you know they mean it's flipping a whole lot of switches.

17The Switch Recipe

~ finis ~

Tiny picture books for big little questions.

โ€” a small constellation of questions โ€”
โœฆWonderleaf
Editions