Conversions

From TRCCompSci - AQA Computer Science
Revision as of 14:52, 14 December 2016 by MattPeet (talk | contribs) (Binary to Denary)
Jump to: navigation, search

Conversions

Conversions are the process in which one number system is converted to another, for example deanry to binary.

The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base

Binary to Denary

Converting binary to denary is done using the place value method, to do this you need to know the binary number system. Binary system.jpg

To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.

Then add up all of the denary values and you will have the converted denary value.

For example:

Column Value 16 8 4 2 1

Binary Number 1 0 1 0 1

You would then add up the denary numbers that were substituted.

So 10101 represents 16+4+1=21 so your denary value would be 21.

Denary to Binary