The Binary System
The Binary System
A binary number system is one of the four types of number system. In computer applications, where binary
numbers are represented by only two symbols or digits, i.e. 0 (zero) and 1(one). The binary numbers here are
expressed in the base-2 numeral system. For example, (101)2 is a binary number. Each digit in this system is
said to be a bit. Learn about the number system here.
Number System is a way to represent numbers in computer architecture. There are four different types of the
number system, such as:
In this article, let us discuss what a binary number system is, conversion from one system to other systems,
table, positions, binary operations such as addition, subtraction, multiplication, and division, uses and solved
examples in detail.
Facts to Remember:
We place the digits in columns 100, 101 and so on in base 10. When there is a need to put a value higher than
9 in the form of 10(n+1) for instance, to add 10 to column 100, you need to add 1 to the column 101.
We place the digits in columns 20, 21 and so on in base 2. To place a value that is higher than 1 in 2n, you
need to add 2(n+1). For instance, to add 3 to column 20, you need to add 1 to column 21.
Binary Addition
Adding two binary numbers will give us a binary number itself. It is the simplest method. Addition of two
single-digit binary number is given in the table below.
Binary Numbers Addition
0 0 0
0 1 1
1 0 1
1 1 0; Carry →1
Let us take an example of two binary numbers and add them.
For example: Add 11012 and 10012.
Solution:
Binary Subtraction
Subtracting two binary numbers will give us a binary number itself. It is also a straightforward method.
Subtraction of two single-digit binary number is given in the table below.
Binary Numbers Subtraction
0 0 0
0 1 1; Borrow 1
1 0 1
1 1 0
Let us take an example of two binary numbers and subtract them.
Example: Subtract 11012, and 10102.
Solution: 11012 – 10102 = 00112
Binary Multiplication
The multiplication process is the same for the binary numbers as it is for numerals. Let us understand it with
example.
Example: Multiply 11012 and 10102.
Solution:
Binary Division
The binary division is similar to the decimal number division method. We will learn with an example here.
Example: Divide 10102 by 102
Solution:
Uses of Binary Number System
Binary numbers are commonly used in computer applications. All the coding and languages in computers
such as C, C++, Java, etc. use binary digits 0 and 1 to write a program or encode any digital data. The
computer understands only the coded language. Therefore these 2-digit number system is used to represent a
set of data or information in discrete bits of information.
What is a bit?
A bit is a single digit in the binary number. For example, 101 is three-bit binary numbers, where 1, 0 and 1
are the bits.