AS and A Level Computer Science Presentations
AS and A Level Computer Science Presentations
By adding up the values in the bottom row you can see that the binary number
101110 has a value which is equivalent to the denary number 46.
All software used by the hardware uses binary codes which consist of bits.
Binary codes are most often based on the use of one or more groups of eight
bits. A group of eight bits is called a byte.
Hexadecimal numbers
These are base-16 numbers where each hexadecimal digit is represented by
one of the following symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. The symbols A
through to F represent the denary values 10 through to 15. The value of a
number is defined by place values. For example, the value of hexadecimal
number 2A6.
The ‘kilo’ is an example of a decimal prefix. There are four decimal prefixes
commonly used for large numbers.
Unfortunately, for a long time the computing world used these prefix names but
with a slightly different definition. The value for 210 is 1024. Because this is close
to 1000, computer scientists decided that they could use the kilo prefix to
represent 1024.
For example, if a computer system had the following values quoted for the
processor speed and the size of the memory and of the hard disk:
Processor speed 1.6 GHz
Size of RAM 8 GB
Size of hard disk 400 GB
The prefix G would represent 109 for the processor speed but would almost
certainly represent 1024 × 1024 × 1024 for the other two values.
This unsatisfactory situation has now been resolved by the definition of a new
set of names which can be used to define a binary prefix.