1’s and 2’s Complement of a Binary Number
- 1’s Complement of a Binary Number is obtained by inverting the digits of the binary number.
Example: Find the 1’s complement of (10011)2.
Solution:
Given Binary Number is (10011)2
Now, to find its 1’s complement, we have to invert the digits of the given number.
Thus, 1’s complement of (10011)2 is (01100)2
- 2’s Complement of a Binary Number is obtained by inverting the digits of the binary number and then by adding 1 to the least significant bit.
Example: Find the 2’s complement of (1011)2.
Solution:
Given Binary Number is (1011)2
To find the 2’s complement, first find its 1’s complement, i.e., (0100)2
Now, by adding 1 to the least significant bit, we get (0101)2
Hence, the 2’s complement of (1011)2 is (0101)2
Binary Number System
Binary Number System is a number system that is used to represent various numbers using only two symbols “0” and “1”. The word binary is derived from the word “bi” which means two. Hence, this number system is called Binary Number System. Thus, the binary number system is a system that has only two symbols.
There are generally various types of number systems and among them the four major ones are,
- Binary Number System (Number system with Base 2)
- Octal Number System (Number system with Base 8)
- Decimal Number System (Number system with Base 10)
- Hexadecimal Number System (Number system with Base 16)
Here, we are only going to learn about Binary Number System. This number system is very useful for explaining tasks to the computer. In the Binary Number System, we have two states “0” and “1” and these two states are represented by two states of a transistor. If the current passes through the transistor then the computer reads “1” and if the current is absent from the transistor then it read “0”. Thus, alternating the current the computer reads the binary number system. Each digit in the binary number system is called a “bit”.
In this article, we will learn about the Binary Number System, the Conversion of the Binary Number System, the Binary Table, the Operation of Binary Numbers, Examples, and others in detail.
Table of Content
- Binary Number System
- Binary Number Table
- Binary to Decimal Conversion
- Decimal to Binary Conversion
- Arithmetic Operations on Binary Numbers
- 1’s and 2’s Complement of a Binary Number
- Uses of Binary Number System
- Binary Number System Example