How do you convert a binary number to denary?
Kurze Antwort
Write the place values above each binary digit, starting with 1 on the right and doubling each time to the left (1, 2, 4, 8, 16, 32, 64, 128). Add up the place values wherever there is a 1. For example, 1011 = 8 + 2 + 1 = 11.
Schritt für Schritt
- Write the binary number and the place values above it, from right to left: 1, 2, 4, 8, 16...
- Ignore the columns with a 0.
- Add the place values of every column that has a 1.
- Check: an 8-bit number can only be between 0 and 255.
Beispiel
Convert 11001010 to denary
- Place values: 128 64 32 16 8 4 2 1
- Digits: 1 1 0 0 1 0 1 0
- 128 + 64 + 8 + 2 = 202
Typische Fehler
- Starting the place values from the left instead of the right.
- Writing the place values as 1, 2, 3, 4 instead of doubling.
- Adding the digits instead of the place values.
Einzelunterricht ist der schnellste Weg, Lücken vor einer Prüfung zu schließen. Die erste Stunde ist kostenlos.
Lehrkraft für Informatik finden