MYTUTOR SUBJECT ANSWERS

737 views

How to convert any binary number to decimal?

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.

Thus:

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.

Mantas S. GCSE Maths tutor, GCSE ICT tutor

2 years ago

Answered by Mantas, a GCSE Computing tutor with MyTutor


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

18 SUBJECT SPECIALISTS

£18 /hr

Jake H.

Degree: Computer Science (Bachelors) - Leeds University

Subjects offered:Computing, Maths

Computing
Maths

“A computer scientist with a love for reading, writing and talking about mathematics!”

£18 /hr

Robert S.

Degree: Engineering Mathematics (Bachelors) - Bristol University

Subjects offered:Computing, Physics+ 2 more

Computing
Physics
Maths
-Personal Statements-

“Engineering Mathematics Undergrad available to tutor Maths, Physics and Computer Science at IB/GCSE level.”

MyTutor guarantee

|  12 completed tutorials

£18 /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...”

About the author

Mantas S.

Currently unavailable: until 13/02/2017

Degree: Software Engineering (Bachelors) - Newcastle University

Subjects offered:Computing, Maths

Computing
Maths
ICT

“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 relate...”

MyTutor guarantee

You may also like...

Other GCSE Computing questions

What is the difference between a data structure and a data type?

What is batch processing?

How would you check if a number is palindrome using a looping algorithm in any programming language ?

Explain how cache memory can improve system performance.

View GCSE 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