Why do we use a number system

Number systems

Number systems are used to represent numbers. The numbers are represented according to certain rules as a sequence of digits or characters. The number systems best known to us are the decimal system (system of ten), the dual system (system of two) and the hexadecimal system (system of sixteen). There are other number systems, but they do not play a major role in digital technology and computer technology.

Every number system consists of nominal values. The number of nominal values ​​results from the base. The highest nominal value corresponds to the base minus (-) 1. If the highest nominal value is exceeded, the next higher value results from the carryover.

Decimal number system

Nominal values: 0 1 2 3 4 5 6 7 8 9
Base: 10
Largest face value: 9
Significance: 100 = 1, 101 = 10, 102 = 100, etc.

Dual number system

Nominal values: 0 1
Base: 2
Largest face value: 1
Significance: 20 = 1, 21 = 2, 22 = 4, etc.

Hexadecimal number system

Nominal values: 0 1 2 3 4 5 6 7 8 9 A B C D E F
Base: 16
Largest face value: F.
Significance: 160 = 1, 161 = 16, 162 = 256, etc.

Octal number system

Nominal values: 0 1 2 3 4 5 6 7
Base: 8
Largest face value: 7
Significance: 80 = 1, 81 = 8, 82 = 64, etc.

Number systems in comparison

Binary / dualOctalDecimalHexadecimal
16842181101161
00000 0 0 0
00001 1 1 1
00010 2 2 2
00011 3 3 3
00100 4 4 4
00101 5 5 5
00110 6 6 6
00111 7 7 7
0100010 8 8
0100111 9 9
010101210 A.
010111311 B.
011001412 C.
011011513 D.
011101614 E.
011111715 F.
10000201610
10001211711
10010221812
10011231913
10100242014
101012521 5
10110262216
10111272317
11000302418

...

Notation when using different number systems

If you work with numbers from different number systems, then these numbers cannot always be clearly assigned to a number system. The number 100 could belong to the hexadecimal, the dual or the decimal number system. In all number systems, the number 100 would have a different value. That is why numbers are indexed if there is a risk of confusion. Correctly, the index should be represented as a number and correspond to the base of the number. Spellings with letters, regardless of whether they are upper or lower case, are worthy of interpretation because of their similarity to hexadecimal representation and are only valid if the representation system does not allow subscripts.

  • Decimal numbers are marked with a small d or 10 (e.g. 100d or 10010) or not.
  • Hexadecimal numbers are marked with a lower case h or 16 (e.g. 100h or 10016) or $ (e.g. $ 100).
  • Dual numbers are marked with a small b or 2 (e.g. 100b or 1002) or% (e.g.% 100).

Conversion of number systems

Tasks: Converting number systems

Exercises: Converting number systems

Numbers in computer science

Other related topics:

Electronics simple and easy to understand

Electronics primer

The electronics primer is a book about the basics of electronics, components, circuit technology and digital technology.

I want that!

Experience electronics with the "Starter Edition" electronics set

Perfect for beginners and newcomers

  • Entry into electronics without prior knowledge
  • Quick understanding of components and circuit symbols
  • Experiment without a soldering iron: just insert components

More informationOrder the electronics set now