It's A Binary Earth - How Computers Rely.
SEnuke: Ready for action
You reach the checkout at the industry, and the item you ordered 'on special' comes up at the full value. The director has to be called to correct it up, and what does he say?
'We have been having issues with the computer, it gets the incorrect price on some things.'
You devote a list of addresses to your Word processor, and print off party invitations for... Get more on an affiliated URL by visiting Trading Stocks Online - What W\u2026 | overwrough247.
Their computer has been cursed by many to take things too literally! It is an easy task to blame the computer when some thing goes wrong.
You get to the checkout at the industry, and the item you ordered 'on special' pops up at the full price. The manager has to be called to repair it up, and what does he say?
'We have already been having problems with the computer, it gets the wrong price on some things.'
You devote a list of addressess to your Word processor, and print off party invitations for next week. Then you discover that today's date is placed in the signature block - by the computer!
Perhaps you have seen the phrase 'Garbage in Garbage out'? Some one, at some point directed the computer to do what it did, It didn't choose to screw you up deliberately. Computers can only just do what they are told, they are more sensible than Spock and they take everything literally.
We're going to have a look at why they are so pedantic!
The world around us has several aspects which work in exactly the same way as a computer. There are lots of types of opposites, as an example Up and Down, Left and Right, Forwards and Backwards. A light could be On or Off, probably it is Night or Day. Yes or No? You can think of many more. If it is not one, this system of two possible states is called a Binary System, it ought to be the other.
A pc uses the Binary System to perform all its features, the basic unit, formerly a vacuum tube, then a transistor, then a processor, is used tens of thousands of times to make the sum total unit. The light being O-n or Off which we mentioned previously is controlled by a switch. In the computer this switch is really a transistor, which will be either On or Off.
Now we reach the Q! Don't worry, it is very simple Q! The truth is it's so easy we only total to 1. Therefore we count from 0 to 1 that's right, we can only have two states. (That's another thing computers are pedantic about, they insist o-n beginning at zero).
The Binary system can be a Number System. You are acquainted with the Decimal system that has 10 numerals 0 to 9 (think such as for instance a computer 0 comes first). You will make up a variety of number systems for whatever purpose you need. You most likely learn about a dozen (12) and have heard of a half dozen. If you've applied your computer much you may have run into the Hexadecimal process. That one has 16 'numbers' 0-9and A-F. Yet another number system employed by computer people could be the system which has 8 numerals, 0-7.
OK so how can we rely with only 0 and 1. Easy, in the same way you count in decimal. The initial ten numbers are OK, 0-9, but what next? We begin again but add in a-1 making 10 or 'one, zero.' This gets us to 'one, nine' and we head to 'two, zero', and so on as much as 'nine, nine' then we again put in a 1 to create 100 - 'one, zero, zero.'
If you have followed me so far you're ready for that Binary series, it's much easier. Starting off at zero we have 0,1 - and that is it. We follow the sam-e concept and add-in a 1, creating 'one,zero.' Next come 'one, one'; then 'one, zero, zero'; -'one, zero, one'; etc. These are equal to Decimal 0,1,2,3,4,5. How does this relate to computers? That's next.
Within our computer we've transistor buttons, as described above. For the z/n case we only viewed, we need 3 changes. These each signify a Binary Digit, or Bit. These changes could be OFF,OFF,ON or 001, to signify a Decimal 1. For a Decimal 5 we'd have ON,OFF,ON, or 101. By extension you can see that with 4 switches we're able to visit 1111 or 15 Decimal.
Yet another point to notice is that each binary digit, or bit, has a value. In the same way in Decimal we have products, tens, hundreds, an such like. in Binary the values are 1,2,4,8,16,32,64,128 etc. And so forth. The binary code 1111 mentioned above is therefore 1+2+4+8=15. You could accumulate the individual values, if you wanted to workout what binary 100101100 was in decimal. In reality people who focus on the fundamental devices need to know 'machine signal'! To them 1111 would be F in Hexadecimal or 1-7 in octal.
This probably seems an extremely long-winded solution to work-out figures, before you keep in mind that these 'switches' can operate at nanosecond speed or 1,000,000,000 times per 2nd, large measurements become possible.
Thats probably enough to eat up in one go. Next time we will have a look at what sort of computer adds and multiplies..
Replies