Definition - What does
Binary Number System mean?
The binary number system is a numbering system that
represents numeric values using two unique digits (0 and 1). Mosting
computing devices use binary numbering to represent electronic circuit
voltage state, (i.e., on/off switch), which considers 0 voltage input as
off and 1 input as on.
This is also known as the base-2 number system, or the binary numbering system.
Microcontrollers only use binary logic in computing.
Compare this to the decimal numbering system, which is comprised of 10
unique digits (0-9). For example, a user input of 345 (in decimals) is
101011001 in binary form.
Decimal is a term that describes the base-10 number system,
probably the most commonly used number system. The decimal number system
consists of ten single-
digit
numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The number after 9 is 10.
The number after 19 is 20 and so forth. Additional powers of 10 require
the addition of another positional digit.
3.octal number system
Octal (pronounced AHK-tuhl , from Latin octo
or "eight") is a term that describes a base-8 number system. An octal
number system consists of eight single-digit numbers: 0, 1, 2, 3, 4, 5,
6, and 7. The number after 7 is 10. The number after 17 is 20 and so
forth.
In computer programming, the octal equivalent of a binary number is sometimes used to represent it because it is shorter.
4.hexadecimal number system
Hexadecimal describes a base-16 number system. That is, it describes
a numbering system containing 16 sequential numbers as base units
(including 0) before adding a new position for the next number. (Note
that we're using "16" here as a decimal number to explain a number that
would be "10" in hexadecimal.) The hexadecimal numbers are 0-9 and then
use the letters A-F. We show the equivalence of binary, decimal, and
hexadecimal numbers in the table below.
Hexadecimal is a convenient way to express
binary numbers in modern computers in which a
byte is almost always defined as containing eight
binary digits. When showing the contents of computer storage (for example, when getting a
core dump of storage in order to
debug a new computer program or when expressing a string of
text characters
or a string of binary values in coding a program or HTML page), one
hexadecimal digit can represent the arrangement of four binary digits.
Two hexadecimal digits can represent eight binary digits, or a byte.