Apart to its use for arithmetic the binary code is also to translate
words. Computers programs are translated into binary code before they
can be used. Computers are often described in terms of the 'word length'.
You will hear people talk about '8-bit'or '16-bit' computers, for example.
This has nothing to do with their memory size. Instead it refers to the
number of binary digits (BITS) that can be transferred between the different
parts of the CPU at any one time.
The word length is an important determining feature of a computer. It defines how large or small a range for numbers can be used. Every common grouping is to use a BYTE. Imagine a four-bit computer. Here is the complete range of binary digits that can be coded in 4 bits. Binary Decimal The four-bit computer can handle arithmetic so long as the answer is not more than 15! Computers designers overcome the problem by using a longer word length (16,32 and common) and by combing words together (or very small) numbers. An alternative explanation of our four-bit-codes would be to regard each combination as a letter:
What about the letter 'Q' to 'Z'? This is another case where there aren't enough codes to go round! In an 8-bit BYTE there are 256 different codes, from 00000000 to11111111! There are more than enough codes for:- Twenty six capital letters of the alphabet (A-Z) The alphabet in small letters (a-z) Currency signs like £ and $ Special letters like ones with accents in certain language Special symbols such as & and ? If it was left up to the individual designers of computers so doubt they would all have decided to use different coding system. Luckily, however, most conform to standard coding systems that have developed in recent years.
The binary code is the basic of computer language. To understand how
Why is the binary system so important of computers? The answer is simple.
A pulse is, as its name suggests, 'on' or 'off'. An early example of
Actually '29' is really shorthand for saying:
If we write '333', meaning three hundred and thirthy three, we have used
In binary arithmetic the symbols are multiplied by 2 for each position we move to the left. Inside the computer complex calculations are reduced to arithmetic done in noughts and ones! Here are some binary numbers with their decimal equivalents:
Got that? Read it over carefully to make sure you understand the principle of binary numbers. The next few sums are example of simple arithmetic using the Rules of Binary Addition.
RULES FOR ADDITION
The rules for SUBTRACTION
MULTIPLICATION and DIVISION
Home || Introduction
|| Histrory in Computing
|| Glossary of PC
|| About us