Computer Science Isn't About Computers
Computer Science might be more popular if we could demonstrate that the ideas don't only apply to computers.
A complaint I sometimes hear from primary teachers is that they lack the knowledge or the equipment to be able to teach Computing effectively. Computing, however, and especially the computer science content, isn't about computers. You could think of computer science as describing - describing how things are done, and how they are stored.
You don't need to be a programmer to teach this - you can see computing ideas in all sorts of everyday activities. For example:
- getting dressed - does it matter whether you put your left sock on before your right sock? Does it matter if you put your shoes on before your socks?
- mathematical techniques - what steps are involved in adding numbers, or converting to Roman numerals?
- sorting and searching - do you store things in a way that makes them easier to find, e.g. the books in the library?
- music - how do we write down the notes we are going to play on the recorder?
- "colour by numbers" introduces the idea of representation of images and colour depth
- "dot-to-dot" drawings are "graphs", which is an A level concept!
As we move into KS3 and GCSE, even the ideas that are explicitly written into the National Curriculum and exam board specifications often pre-date electronic computers, or were conceived for other purposes.
History
Binary numbers have been studied in Europe since the 16th century, but existed before that in other cultures. Boolean logic was introduced in George Boole's first book in 1847, and Claude Shannon applied the idea to switching circuits in the 1930s. Shannon also worked on digitising sound, citing a paper from 1915.
The word algorithm was in use in English by 1596, and Ada Lovelace was writing algorithms in the mid-19th century.
"Programs" on paper tape were used to control looms in 1725, and Jacquard demonstrated his loom, controlled by punched cards, in 1804. Charles Babbage picked up on the idea, and then Herman Hollerith used punched cards to record and process data during the 1890 US census.
Magnetic tape was developed in Germany in the 1920s, and was first used for analogue recordings, but then data. Although the term pixel wasn't coined until 1965, the idea was used in things like cross-stitch and knitting for a long time before that, and also in analogue television broadcasts (e.g. with 405 or 625 lines).
Even the Turing Machine, invented in 1936, despite being described as having a "tape" for instructions, was a theoretical model, and there's no suggestion that Turing was actually planning to construct one.
Carpets
This week we went on a family outing to the Museum of Carpet in Kidderminster - a town in Worcestershire in which 12,000 people were employed by the carpet industry at its peak.
It was interesting to see how some of the technologies used in Victorian carpet manufacture evolved into the hardware and software used with electronic computers. See if you can work out which components in a modern, stored-program computer are similar to those used in the carpet looms, and how computers are different.
One way of producing carpets or fabrics with different textures or colours is to use a Jacquard loom. The patterns are drawn onto squared paper and punched onto cards a row at a time. The cards then control which threads are lifted to create the pattern.
Punched cards are a form of secondary storage and were still used when I was doing my O level in Computer Studies in the 1980s - my folder contains examples from Sainsbury's and Ford at Dagenham.
The punching machine resembles a compiler in some respects (not an interpreter because the cards are re-used), and the cards are like the loom's program. The loom differs from a computer (or a Turing machine) in that it can't modify its own program by changing the cards. The cards store instructions on how to weave the carpet, rather than an image of the carpet itself, so there are also similarities to vector graphics.
The machines above are used to weave carpets with a limited colour depth - if you look behind the loom you will see that there are only four colours of thread (plus the backing).
Axminster carpets require a greater number of colours, and they use a different process - more like a bitmap image.
Long bobbins are created, each containing all of the colours required for one row of the design - each thread is effectively a pixel in the finished carpet.
The bobbins are loaded into a larger machine so that they can be rotated and the threads woven into the carpet in sequence. The number of bobbins used is therefore a kind of metadata, describing the size of the pattern. As each bobbin moves into position, short lengths are trimmed off and woven into the carpet, forming the pile.
When the factory switched to producing a different pattern, they could swap the bobbins whilst the previous carpet was still being completed - a form of pipelining.
As you can hopefully see, producing carpets uses a lot of the ideas from GCSE Computer Science, but these techniques were in use a long time before electronic stored-program computers.
Other Examples
I'm slightly fascinated by the ratio of facilities in public toilets. The toilets in the Museum of Carpet, for example, had three basins but only one hand-dryer. Do they expect two-thirds of users to leave with wet hands?
I'm particularly irritated by these, which seem to be quite common in English coastal towns:
Like washer dryers, they illustrate the benefit of pipelining. Separate basins and hand-dryers allow one person to dry their hands while the next person washes theirs - in the same way that you can wash the next load of clothes whilst drying the previous load if you have a separate washer and dryer.
Finally… some schools have academic entry requirements for computer science courses, but I've always thought that a simple aptitude test would be to ask students to take off their jumpers. Frank Skinner reveals his inner computer scientist in this clip.
This blog was originally written in August 2025.