MYTUTOR SUBJECT ANSWERS

471 views

How do you convert from binary to decimal?

Our conventional numbering system is based around the idea that we can represent any number with 10 different digits arranged in a specific order. Because of this, this is called a base-10 or decimal system. In binary, we can represent any number we want with only two different numbers a 1 or 0, so it is called a base-2 system. 

Let's look at an example, first in decimal.

The number 1234 can be broken down into:

1 x 4 +

10 x 3 +

100 x 2 +

1000 x 1

or alternatively

10x 4 +

10x 3 + 

102 x 2 +

103 x 1

From this we can see the evidence of a base 10 system, each time we look at the next digit, we increase the power of the multiplier.

 

So bearing this in mind, we can look at a binary number, made of just 1's and 0's, for example 0110.

Just as above, every time we look at teh next digit, we increase the power of the multiplier BUT binary is base-2...so:

2x 0 +

2x 1 +

22 x 1+

23 x 0

And adding all these numbers up lets you convert a binary number to decimal. So 0110 in decimal is 0+2+4+0 = 6!

James T. A Level Computing tutor, A Level Electronics tutor, A Level ...

2 years ago

Answered by James, an A Level Computing tutor with MyTutor


Still stuck? Get one-to-one help from a personally interviewed subject specialist

16 SUBJECT SPECIALISTS

£20 /hr

Juris B.

Degree: Computer Science (Bachelors) - St. Andrews University

Subjects offered:Computing, Maths

Computing
Maths

“I am a Computer Science at the University of St. Andrews. Before that however, I was a pupil in a school in the North-East of Scotland. With the combined passion and availability of superb teachers - I was given an opportunity to exce...”

£20 /hr

Jose Ignacio M.

Degree: Electronics and Software Engineering (Masters) - Edinburgh University

Subjects offered:Computing, Spanish+ 2 more

Computing
Spanish
Physics
Maths

“About Me: I am a Spanish engineering student at The University of Edinburgh. Half way through my first year for an MEng degree on Electronics and Software Engineering. If you take a quick look at my grades you may think I have always ...”

MyTutor guarantee

£20 /hr

Jack C.

Degree: Interactive Media (Bachelors) - York University

Subjects offered:Computing, Italian+ 1 more

Computing
Italian
ICT

“I'm Jack Cooper, I am a student at the University of York in Interactive Media. I speak both English and Italian and am proficient in computer related studies.”

MyTutor guarantee

About the author

James T.

Currently unavailable:

Degree: Electronic Engineering (Masters) - Southampton University

Subjects offered:Computing, Physics+ 3 more

Computing
Physics
Maths
ICT
Electronics

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

You may also like...

Posts by James

How do you convert from binary to decimal?

Why can't you hear any noise in space?

Other A Level Computing questions

Describe the process of a binary search.

What do the logical operators AND, OR, XOR and NOT do?

In programming, some languages are compiled and others are interpreted. Define the difference between the two.

Project Euler Question 3: What is the largest prime factor of the number 600851475143?

View A Level Computing tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss

mtw:mercury1:status:ok