You can rearrange the buttons in the order you like by Drag and Drop.
Background image copyright: NASA / Icons from Wikipedia

Change Background

Showing posts with label science. Show all posts


This blog post was written for my nephew, Eshan, who asked me to write about this subject.

You wanted me to write something for you about computers and so here is a blog post about them. This post comes after one about secret codes for a reason: computers are here because of secret codes and now they are everywhere. No matter what job they do, or where they are, all computers have a lot in common with each other.

The word computer is not modern. It was first used 400 years ago to describe a person who did maths. Someone who did calculations - or computations as they can be called - was a computer. Today we use the same word to talk about machines that do the same things with numbers.




A computer is a machine that can do maths of different kinds. It can do different sums, depending upon what it is told to do. The sums it is asked to do are called a program, and the person telling it what to do is the programmer. Programmers tell computers what to do by writing down the instructions in a special language that the computer understands.

The difference between a computer and a calculator is that a calculator needs someone to put in the numbers and read the results. A computer doesn’t need an operator. Once it has a program to follow it can get on with it alone without any help.

The idea of a machine that could do maths was thought of a long time ago, in the 1600s, but the first proper ones were made in World War II to do maths to break Germany’s powerful secret codes that were themselves created by machines. The first computers were not very powerful and were enormous: sometimes as big as rooms. At first they were hand-operated mechanical machines, but very soon after electric computers were invented. Ever since then computers have become more powerful and smaller year by year. Nowadays they are everywhere. In phones, in cars, in planes and even in watches. They are still getting smaller and more powerful.

No matter how tiny or fast they are, all computers are made up of the following parts:
The Number Factory
The most important bit of a computer is the number factory where the maths happens. The very first computer machines could only do one set of sums. To change what they could do meant changing the wiring of the machine, which was difficult and took a long time. So someone invented a programmable computer that could do different sums depending upon what instructions it was given. At first these instructions were short and simple but now they can be very long and complicated. For example, the maths needed to make a web browser surf the internet, or to play an audio file, as you are doing now, can be many millions of instructions. This is OK, because modern computers can carry out billions of instructions per second! The part of the computer that does all this work - the number factory - is known as the central processing unit or CPU.
The Memory
A computer reads instructions just like you are reading this blog post, from start to finish, but some instructions are more complicated. They could be like this:
From this line go back to the second paragraph of this blog post, read the first line, and then come straight back to this line without reading anything else inbetween and then carry on reading from here.
Or this:
Carry on reading, but do not read the last paragraph of this blog post if the time is after 3pm in the afternoon and before 10pm at night.
To do this jumping back and forth kind of reading you need a memory. To follow the first instruction I wrote above you would need to remember what I told you to do and then remember how to get back to the line of writing you started from. Every computer is the same, and so needs a memory.
A Language
Every different type of number factory has its own special language called a machine code. So the computer in a mobile phone can’t understand the language of a computer in a car, for example. Instead of having words made of letters, computers have words made of numbers. It would be very difficult and very time-consuming for humans to write instructions in machine code, and so instead they write the instructions in an easier to understand programming language. This is then translated into machine code by an translating program that programmers use called a compiler.


Parts to Put Information In
There has to be a way of giving the computer instructions. Information has to go in somehow to program it. There are lots of ways to do this with modern computers. A home computer will often have a keyboard and a mouse. Games console have gamepads. In a car there will be sensors, such as ones measuring how much air is in the tyres.
Parts to Get Information Out
There is little point in making a computer do a calculation if it doesn’t do something with the results for a purpose. So there will be parts of a computer to do something after it has followed the instructions in the program. You might be able to see information on a display screen, such as on a home computer or smart phone. A printer will write something onto paper. The computer could be connected to speakers so you may hear something after it does its work.

Computers are everywhere. The obvious ones are the personal computers and laptops in our homes, or the smart phones or tablet devices we carry around with us. The less obvious ones are those in modern cars, in shop tills, and now in wristwatches.

The reason computers are everywhere is because they are so useful. We can do incredibly hard mathematics with them, such as programming them to fly rockets in space, or to predict what the weather is going to be tomorrow or to work out how many miles a car has left before it runs out of petrol. We can play complicated games and make imaginary worlds on home computers and gaming consoles. We can talk to each other on phones, or over Skype; write letters and then print them out; or post them up on the internet for people to read.

I hope that gives you a helpful introduction to how computers work. We can talk more about them another time.

If you would like to listen to this blog post please press play on the Audioboom widget below:


