Currently unavailable: until 13/02/2017
Degree: Software Engineering (Bachelors) - Newcastle University
Hi, I'm Mantas.
I am a Software Engineering student at Newcastle University and I enjoy helping others. I consider Computing as my main expertise and I will do my best to guide you through the fun process of learning all things related to it. Whether you are struggling with a small problem or with a huge topic - I'm here to help you.
Let us take a binary number 10010111. To make conversion easier let us write down numbers 0 to 7 under this binary number starting from the right side.
These numbers will represent powers of 2. For each '1' in the given binary number we will need to sum its power of 2 to get the decimal representation.
1 0 0 1 0 1 1 1
7 6 5 4 3 2 1 0
would mean that we need to sum up 27, 24, 22, 21 and 20. Accordingly, 128+16+4+2+1 = 151.
This technique will work with any size binary number, provided that you will sum up all the powers of 2 starting from 0 up to the number of digits in binary number minus 1.see more