If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

How do computers represent data?

When we look at a computer, we see text and images and shapes.
To a computer, all of that is just binary data, 1s and 0s.
The following 1s and 0s represents a tiny GIF:
A string of 0 and 1 numbers, 336 numbers long.
This next string of 1s and 0s represents a command to add a number:
A 16-character long string of 1s and 0s.
You might be scratching your head at this point. Why do computers represent information in such a hard to read way? And how can 1s and 0s represent so many different things? That's what we'll explore in this lesson.
To start off, check out the next video from Code.org where engineers from Microsoft and Adafruit introduce the basics of bits and binary data.

Want to join the conversation?