Difference between revisions of "Conversions"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Binary to Denary)
(Binary to Denary)
Line 14: Line 14:
 
For example:   
 
For example:   
  
Denary Value 16  8  4  2  1  
+
Value 16  8  4  2  1  
  
 
Binary Value 1  0  1  0  1
 
Binary Value 1  0  1  0  1

Revision as of 14:50, 14 December 2016

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:

Value 16 8 4 2 1

Binary Value 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.