Bits

I read a blog suggesting starting year 7 maths lessons with a discussion about zero, and it made me wonder - what would be the computing equivalent?

I normally suggest starting a computing course with the big ideas, e.g. representation and number bases, but we could also start by understanding the smallest unit in computing - the bit.

Binary Properties

Have a look at the images below. Can you see what the things they represent have in common?

There are various ways to store or communicate data, but the more interesting connection is how they do it. They all rely on something having two mutually-exclusive states:

Some even use a combination of those properties - e.g. the floppy disc uses a magnetic disc to store the data, but there are holes in the corners of the case to indicate whether the disc is "high density" or "read-only".

What Is A Bit?

A bit is the logical application of that physical binary property. The two states can be used to represent different things inside the computer.

Is That the Same As Binary Numbers?

Not all computers use binary numbers, but they all take advantage of the binary properties of their hardware. Some (especially early) computers work with denary numbers, using binary flags to indicate which digits are required for units, tens, hundreds, etc. - a bit like the beads on an abacus.

Applications of Binary Properties

The computer can use the binary nature of hardware and storage media to represent, for example:

Note that binary and Boolean logic were both invented long before electronic computers. It was Claude Shannon, one of lesser-known heroes of computer science, who realised that truth values and Boolean operations could be represented by electronic circuits.

Why Do Computers Use Binary?

A fairly common GCSE question is Why do computers use binary?

Hopefully you can see that most of the hardware used inside (and connected to) computers has two clear states that can be used to represent things like binary digits and truth values. The same binary properties are used to perform calculations, e.g. addition, and to represent text, images, sounds and programs.