A few weeks ago I wrote to you about how everything was made of tiny little lego-brick-like atoms. Later, I wrote about how some things, like gold and diamonds, are made up of the same type of atom-brick. But like most toys made from of lego bricks, most things in reality are made up of many different types of atom joined together not just one type.



Like lego, atoms can be made to join with other atoms to make bigger and more complicated shaped bricks. These bigger bricks are known as molecules. It is this fact that makes the world around us full of very different types of stuff. Although the whole universe, that we know of so far, is made up of just 98 types of atom you can build very different types of things by joining them together in different ways and different arrangements. It is worth saying that although they are bigger than atoms, molecules are still very very small things indeed. Even the big complicated ones.


The above picture shows six lego brick molecules that I made up in my head using just four types of lego brick. It didn’t take me very long to do. Have a go yourself if you have some lego or other building blocks at home. Make some models of molecules and see how easy it is to come up with new shapes using only a few types of brick.


A good example of a very simple and small molecule is water. It is made of one type of atom brick joined up with two types of another. One drop of water contains huge numbers of these molecules rubbing against and sliding around each other. It just so happens that this combination and arrangement of atom bricks makes stuff that is wet in warm weather but frozen solid when it’s cold and that can turn into vapour when it gets very hot, such as in a kettle.

For an example of a much more complicated molecule that contains lots of different types of atom bricks you need look no further than your own hair and finger nails. Much of these parts of you is built from molecules of something called keratin. One molecule of keratin is made of more than 4000 atoms stuck together in a long spiral shape. These molecules stick to each other to make very long, strong chains. If water is just like three Lego bricks of two different types joined together then this molecule is like the Lego Star Wars Death Star - made of lots of bricks of lots of different types. The Death Star model has 3803 bricks to be exact so a keratin molecule has even more parts than that. Even so, it is still very small because atoms are incredibly tiny things indeed.

Because they are all sorts of shapes and sizes each type of molecule acts differently to others. This is why millions of water molecules together in a glass of water are see-through and liquid but lots of keratin molecules create tough bendy stuff like your nails.

If you would like to listen to this blog post then please click play on the audioBoom widget below (and make sure your speakers are turned on if you are using a computer to listen):

Julia's Engagement Ring | Image copyright Graham Jarvis 2014, all rights reserved
Last time we talked about stuff being made of Lego-like bricks called atoms. Just to be clear before we talk more, when I say atoms are like Lego bricks I don’t mean exactly the same as them. Real atoms are not actually Lego bricks. You know already that they are much much smaller. In some ways atoms can be sticky like Lego bricks and they can fit together in different ways, but in other ways they are different too. I’m using something you know about to describe something else that you don’t to help you to draw a picture in your mind. It is not always the best drawn picture, but knowing about Lego, as I’m sure you do, is still really helpful to understand how these atom things work and how reality is made, even though they are not exactly the same thing. All of the real world around you is made from these atoms, so it is worth trying to understand.

Let me tell you another thing about atoms using lego bricks to draw the picture in your mind. If you make something made of the same type of lego brick, for example if you made something from one hundred red square bricks, then it will be something that is made only of square red bricks. But the thing you make from those bricks won’t have to be square and blocky, though it will be red. You could build a tall tower from those bricks or small little blocks made of just two red bricks each or giant rings made of bricks. Some stuff that we see around us is just like this - made of only one type of atom and some people say it is made of just one element. As we said before we know of 118 different elements or different types of brick, in our not perfect Lego illustration.

A good example of an element is a precious diamond. It is made up of just one type of small little atom. Each atom-brick is closely joined to all of its neighbours which is why a diamond is very hard stuff indeed - in fact one of the hardest things there is. Another example is the metal gold. Gold atoms don’t join well with other types of atom and so they are often found joined together having a private party on their own. This is also why gold things stay golden and shiny for a very long time when other things made with different more friendly atom-bricks will change. For example, iron goes rusty because iron atoms quite easily join up with oxygen atoms in the air to make rust; which is something made of both types of atom. We will talk more later about stuff that is made from more than one type of element.

So the picture at the top of this post is the diamond engagement ring I gave to my wife on the day I asked her to marry me. And now you know that it is mostly made up of just two types of atom-brick. Don’t tell her that though she might feel a bit cheated.

In the real world, just as in the box containing your Lego bricks, things are rarely that simple or ordered. Most of the stuff you can see around you is made up of many different types of atom bricks joined together in repeating patterns that create similar looking bigger blocks. These blocks are called molecules. Most things are made of molecules. We will talk more about them next time.

If you would prefer to listen to this post instead of reading it press play on the widget below:

Today let’s talk about what stuff is made of.